Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 225435

Re: Decimal round of size

$
0
0

Try replacing this line:


$VMsWithSnaps = @(Get-VM | Get-Snapshot | Select vm,name,sizemb)


With this:


$VMsWithSnaps = @(Get-VM | Get-Snapshot | Select vm,name,@{N="SizeMB";E={[math]::round($_.SizeMB, 1)}})


Viewing all articles
Browse latest Browse all 225435

Trending Articles