Hi
How can I show the whole path of the Virtual Disk File (See attachement)?
Regards
The default PowerShell output engine tries to place as much info as possible on the console.
You can pipe the results to Format-List, where each property will be on a separate line.
Or you can pipe the result to Format-Table -AutoSize
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
The default PowerShell output engine tries to place as much info as possible on the console.
You can pipe the results to Format-List, where each property will be on a separate line.
Or you can pipe the result to Format-Table -AutoSize
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
Thanks a lot.
Is there a way to show which VM is using the disk file?
-> I can only see where the vmdk s located, but I don't see which VM is using the vmdk file...
Try something like this
Get-VM | Get-HardDisk | Where {$_.Filename -match "Windows Server 2008 R2.vmdk"} |
Select @{N="VM";E={$_.Parent.Name}},Filename
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
Does work, thank you!