An account will enable you to access:
Don't have an account?
Microsoft Virtualization Discussions
When I use Get-NCvol and put it in $vol
and then I use Write-Host $vol.totalsize
it always show in bytes
PS C:\Users\Administrator> $vol=get-ncvol svm1_rootPS C:\Users\Administrator> $vol.totalsize20971520
How to show it in MB? or GB ?
Solved! See The Solution
I found the below example online. Please test and let us know if it works.
List volume "VOL_NAME", size and size in GB.
Get-NcVol | where { $_.Name -like ‘*VOL_NAME*’} | FT name,TotalSize, {$_.TotalSize /1GB}
View solution in original post