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 long time doing by hand and seemed fit to be automated using the Compellent Storage Center Command Set for Windows PowerShell. I wrote a script

Continue reading

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 like this: Why should you care about this?  This is particularly useful for determining partition alignment of existing disks that may be running applications like

Continue reading

Are The Technology Gaps Ever Filled?

First and foremost, I am a Windows user. I have been forever. I was a “blue badge” so I was very much a “fanboy” of Microsoft from the platform to desktop apps to mobile devices and still pretty much am. I have also opened my eyes to other computing technologies like the Mac and iPhone. I used to try to make my Microsoft software work the way I wanted in every case. There really wasn’t

Continue reading