Skip to content

Instantly share code, notes, and snippets.

@aessing
Created December 23, 2020 21:13
Show Gist options
  • Save aessing/ff88d26c209e2675408b0732c333c3b6 to your computer and use it in GitHub Desktop.
Save aessing/ff88d26c209e2675408b0732c333c3b6 to your computer and use it in GitHub Desktop.
Install PowerShell modules for Microsoft Azure and Microsoft 365 management
# =============================================================================
# Install Microsoft PowerShell Modules (PowerShell)
# Azure & Microsoft 365
# -----------------------------------------------------------------------------
# Developer.......: Andre Essing (https://www.andre-essing.de/)
# (https://github.com/aessing)
# (https://twitter.com/aessing)
# (https://www.linkedin.com/in/aessing/)
# -----------------------------------------------------------------------------
# THIS CODE AND INFORMATION ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND,
# EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED
# WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.
# =============================================================================
# Install Azure PowerShell module
Install-Module -Name Az -Scope CurrentUser -Force
# Install Microsoft 365 PowerShell modules
Install-Module -Name MSOnline -Scope CurrentUser -Force
Install-Module -Name MSCommerce -Scope CurrentUser -Force
Install-Module -Name AzureAD -Scope CurrentUser -Force
Install-Module -Name ExchangeOnlineManagement -Scope CurrentUser -Force
Install-Module -Name Microsoft.Online.SharePoint.PowerShell -Scope CurrentUser -Force
Install-Module -Name SharePointPnPPowerShellOnline -Scope CurrentUser -Force
Install-Module -Name MicrosoftTeams -Scope CurrentUser -Force
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment