Category Archives: PowerShell

PowerShell: Move Windows Server 2008 Cluster Group

Where I work, we were a little behind finally getting to Windows Server 2008 R2.  Our Exchange Servers were running on Server 2003 R2 until recently.  Windows clustering is quite different on 2k8 vs. 2k3.  I wrote this function to … Continue reading

Posted in PowerShell | Leave a comment

PowerShell: Get-Uptime for Computer(s)

I needed to check the server uptime for multiple servers, and well, I wanted to do it in PowerShell.  I found a sample from MSDN, and modified it, and threw it into a function. Here’s an alternative to this function … Continue reading

Posted in PowerShell | 2 Comments

PowerShell: Drive Space Info from multiple systems

With PowerShell 2 came Powershell remoting and jobs, both of which are REALLY cool!  I’m going to show you two ways to get drive space info from multiple systems, first with a normal foreach loop, and then with remoting (which … Continue reading

Posted in Exchange, PowerShell | Leave a comment

PowerShell: Change PS Window Size on the fly

First, my apologies for not posting ANYTHING to EverydayNerd since April 25, but hey, this is just for fun, and I DO have a day job I am going to be posting a LOT of PowerShell stuff here, as it … Continue reading

Posted in PowerShell | Leave a comment

Exchange PowerShell Script: Get Mailbox Count by Database

  Here’s a PowerShell script that does a quick count of mailboxes on each database of a server, or all servers – depending if you specify the server name as a script parameter. ** Updated:  I made some improvements to … Continue reading

Posted in Exchange, PowerShell | 1 Comment

Script: Get time of Exchange last online defrag

digging through the Application log can be a real pain sometimes.  Last night, I was asked by a Microsoft Engineer to give me the last online defrag of a server that we had a case opened on.  So, instead of … Continue reading

Posted in Exchange, PowerShell | Leave a comment

Powershell Script: Display Exchange 2007 Queue by Site

Working in a multi site Exchange 2007 environment can be cumbersome when trying to view queue information on the Hub servers.  I wrote this script to simplify this process. The script queries the Exchange 2007 organization, finds the servers with … Continue reading

Posted in Exchange, PowerShell | Leave a comment