MB to GB - 3PAR Powershell Toolkit

Post Reply
kk2491
Posts: 169
Joined: Fri Dec 05, 2014 6:42 am

MB to GB - 3PAR Powershell Toolkit

Post by kk2491 »

Hi All,

Good day.

I am writing a script to schedule the weekly disk space report.

Get-3parSRPDSpace.

I am getting the output in MBs, is there any way i can convert it to GBs.

Thanks in advance.

Regards,
KK
natekippen
Posts: 72
Joined: Sun Dec 21, 2014 3:05 pm

Re: MB to GB - 3PAR Powershell Toolkit

Post by natekippen »

Nope. You'll need to do the math using select-object and defining a new property. @{n="SizeGB";e={$_.size / 1024}}

Something to that effect.
kk2491
Posts: 169
Joined: Fri Dec 05, 2014 6:42 am

Re: MB to GB - 3PAR Powershell Toolkit

Post by kk2491 »

Thank you natekippen.

Let me try and get back to you.

Regards,
KK
Post Reply