when I run the command below, I cannot get the filename value, but when I choose another vm, it has values. What's wrong with this?
Get-VM hillstone_base_VM | %{Get-HardDisk -VM $_.name}| select filename
This machine is poweroff,and it has 2 HardDisks, the configuration is below:
thanks
Do you get the same issue on a station that has EN-US as the locale ?
Just trying to find out if this might be related to a language setting.
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
I changed the OS's location and language to Enlish, and reopen the CLI console. the null is still.
I have other vms can get the value, its so weird
Are there any errors in the vpxd logs on the vCenter ?
Or in the vmware.log in the VMs directory ?
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference