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

Popular posts from this blog

Using Non-Maskable Interrupt (NMI) facilities to troubleshoot unresponsive VMware Virtual Machine.

Get the Windows 10 Key from Powershell and VB script

Removing invalid linked clone entries automatically using the ViewDBChk tool