Page 1 of 1

MS 365:install Exchange Online Management PowerShell module

Posted: 27 Mar 2023, 15:12
by daniele
NOTA BENE
I modules Powershell sono ubicati nei seguenti path:
C:\Program Files\WindowsPowerShell\Modules --> quando si usa come Administrator
C:\Users\username\Documents\PowerShell\Modules --> per ogni singolo utente

Se ricevete errore tentando di eseguire Connect-MsolService, provare a cancellare la cartella che contiene il modulo \MSOnline e poi ritentare daccapo

Aprire PowerShell come ADMINISTRATOR
Powershell has to be v. 7 or later

Modalità PowerShell

Code: Select all

# Install the ExchangeOnlineManagement module module if this is first use
Install-Module ExchangeOnlineManagement
# Add the ExchangeOnlineManagement module to the PowerShell session
Import-Module ExchangeOnlineManagement -UseWindowsPowerShell
NOTE: the parameter -UseWindowsPowershell is needed, currently, otherwise you'll have an error while trying to connect







References:
https://learn.microsoft.com/en-us/powershell/exchange/exchange-online-powershell-v2?view=exchange-ps#install-and-maintain-the-exchange-online-powershell-module