You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
summary: Learn about using PowerShell cmdlets for SharePoint in Microsoft 365 and SharePoint Server. # < 160 chars
5
+
6
+
metadata:
7
+
title: SharePoint PowerShell # Required; page title displayed in search results. Include the brand. < 60 chars.
8
+
description: Use PowerShell cmdlets for SharePoint in Microsoft 365 and SharePoint Server # Required; article description that is displayed in search results. < 160 chars.
9
+
ms.service: sharepoint-online #Required; service per approved list. service slug assigned to your service by ACOM.
10
+
ms.subservice: subservice
11
+
ms.topic: landing-page # Required
12
+
ms.collection: M365-collaboration
13
+
author: kaarins #Required; your GitHub user alias, with correct capitalization.
14
+
ms.author: kaarins #Required; microsoft alias of author; optional team alias.
Copy file name to clipboardExpand all lines: sharepoint/docs-conceptual/sharepoint-online/connect-sharepoint-online.md
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,20 +1,20 @@
1
1
---
2
-
title: Getting started with SharePoint Online Management Shell
2
+
title: Get started with the SharePoint Online Management Shell
3
3
---
4
4
5
-
# Getting started with SharePoint Online Management Shell #
5
+
# Get started with SharePoint Online Management Shell #
6
6
7
-
Before you get started using PowerShell to manage SharePoint Online, make sure that the SharePoint Online Management Shell is installed and you have connected to SharePoint Online.
7
+
To get started using PowerShell to manage SharePoint Online, you need to install the latest SharePoint Online Management Shell is installed and connect to SharePoint Online.
8
8
9
-
Install the SharePoint Online Management Shell by downloading and running the [SharePoint Online Management Shell](https://go.microsoft.com/fwlink/p/?LinkId=255251) or installing module from the [PowerShell Gallery](https://www.powershellgallery.com/packages/Microsoft.Online.SharePoint.PowerShell/). Once installed, the module is available for use, and you do not need to install it again until you need features introduced in a later version. For example, you may need to install a new version for TLS 1.2 negotiation after October 2018.
9
+
Install the SharePoint Online Management Shell by downloading and running the [SharePoint Online Management Shell](https://go.microsoft.com/fwlink/p/?LinkId=255251) or installing the module from the [PowerShell Gallery](https://www.powershellgallery.com/packages/Microsoft.Online.SharePoint.PowerShell/). Once installed, the module is available for use, and you do not need to install it again until you need features introduced in a later version. For example, you may need to install a new version for TLS 1.2 negotiation after October 2018.
10
10
11
11
First you can check if you have already installed SharePoint Online Management Shell by running the following command in administrative mode in PowerShell.
If your operating system is using PowerShell 5 or newer, you can install Sharepoint Online Management Shell also by running following command in administrative mode.
17
+
If your operating system is using PowerShell 5 or newer, you can install the SharePoint Online Management Shell also by running the following command in administrative mode.
2. When prompted with the Windows PowerShell credential request dialog box, type the password for the SharePoint Online SharePoint administrator account.
41
+
2. When prompted with the Windows PowerShell credential request dialog box, type the password for the SharePoint admin account.
42
42
43
-
To make a user account a SharePoint administrator, see [Assign admin roles in Office 365 for business](https://support.office.com/en-us/article/Assign-admin-roles-in-Office-365-for-business-eac4d046-1afd-4f1a-85fc-8219c79e1504?ui=en-US&rs=en-US&ad=US) or [Assign roles to user accounts with Office 365 PowerShell](https://technet.microsoft.com/library/mt736914.aspx).
43
+
To assign a user the SharePoint admin role, see [Assign admin roles](/microsoft-365/admin/add-users/assign-admin-roles) or [Assign roles to user accounts with Office 365 PowerShell](/office365/enterprise/powershell/assign-roles-to-user-accounts-with-office-365-powershell).
44
44
45
45
## To connect with multifactor authentication (MFA) ##
You are now ready to use SharePoint Online commands.
58
58
59
59
> [!NOTE]
60
-
> If you encounter issues trying to connect using MFA, please see [Cannot force Modern Authentication when using Connect-SPOService cmdlet in SharePoint Online Management Shell](https://docs.microsoft.com/sharepoint/troubleshoot/security/cannot-force-modern-authentication)
60
+
> If you encounter issues trying to connect using MFA, please see [Cannot force Modern Authentication when using Connect-SPOService cmdlet in SharePoint Online Management Shell](/sharepoint/troubleshoot/security/cannot-force-modern-authentication)
0 commit comments