PowerShell modules and resources for Office 365


While researching the creation of my three Office 365 Connection scripts, I never found a single page with a list of all the PowerShell modules with download links and references to the PowerShell cmdlets. Due to the lack of a single resource page with all that information, I have decided to create my own resource page with that information together in one location.

Note that I have even added test cmdlets that you can use to quickly check and confirm that you have connected successfully.

Please leave a comment to let me know of any changes so I can update this article.

After configuring your Office 365 admin workstation or server, follow my connection tutorials and download and use my Office 365 PowerShell Connection scripts to make your Office 365 administration a breeze.

Connection Scripts - Download Links
Office 365 Connection Script with Modern Auth - Supports MFA (Multi-Factor Auth) - Link
Office 365 and Azure PowerShell Connection Script (No MFA support) - Link
Office 365 Hybrid, Azure and Local Active Directory PowerShell Connection Script - Link

Connection Tutorials
- How to connect to Office 365 and Azure via PowerShell - Link
- How to connect to Hybrid Exchange - Office 365 - Azure AD and Local AD via PowerShell - Link
- How to connect to Office 365 via PowerShell with MFA - Multi-Factor Authentication - Link

For more information on configuring your admin PC or server, follow my guides below.

Configure your Administration PC or Server
- How to configure your desktop PC for Office 365 Administration - including MFA - Link
- How to configure Server 2012 R2 for Office 365 Administration - including MFA - Link
- How to configure your desktop PC for Hybrid Exchange - Office 365 - Azure Administration - Link


Read on for the PowerShell modules and resources for Office 365

----------------------------------------------------------------------------------------------


Server 2012 R2 Pre-requisites 
Installation guide for configuring Server 2012 R2 for Office 365 Admin - Link

Download and install .NET Framework 4.5.2 - Link

Restart -

Pre-requisite - PowerShell 5.0
Download WMF 5.1 - Link
Select the version of download that matches the OS -

Install and Restart

----------------------------------------------------------------------------------------------

Windows Pre-requisite -
Microsoft Online Services Sign-in Assistant for IT Professionals RTW
- Download Link - Link

----------------------------------------------------------------------------------------------

Microsoft Azure PowerShell 
Installation Type - Web Platform Installer
- Download Link - Link
- Information - Link

----------------------------------------------------------------------------------------------

Azure Active Directory Module for Windows PowerShell v1.0  - 
Installation type - cmdlet
- Installation cmdlet -  Install-Module -Name MSOnline 
- Installation - Link
- Information - Link
- Supports MFA - Yes
- cmdlets resource page - Link
- Test cmdlet - Get-MsolUser

Notes - 
If you are running PowerShell v5 you can install the module from the online gallery using:
Install-Module -Name MSOnline

Troubleshooting installation on old operating systems - Link

PowerShell v5 is part of the Windows Management Framework and can be downloaded - Link

----------------------------------------------------------------------------------------------

Azure Active Directory Module for Windows PowerShell v2.0  - 
Installation type - cmdlet
- Installation cmdlet -  Install-Module -Name AzureAD
- Installation - Link
- Information - Link
- Supports MFA - Yes
- cmdlets resource page - Link
- Test cmdlet - Get-AzureAdUser

----------------------------------------------------------------------------------------------

Azure Resource Manager - 
Installation type - cmdlet
- Installation cmdlet -  Install-Module -Name AzureRM -AllowClobber
- Installation - Link
- Information - Link
- Supports MFA - Yes
- cmdlets resource page - Link
- Test cmdlet - Get-AzureRmContext

-----------------------------------------------------------------------------------------------

Azure Rights Management 
Installation type - cmdlet
- Installation cmdlet - Install-Module -Name AADRM 
- Installation - Link
- Information - Link
- Supports MFA - Yes
- cmdlets resource page - Link
- Test cmdlet- Get-AADRM

-----------------------------------------------------------------------------------------------

Exchange Online - 
Installation type - download and install
Exchange Online EAC - Hybrid > Setup > 
Click the Configure button to download and install the Exchange Online module 
- Installation Guide - Link
- Information - Link
- Supports MFA - Yes
- cmdlets resource page - Link (Menus on left)
- Test cmdlet - Get-Mailbox

-----------------------------------------------------------------------------------------------

Exchange Online Protection - 
Installation type - download and install
Exchange Online Protection is included in the Exchange Online module installation
- Installation Guide - See above (same connection as Exchange Online)
- Information - Link
- Supports MFA - Yes (same connection as Exchange Online)
- cmdlets resource page - Link (Menus on left)
- Test cmdlet - Get-HostedConnectionFilterPolicy

-----------------------------------------------------------------------------------------------

Security and Compliance Centre 
Installation type - download and install
Security and Compliance Centre is included in the Exchange Online module installation
- Installation - Link
- Information - Link
- Supports MFA - Yes
- cmdlets resource page - Link (Menus on left)
- Test cmdlet - Get-RetentionCompliancePolicy  or Get-ComplianceSearch

- Connection Info - Link
Connection cmdlet - Connect-IPPSSession

-----------------------------------------------------------------------------------------------

SharePoint Online - 
Installation type - download and install
- Download Link - Link
- Information - Link
- Supports MFA - Yes
- cmdlets resource page - Link
- Test cmdlet - get-spotenant

-----------------------------------------------------------------------------------------------

Skype for Business Online - 
Installation type - download and install
- Download Link - Link
- Information - Link (outdated)
- Supports MFA - Yes
- cmdlets resource page - Link
- Test cmdlet -  get-cstenant
Basic Admin - Link

-----------------------------------------------------------------------------------------------

Local Active Directory -
Installation type Server - Enable Feature
Installation type client OS - Download and Install
Server 2012 R2 - RSAT configuration guide - Link
Server 2012  - RSAT configuration guide  - Link
Server 2008 R2 - RSAT configuration guide - Link
Client OS - Download and install RSAT -
- Download Link - Windows 10 - Link
- Download Link - Windows 8.1 - Link
- Download Link - Windows 8 - Link
- Download Link - Windows 7 SP1 - Link

- Supports MFA - Not Applicable
- cmdlets resource page - Link
- Test cmdlet - Get-AdDomain

-----------------------------------------------------------------------------------------------

Azure AD Connect -
- Supports MFA - No
- Download Link - Not Applicable
- cmdlets resource page - Link
- Test cmdlet - Get-ADSyncAutoUpgrade

-----------------------------------------------------------------------------------------------

Check out a list of ALL of my tutorials here - Link





No comments:

Post a Comment