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