Automation

 View Only
  • 1.  Running vmware powershell scripts under scheduled tasks

    Posted Nov 30, 2009 10:38 AM

    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.



  • 2.  RE: Running vmware powershell scripts under scheduled tasks

    Broadcom Employee
    Posted Nov 30, 2009 11:33 AM

    You may find may blog post usefull:

    http://www.virtu-al.net/2009/07/10/running-a-powercli-scheduled-task/

    If you found this information useful, please consider awarding points for Correct or Helpful.

    Alan Renouf