Showing posts with label storage. Show all posts
Showing posts with label storage. Show all posts

Wednesday, April 30, 2014

I passed Red Hat's Exam 436 today, Certificate of Expertise in Clustering and Storage Management.  Now on to my RHCDS and hope to pass the Satellite exam next. I really enjoy taking Red Hat exams as they are a great challenge since they are all hands on and you have to configure everything. I highly recommend any one interested in learning more about Linux and any of Red Hat products to take their training classes and/or take their exams.






Monday, September 30, 2013

PowerShell CLI Command to Get Datastore Usage

The below script will run and return all Datastores with Name like EMC (just an example) and then will return the Capacity of the datastore, the FreeSpace and the Provisioned Space

$DS = get-datastore | where { $_.name -like "EMC*"}
Get-Datastore $DS |Select-Object -Property Name,CapacityGB,FreeSpaceGB,@{ Name = "ProvisionedSpaceGB"
   Expression = {($_.ExtensionData.Summary.Capacity - $_.Extensiondata.Summary.FreeSpace + $_.ExtensionData.Summary.Uncommitted)/1GB}
 } |fl