Eroare “Scripts are disabled” in PowerShell Office 365 Exchange

Rezolvare problema (Fix IT)

Situatie

111

power

Simptome

Nu se poate accesa serverul de exchange

Solutie

Dupa comanda Import-PSSession $Session vom executa Set-ExecutionPolicy Unrestricted unde vom selecta y (yes)

2

Iesim din powershell si il deschidem din nou cu drept de administrator unde executam pe rand comenziile :

$session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri “https://ps.outlook.com/powershell/” -Credential $cred -Authentication Basic -AllowRedirection

bagam credentialele si pe urma Import-PSSession $session

3

Tip solutie

Permanent

Voteaza

(13 din 37 persoane apreciaza acest articol)

Despre Autor

Leave A Comment?