In this post we will discuss some PowerShell commands for SharePoint 2013 Online.
Also you can check out:
Below are some sample PowerShell commands for SharePoint Online.
- PowerShell command to create a new SharePoint Online site collection:
New-SPOSite -Url "http://mynewonlinesite" -Owner "Bijay" -StorageQuota "10" -Title "MyOnlineTestSite"
Here Owner name is Bijay and Title is MyOnlineTestSite.
- PowerShell command to Update Owner of a Site collection:
Set-SPOSite -Identity "http://mynewonlinesite" -Owner "New Owner" -NoWait
Here the owner name will be set to "New Owner".
- PowerShell command to connect to a SharePoint Online Administration Center.
Connect-SPOService -Url "http://AdministratioCenterURL" -Credential "email@example.com"
You can check out more commands here