- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It looks as if the current capacity of the harddisk is not passed correctly.
Or you are in such an old PowerCLI version that the CapacityGB doesn't exist.
Can you do the following to check?
Import-Csv -Path 'C:\temp\testvms.csv' | %{
Get-VM -Name $_.Name |
Get-HardDisk -Name 'Hard disk 1' | Select *
}
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference