Differences

This shows you the differences between two versions of the page.

Link to this comparison view

code_snippets:powershell_snippets [2014/06/17 17:55]
127.0.0.1 external edit
code_snippets:powershell_snippets [2014/06/17 18:10] (current)
smark
Line 1: Line 1:
 ====== PowerShell Snippets ====== ====== PowerShell Snippets ======
  
-Woo Content!+===== VMware ===== 
 + 
 +=== List all VM Disks === 
 + 
 +  Get-VM * | Get-HardDisk | Sort-Object Parent,Name | Format-Table Parent,​Name,​CapacityGB,​StorageFormat,​Persistence -AutoSize 
 + 
 +Lists all disks in VMware environment (after using Connect-VIServer) sorted by the VM and then the disk name. Table contains the VM name, the disk name, the disk capacity, the storage format (thin/​thicklazy/​thickeager),​ and whether or not it is included in snapshots.
code_snippets/powershell_snippets.txt · Last modified: 2014/06/17 18:10 by smark
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0