nsanet.blogg.se

Office 365 outlook login
Office 365 outlook login







office 365 outlook login

Type (or paste) this line into the PowerShell window and logon using the administrator's username and password. Once installed, right click on the Microsoft Online Services Module for Windows PowerShell shortcut on the desktop and choose Run as Administrator. If they are not already installed, links to the files are here. In some cases the Online Services Assistant and the Online Services Module for Windows PowerShell files need to be used. Remove-PSSession $Session Using Microsoft Online Services Module for Windows PowerShell When you are finished, you should end the session before closing the PowerShell window, otherwise your credentials are "live" for 15 minutes after the window is closed. $Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri -Credential $LiveCred -Authentication Basic -AllowRedirection Once the PowerShell module is installed use these commands to log in, then run your commands.Ĭonnect-ExchangeOnline -UserPrincipalName MethodĮnter the administrator's username and password. Install-Module -Name ExchangeOnlineManagement

office 365 outlook login

Install-Module -Name PowerShellGet -Force If this is the first time you are connecting to Exchange online using PowerShell, paste the following lines into PowerShell, one line at a time and press Y (or A) when prompted to enter Yes or No.









Office 365 outlook login