SharePoint Online – Setting up PowerShell
SharePoint global administrator can use the SharePoint Online Management Shell to manage the site and content.
Following are the steps we should do for that
- Install Windows Management Framework 3.0 – You can download it from http://go.microsoft.com/fwlink/p/?LinkID=244693. This require a system restart
- Install SharePoint Online Management Shell – You can download it from http://go.microsoft.com/fwlink/p/?LinkId=255251
Once this is done, you can start “SharePoint Online Management Shell” and use following command to connect
Connect-SPOService -Url https://tenant-admin.sharepoint.com -credential firstname.lastname@example.org
After connection, you can execute SPO cmdlets and work remotely.
will retrieve all sites.
Take a look at this http://technet.microsoft.com/en-us/library/cb90889b-9c1e-4cec-ab0f-774be623022f(v=office.15) to find the list of supported cmdlets