Category Archives: Script

Script: Set-TransportLogs.ps1

Starting with Exchange 2013 there are now three groups of transport related logs: Front-End (new to 2013), Back-End (or just Transport), and Mailbox Transport. By default, these logs all go under the directory where you install Exchange, which is the … Continue reading

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

Script: Set-UPN-O365-PSMTP.ps1 – Sets UPNs on-premises and in Office 365

11/4/15: Posted script to TechNet Script Gallery: https://gallery.technet.microsoft.com/This-script-will-set-the-590a0907. Also updated code below and renamed the script to “Set-UPN-O365-PSMTP.ps1” I’m working with a client who is migrating to Office 365 and we ran into the issue where users’ UPNs do not … Continue reading

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

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: https://blog.jasonsherry.net/2013/07/08/create-mailbox/ 2/26/13 Update: Added support for checking archive mailbox quota limits and setting them. Get latest version here: http://izzy.org/scripts/Exchange/Admin/Set-MailboxPolicies.ps1. 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