Quantcast
Channel: VMware Communities : Discussion List - Automation Tools
Viewing full articles (9071 articles)
Browse article index
↧

Rounding Numbers in PowerCLI

$
0
0

Hi All

Very basic question please.

I am new to PowerCLI and learning by playing around pretty much.

I've put a basic script together to report on VM's with snapshots.

The script below works fine but I need to round the numbers under the Size GB col.

Could any please assist with a one liner and perhaps a bit of an explanation.

$list = get-VM
foreach ( $computerin$list ) {
$cs = Get-Snapshot -VM $computer
$cs | Select-Object VM, Created, SizeGB, Description
}
↧

Viewing full articles (9071 articles)
Browse article index

Latest Images

Trending Articles



Latest Images