I would like to get a set of VDI off maintenance mode using PSCLI, has anyone done this lately, use CLI to get VDI off Maintenance mode.
Thanks a bunch
Isn't that done with the Set-HVMachine and the Maintenance parameter?
$machine = Get-HVMachine -MachineName 'MyStation'
Set-HVMachine -Machine $machine -Maintenance EXIT_MAINTENANCE_MODE
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
View solution in original post
Does the following help
Get-HVMachineSummary -PoolName MyPool |
Thanks a bunch as always, this is from HV.Helper module correct?
On the same path, how do I go and get all the VM names on an specific pool using hv.helper
you can like Luc said use the helper or do it with the api's directly