User Tools

Site Tools


programmazione:connessione_a_office365

Connessione a Office365 con PowerShell

$credentials = Get-Credential
Write-Output "Getting the Exchange Online cmdlets"
$Session = New-PSSession -ConnectionUri https://outlook.office365.com/powershell-liveid/ -ConfigurationName Microsoft.Exchange -Credential $credentials -Authentication Basic -AllowRedirection
Import-PSSession $Session
programmazione/connessione_a_office365.txt · Last modified: 20/12/2021 07:45 by lrosa