![]() Import-Module Ĭonnect-SPOService -url -Credential $credentialĪnd finally if you want to manage Exchange online you will need to run the following to create and import an Exchange session. If you want to manage SharePoint you will need to run the following: $session = New-CsOnlineSession -Credential $credential If you want to manage Skype for Business Online, you will need to import the Lync Online module and import the session. Set-ExecutionPolicy “RemoteSigned” -Scope CurrentUser -Confirm:$false Set-ExecutionPolicy “RemoteSigned” -Scope Process -Confirm:$false The following commands will allow you to run remote signed scripts. Next you will need to update the PowerShell Execution policy so that some of the commands will run correctly. The first will prompt you for the login details of a global administrator and save them into the $credential variable, the second will import the basic 365 PowerShell commands and the third will connect you up using the saved login credentials.Ĭonnect-MsolService -Credential $credential When you start out you only need three commands to connect to the 365 portal. The PowerShell window opens up and we’re in business! Connecting to Office 365 Once everything is installed open up Windows PowerShell from the start menu and run it as administrator. Microsoft Online Services Sign-in Assistant You can manage your account from any Windows PC, you don’t need to install them to a server so can manage accounts directly from your PC or laptop.ĭownload and install each of the following tools: In order for you to manage your Office 365 account, you will need to download and install a few tools. ![]() Posted By in Office 365, PowerShell | 3 comments Required Tools ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |