Saturday, March 5, 2016

VMware PowerCLI check vm disk type (Thin/Thik)

clear
$dd=Get-VM |select name
foreach($vm in $dd)
{

Get-vm $vm.Name | get-harddisk | select Parent,StorageFormat
Write-Host "=========================================================================="
}

No comments:

Post a Comment

Thanks for showing interest in tech-jockey.

Content of this blog has been moved to GITHUB

Looking at current trends and to make my content more reachable to people, I am moving all the content of my blog https://tech-jockey.blogsp...