Conectare la Exchange Online folosind PowerShell

Configurare noua (How To)

Situatie

Vrei sa administrezi serverul de email folosind PowerShell

Solutie

Pasi de urmat

Se deschide PowerShell cu drepturi de administrator local.

Se ruleaza comanda:

$UserCredential = Get-Credential

 

Se ruleaza comanda:

$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powershell-liveid/ -Credential $UserCredential -Authentication Basic -AllowRedirection

Se ruleaza comanda:

Import-PSSession $Session

Pentru a te deconecta, folosesti comanda:

Remove-PSSession $Session

Tip solutie

Permanent

Voteaza

(7 din 17 persoane apreciaza acest articol)

Despre Autor

Leave A Comment?