When i tried to connect to Exchange online by using powershell the following error arises for me.
$LiveCred = Get-Credential
Username
password
$Session = New-PSSession -ConfigurationName Microsoft.Exchange
-ConnectionUri https://ps.outlook.com/powershell/ -Credential
$LiveCred -Authentication Basic -AllowRedirection //While creating session the error
occurs."[ps.outlook.com] The WinRM client cannot process the request because the server name
cannot be resolved"..
i have configured the winrm correctly..
C:\Windows\system32>winrm quickconfig WinRM is already set up to receive requests on this machine. WinRM is already set up for remote management on this machine.
But still the error exists for me.
https://132.245.6.135/powershell/
– Booga Roo