• Home
  • Topics
    • Office 365
    • Teams
    • SharePoint
    • Exchange 2019
    • Exchange 2016
    • Exchange 2013
    • Hybrid
    • Certificates
    • PowerShell
    • Migration
    • Security
    • Azure
  • Blog
  • Podcast
  • Webinars
  • Books
  • About
  • Subscribe
    • Facebook
    • Twitter
    • RSS
    • YouTube

Practical 365

PowerShell for Office 365 and Exchange Server

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.

  • PowerShell Scripts for Office 365
  • PowerShell Scripts for Exchange Server

Developing a toolbox of your own PowerShell scripts can really improve your efficiency and value to your employer.

If you’re looking for a place to start check out this walk-through of building a new PowerShell script, or my four part series on sending SMTP email from PowerShell scripts.

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.

Recent Articles

  • The Practical 365 Weekly Update: S2, Ep 8 – What to expect in 2021, Solarigate, TLS in Exchange and new Teams updates
  • Security updates released for Exchange and SharePoint Servers 2010 to 2019
  • The Practical 365 Weekly Update: S2, Ep 7 – Urgent Exchange security updates, new Teams features launch
  • How to train your users against threats with Attack Simulation Training
  • Fall 2020 roundup of compliance updates
Practical 365

Related Posts

Related Posts

Training Courses

  • Configuring and Managing Office 365 Security
  • Office 365 Admin Playbook
  • Exchange 2016 Exam 70-345
  • Managing Exchange Mailboxes and Distribution Groups in PowerShell
  • More Training Courses...

Recommended Resources

  • Office 365 Security Resources
  • Office 365 Books
  • Exchange Server Books
  • Exchange Server Migrations
  • Exchange Analyzer
  • Digicert SSL Certificates

About This Site

Practical 365 is a leading site for Office 365 and Exchange Server news, tips and tutorials. Read more...

Find out more about advertising with us.

Contact us


Subscribe to our newsletter
  • Facebook
  • Twitter
  • RSS
  • YouTube

Copyright © 2021 Quadrotech Solutions AG · Disclosure · Privacy Policy
Alpenstrasse 15, 6304 Zug, Switzerland