July 2009

Compellent Disk Management with PowerShell: Windows Server 2008 Disks

I was provisioning some Compellent storage today for a a series of tests that I am working on that required 62 volumes per server on two different servers.  These volumes are multi-pathed and although using the Compellent Storage Center GUI is easy and straightforward, completing this process would take a… Read More »Compellent Disk Management with PowerShell: Windows Server 2008 Disks

Checking Partition Alignment with PowerShell

Here is an easy way to determine the partition alignment of any given disk on the local system or remotely. $OffsetKB = @{label=”Offset(KB)”;Expression={$_.StartingOffset/1024 -as [int]}} $SizeMB = @{label=”Size(MB)”;Expression={$_.Size/1MB -as [int]}}   Get-WmiObject -ComputerName "localhost" -Class "Win32_DiskPartition" | ft` SystemName, Name, DiskIndex, $SizeMB, $OffsetKB -AutoSize This will output table that looks… Read More »Checking Partition Alignment with PowerShell