Situatie
Simptome
Nu se poate accesa serverul de exchange
Solutie
Dupa comanda Import-PSSession $Session vom executa Set-ExecutionPolicy Unrestricted unde vom selecta y (yes)
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
Leave A Comment?