Quick Hit: Export-Mailbox Cmdlet in Exchange 2007

September 8, 2009 — Ever needed to export the contents of an entire mailbox (or mailboxes)?  The Export-Mailbox cmdlet that is available via the Exchange 2007 PowerShell console can export each mailbox to a PST file.  In addition, Import-Mailbox can be used to import the contents of a PST back into an existing Exchange 2007 mailbox. Syntax: Export-Mailbox –Identity…

Microsoft Web Platform Installer 2.0 RC

September 6, 2009 — If you haven’t checked it out, do it now.  The Web Platform Installer makes your life a lot easier, especially when it comes to installing and configuring applications like WordPress on your own server. I provisioned a new Windows 2008 R2 Web Server and needed to move my websites off of an old 2003 server…

Remote Server Administration Tools (RSAT) for Windows 7

September 5, 2009 — Not that all my desktops and laptops are running Windows 7, I wanted to get the newest tools for administering my Windows environment, including Hyper-V. It took a little bit of searching, and a lot of the search results pointed to the beta tools or the RSAT for Windows Vista, neither of which will work…

Compellent Disk Management with PowerShell: Windows Server 2008 Disks

July 29, 2009 — 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…

Checking Partition Alignment with PowerShell

July 21, 2009 — 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…