Quantcast
Channel: VMware Communities : Discussion List - Automation Tools
Viewing all articles
Browse latest Browse all 9071

schedule

$
0
0

Hi guru

 

Very very new to CLI so go easy on me

 

I would like to make this small script to a psc1 file that I can run from a scheduled task

 

connect-VIserver -server

$Vms=Get-folder 'path' | get-vm | where-object {$_.powerstate -eq "poweredoff"}

get-vm $vms | start-vm

 

can anyone point me in the right direction, please

 

Thanks a bunch


Viewing all articles
Browse latest Browse all 9071

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>