PowerCLI command to identify the list of powered off server.
below command to PowerCLI command to identify the list of powered off server.
Get-VM | Where-Object {$_.PowerState -eq 'PoweredOff'} | select Name,PowerState,VMHost,Folder,Guest | Export-Csv C:\Users\Miliyas\Downloads\vmlist.csv
Comments
Post a Comment