Category: Office 365

Microsoft Office 365

Powershell login Script for Office 365

Copy the following content to a notepad and save as .PS1 Start-Service WinRM Set-ExecutionPolicy RemoteSigned Import-Module MSOnline $O365Cred = Get-Credential $O365Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://ps.outlook.com/powershell -Credential $O365Cred -Authentication… Read more »