Skip to content

Commit

Permalink
Update restricted-site-creation.md
Browse files Browse the repository at this point in the history
Incorrect dash character used in PowerShell commands. Current commands would not copy correctly in the documentation.
  • Loading branch information
PMcGown authored Dec 3, 2024
1 parent f3bc5e5 commit d20c080
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions SharePoint/SharePointOnline/restricted-site-creation.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ The `Set-SPORestrictedSiteCreation` and `Get-SPORestrictedSiteCreation` cmdlets
To enable restricted site creation, run the following command in the SharePoint Online Management Shell:

```powershell
Set-SPORestrictedSiteCreation Enabled $true
Set-SPORestrictedSiteCreation -Enabled $true
```

Restricted site creation starts in deny mode without any policies, and doesn't affect any users by default.
Expand All @@ -88,7 +88,7 @@ Once you enable the restricted site creation feature, consider whether you want
For example, the following command sets restricted site creation to deny mode:

```powershell
Set-SPORestrictedSiteCreation Mode Deny
Set-SPORestrictedSiteCreation -Mode Deny
```

> [!IMPORTANT]
Expand Down

0 comments on commit d20c080

Please sign in to comment.