Microsoft Stack

Powershell: Login Credentials

Open Powershell as Admin (right click)

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

 

Import-PSSession $session

Attachments:

Leave a Reply

Your email address will not be published. Required fields are marked *