PowerCli

Due to the way the IP address is referenced and a VM can have more than one IP, you can list additional IPs by adding or changing the array pointer from 0 to 1 and so on, in this part of the command “$_.guest.IPAddress[1]”

Czytaj dalej

get-vm |select name,vmhost, @{N=”SyncWithHost”;E={$_.extensiondata.config.tools.synctimewithhost}}

Czytaj dalej

Get-Cluster MyClusterName | get-vm | Get-NetworkAdapter | select name,type,parent | Sort-Object TYPE

Czytaj dalej