Wednesday, May 14, 2014

Get List of VM's on server:  Get-VM
VM detailed information: Get-VM | Format-List -property *
Customized VM's report: Get-VM | select-object -property Name,Notes, VMHost,Guest

Suppress warnings:

Set-Powercliconfiguration -Displaydepricationwarnings $false -scope -user


Using WildCards:
Select Specific virtual Machine: Get-VM -Name A*

Using Comparision Operations
-eq
-ne
-gt
-ge
-lt
-le


Using Aliases


Retriving list of all of hosts
get-Hosts

No comments:

Post a Comment