Conectare la Exchange Online folosind PowerShell

Configurare noua (How To)

Situatie

Vrei sa administrezi serverul de email folosind PowerShell

Solutie

Pasi de urmat

1. Se deschide PowerShell cu drepturi de administrator local.

2. Se ruleaza comanda:

$UserCredential = Get-Credential

 

3. Se ruleaza comanda:

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

4. Se ruleaza comanda:

Import-PSSession $Session

5. Pentru a te deconecta, folosesti comanda:

Remove-PSSession $Session

Tip solutie

Permanent

Voteaza

(12 din 29 persoane apreciaza acest articol)

Despre Autor

Leave A Comment?