-
Notifications
You must be signed in to change notification settings - Fork 361
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3035 from KoenZomers/AdjustAddSiteCollectionAdmin
Made `-Owners` optional on `Add-PnPSiteCollectionAdmin`
- Loading branch information
Showing
3 changed files
with
4 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -46,7 +46,7 @@ This will add all users with their title ending with "Doe" as additional seconda | |
|
||
### EXAMPLE 4 | ||
```powershell | ||
Add-PnPSiteCollectionAdmin -PrimarySiteCollectionAdminrs "[email protected]" | ||
Add-PnPSiteCollectionAdmin -PrimarySiteCollectionAdmin "[email protected]" | ||
``` | ||
|
||
This will set [email protected] as the primary site collection administrator of the site collection in the current context | ||
|
@@ -74,7 +74,7 @@ Specifies owner(s) to add as site collection administrators. They will be added | |
Type: System.Collections.Generic.List`1[PnP.PowerShell.Commands.Base.PipeBinds.UserPipeBind] | ||
Parameter Sets: (All) | ||
|
||
Required: True | ||
Required: False | ||
Position: Named | ||
Default value: None | ||
Accept pipeline input: True (ByValue) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters