Sign in with Microsoft
Sign in or create an account.
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.

As a Microsoft 365 global or SharePoint admin for your organization, you can use the SharePoint Management Shell to manage users, sites, and site collections. The SharePoint Management Shell is a Windows PowerShell module that lets you run command-line operations. It makes performing batch operations more efficient, and is the only way to perform some management tasks in SharePoint and OneDrive.

Note: If you're new to Microsoft 365 or SharePoint, we recommend getting familiar with the SharePoint admin center first. To get started, see SharePoint planning guide.

Get started managing SharePoint using PowerShell cmdlets

  1. Download and install the latest SharePoint Management Shell. If you already have a previous version installed, uninstall it first and then install the latest version.

  2. Connect the SharePoint Management Shell to SharePoint for your organization. For info, see Connect the SharePoint PowerShell.

For a list of SharePoint PowerShell cmdlets you can run, see SharePoint PowerShell.

Need more help?

Expand your skills


Get new features first


Was this information helpful?

What affected your experience?

Thank you for your feedback!