Set up the SharePoint Online Management Shell environment

SharePoint Online global administrators use the SharePoint Online Management Shell to remotely manage site collections, upgrade site collections to a new version, configure SharePoint Online company-level settings, and get logs from data connections between SharePoint Online and other services through Business Connectivity Services.

To set up the SharePoint Online Management Shell environment, follow these steps:

  1. Install Windows Management Framework 3.0.
  2. Install SharePoint Online Management Shell.
  3. From the Start button, choose All Programs, and then select SharePoint Online Management Shell.
  4. Run Connect-SPOService. For example, type this command at the prompt:
    Connect-SPOService -Url https://contoso-admin.sharepoint.com -credential admin@contoso.com, where
  • URL is the URL of the SharePoint Online Administration Center
  • Credential is the user name to which you want to grant access to the SharePoint Online Administration Center site.
  1. Try it out! Run Get-SPOSite to get a list of all the sites.

Top of Page Top of Page

 
 
Applies to:
SharePoint admin center, SharePoint Online Enterprise (E1), SharePoint Online Enterprise (E3 & E4), SharePoint Online Midsized Business