Skip to content

Commit 2d7c992

Browse files
Merge pull request #895 from joroarMSFT/docs-editor/connect-sharepoint-online-1747423942
Add info about UseWindowsPowerShell for PS7 clients.
2 parents 25eac4e + f09220b commit 2d7c992

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

sharepoint/docs-conceptual/sharepoint-online/connect-sharepoint-online.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,12 @@ To open the SharePoint Online Management Shell command prompt, from the **Start*
3939

4040
> [!VIDEO https://www.youtube.com/embed/TMzHAWEQjlk]
4141
42+
> [!NOTE]
43+
> In order to run SharePoint Online PowerShell commands in a Windows PowerShell 7 console, you must import the SharePoint module using the -UseWindowsPowerShell parameter.
44+
```powershell
45+
Import-Module Microsoft.Online.SharePoint.PowerShell -UseWindowsPowerShell
46+
```
47+
4248
## To connect with a user name and password
4349

4450
1. Run the following command at the SharePoint Online Management Shell command prompt:

0 commit comments

Comments
 (0)