How To Connect To Office 365 PowerShell For Microsoft?

Asked By 0 points N/A Posted on -
qa-featured

I want to Office 365 PowerShell for Windows on my computer. How can I connect and manage it remotely? What are the steps involved in it?

Image result for connect to Office 365 PowerShell
SHARE
Answered By 0 points N/A #299253

How To Connect To Office 365 PowerShell For Microsoft?

qa-featured

You can connect to the Office 365 PowerShell as follows.

  1. Open the Window PowerShell on your computer. Run the command given below. $UserCredential = Get-Credential
  2. A dialogue box will open. In this dialogue box enter your Office 365 username and password.
  3. Again go to the PowerShell and enter the command given below. $Session = New-PSSession -ConfigurationNameMicrosoft.Exchange -ConnectionUri https://outlook.office365.com/powershell-liveid/-Credential $UserCredential -Authentication Basic –AllowRedirection
  4. Now you can run your session.

Login/Register to Answer

Related Questions