HPE Storage Users Group https://3parug.org/ |
|
MB to GB - 3PAR Powershell Toolkit https://3parug.org/viewtopic.php?f=17&t=2436 |
Page 1 of 1 |
Author: | kk2491 [ Sun Mar 19, 2017 2:09 am ] |
Post subject: | MB to GB - 3PAR Powershell Toolkit |
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 |
Author: | natekippen [ Sun Mar 19, 2017 2:10 pm ] |
Post subject: | Re: MB to GB - 3PAR Powershell Toolkit |
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. |
Author: | kk2491 [ Sun Mar 19, 2017 8:08 pm ] |
Post subject: | Re: MB to GB - 3PAR Powershell Toolkit |
Thank you natekippen. Let me try and get back to you. Regards, KK |
Page 1 of 1 | All times are UTC - 5 hours |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |