Can anyone please advise on how I can use schedule tasks in windows to run powershell scripts automatically. Whats the code or commands I have to type in to start the vmware powershell client in schedule tasks and then run the powershell script.
I want to run some powershell scripts for example I want to use a script which check disk space on datastores and then email us when they are less than 10 GB. But I want to automaticallty run this script daily. How would I set this up in schedule tasks in windows.