Hello,
I have to delete files remotely on Windows 2003 server without WinRM in place and hence only have access to WMI to manage. I'm running latest OS and PowerShell on front-end though.
My question is what is most efficient way to enumerate files in folder and delete files older then certain amount of days? It would be pretty trivial with PowerShell remoting but not as much where only WMI is at disposal.
Thanks,
G