Reply to Message

View discussion in a popup

Replying to:
LucD
Leadership
Leadership

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

Reply
0 Kudos