Skip to content

Commit ce6e2c2

Browse files
committed
SPFx Tutorial polishing
1 parent 0753196 commit ce6e2c2

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed
Loading

docs/spfx/web-parts/get-started/hosting-webpart-from-office-365-cdn.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,21 @@ You can also follow these steps by watching this video on the SharePoint PnP You
3333

3434
## Enable CDN in your Office 365 tenant
3535

36-
1. Ensure that you have the latest version of the SharePoint Online Management Shell by downloading it from the [Microsoft Download site](https://www.microsoft.com/download/details.aspx?id=35588).
36+
1. Ensure that you have the latest version of the SharePoint Online Management Shell by running the PowerShell in Administrator role and executing following PowerShell cmdlet to download latest version of the cmdlets from [PowerShell Gallery](https://www.powershellgallery.com/packages/Microsoft.Online.SharePoint.PowerShell).
3737

38+
![Run as administarator](../../../images/tutorial-get-started-4-run-spo-shell-admin.png)
39+
40+
```powershell
41+
Install-Module -Name Microsoft.Online.SharePoint.PowerShell
42+
```
3843
> [!TIP]
3944
> If you are using a non-Windows machine, you cannot use the SharePoint Online Management Shell. You can, however, manage these settings by using [Office 365 CLI](https://sharepoint.github.io/office365-cli/).
4045
46+
> [!NOTE]
47+
> You can also install SharePoint Online Management Shell using [an installer](https://www.microsoft.com/en-us/download/details.aspx?id=35588) available from the Microsoft download center, but in general PowerShell gallery option is recommended.
48+
49+
1. Confirm module installation if asked in the PowerShell window
50+
4151
1. Connect to your SharePoint Online tenant with a PowerShell session.
4252
4353
```powershell

0 commit comments

Comments
 (0)