Tag Archives: PowerShell

Script: Create-Mailbox.ps1 – Copy an existing user and create a mailbox

8/22/14 Update: I’ve made some improvements to the script, make sure you get the latest version from: http://izzy.org/scripts/Exchange/Admin/Create-Mailbox.ps1 One of the most common tasks for Exchange admin is creating mailboxes. This can easily be done with the GUI (EMC\EAC) but … Continue reading

Posted in Exchange, Script, Technical | Tagged , , | 10 Comments

Script: Site-Failover.ps1 – Exchange 2010 failover script with health checks

2/25 Update: Add better support for updating Send Connectors. Script now supports an array of Send Connects with a normal cost and DR cost, to be used when normal route may not work. Code below has NOT been updated. Get … Continue reading

Posted in Exchange, Script | Tagged , , | Leave a comment

Script: Set-MailboxPolicies.ps1

7/8/13 Update: Added new script: Create-Mailbox.ps1 2/26/13 Update: Added support for checking archive mailbox quota limits and setting them. Get latest version here. Code below has NOT been updated. When new mailboxes are created or migrated to Exchange 2010 archiving and … Continue reading

Posted in Exchange, Microsoft, Script | Tagged , , | Leave a comment

Script: Backup-DBs.p1 – Using Windows Backup for Exchange 2010

I was working with a client on a recent project and they have a Dell EqualLogic SAN and the ASM/ME (Auto Snapshot Manger/Microsoft Exchange) software. After we set it up we quickly realized that the transaction logs weren’t being truncated. … Continue reading

Posted in Exchange, Microsoft, Script | Tagged , , , | Leave a comment

Script: Get-PFInfo.ps1, Fix-PFSchedule.ps1 & some PF replication troubleshooting info

I’m currently working on a Exchange 2007 to 2010 migrations and the client has about 32K and 600 GB of Public Folders. Getting these to replicate has been a big issue, mainly due to issues with replication not happening as … Continue reading

Posted in Exchange, Script, Technical | Tagged , , , | 1 Comment

Script: Get Exchange 2007, 2010, & 2013 roles, version, and update rollup info

I first came across this code on Jeff Guillet’s blog here, which the source came from Paul Falherty’s blog initially, back in 2009 for Exchange 2007. Mark E. Smith also had code with a slight modification for Exchange 2010 posted here. Today … Continue reading

Posted in Exchange | Tagged , , | 8 Comments

Script to return smallest Exchange MBX DB size

I had a client ask me to create a mailbox creation script that would create new mailboxes on the smallest DB in the US. After doing a bit of research and running into some issue with the Get-MailboxDatabase cmdlet returining … Continue reading

Posted in Exchange, Microsoft, Technical | Tagged , , | 3 Comments

Script to reassign mailbox to a new user

In some organizations when a user leaves the company or is moved to a new role their existing mailbox needs to be reassigned to their replacement. In other words, the mailbox belongs to the role and not the person. If … Continue reading

Posted in Exchange, Microsoft, Technical | Tagged , , | 2 Comments

Check out: Using Cmdlet Extension Agents to cause automatic events to occur in Exchange 2010

This post, from Pat Richard, covers how to setup pre & post PowerShell cmdlets to run when things are done in any Exchange 2010 management tool (EMC, EMS, etc). Very cool! When I worked for NetIQ in the ’90 the … Continue reading

Posted in Exchange, Microsoft, Technical | Tagged , | 1 Comment