PowerShell has become one of the most important skills for an IT professional to learn. If you're not already learning PowerShell, then you're falling behind the industry.
It isn't difficult to learn PowerShell. In fact, if you've ever run commands in a cmd prompt then you'll be able to start using PowerShell straight away. Also, Exchange Server and Office 365 offer lots of opportunities to use PowerShell on a daily basis.
Download Free Office 365 and Exchange PowerShell Scripts
In your daily routine there are bound to be multiple opportunities to streamline and automate some of your repetitive tasks into PowerShell scripts.
Developing a toolbox of your own PowerShell scripts can really improve your efficiency and value to your employer.
My PowerShell scripts are published for free on the TechNet Script Gallery for you to download and use, or modify to suit your needs. If you like them, please leave a star rating to let others know that you found them useful.
Here are some of the popular Office 365 scripts that I've written:
- Saving Credentials for Office 365 PowerShell Scripts and Tasks
- Office 365 Message Center Email Digest
- Office 365 Admin Role Group Members Report
- Generate Reports for New, Changed, and Deleted Office 365 Groups
- Bulk Add SMTP Addresses to Exchange Online Mailboxes
- Test Federated Domain Proof TXT Record for Hybrid Deployments
- Deploy the Microsoft Teams Client
- Deploy Office 365 ProPlus from a Network Share
Here are a few of the more popular Exchange Server scripts I've written:
- Exchange Analyzer – PowerShell script to check an Exchange organization for common issues and best practices
- Get-MailboxReport.ps1 – PowerShell Script to Generate Mailbox Reports
- Test-ExchangeServerHealth – PowerShell Script to Generate a Health Check Report for Exchange Server 2016/2013/2010
- Get-DailyBackupAlerts.ps1 – Check database backups and email if they have not run
- Get-EASDeviceReport.ps1 – Produces a report of ActiveSync devices in the organization
- Start-MailGen.ps1 – Test lab email traffic generator
Getting Started with PowerShell
If you're looking for PowerShell learning resources, here are my recommendations:
- Learn Windows PowerShell in a Month of Lunches
- PowerShell Learning Path on Pluralsight
- Managing Exchange Mailboxes and Distribution Groups in PowerShell
Get More PowerShell Tips for Exchange and Office 365 Administrators
Here are some recent posts relating to PowerShell:
- How to migrate data from a CSV file to SharePoint using PowerShell
- The top 6 PowerShell commands you need to know to manage Office 365
- Exporting Office 365 Group membership to a CSV file
- How to build your own internal PowerShell Gallery app
- Deploying the Microsoft Teams Desktop Client
- Restoring the Default Malware Filter Policy in Exchange Online Protection
- PowerShell Scripts for Office 365
- Unable to Turn Off User Overrides in Office 365 DLP Policies
- PowerShell: Listing Azure AD/Office 365 User Accounts with Directory Sync Status
- The Importance of Updating the Exchange Online Remote PowerShell Module
Make sure you subscribe to Practical 365 to get regular PowerShell tips and scripts to help you in your day to day tasks.