Skip to content

Commit 14338a0

Browse files
committed
Added Examples and Parameters
1 parent 716bd7b commit 14338a0

File tree

1 file changed

+18
-6
lines changed

1 file changed

+18
-6
lines changed

sharepoint/sharepoint-ps/sharepoint-online/New-SPOSiteGroup.md

Lines changed: 18 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,18 +28,25 @@ For permissions and the most current information about Windows PowerShell for Sh
2828

2929
## EXAMPLES
3030

31-
### ------------------EXAMPLE------------------
31+
### -----------------------EXAMPLE 1-----------------------------
3232
```
33-
PS C:\> {{ Add example code here }}
33+
New-SPOSiteGroup -Site https://contoso.sharepoint.com/sites/siteA -Group "Project Leads" -PermissionLevels "Full Control"
3434
```
3535

36-
{{ Add example description here }}
36+
This example creates a group named Project Leads with the Full Control permission level on the site collection https://contoso.sharepoint.com/sites/siteA.
37+
38+
### -----------------------EXAMPLE 2-----------------------------
39+
```
40+
New-SPOSiteGroup -Site https://contoso.sharepoint.com/sites/marketing -Group "NewGroupName" -PermissionLevels "Design"
41+
```
42+
This example creates a group named NewGroupName with the Design permission level on the site collection https://contoso.sharepoint.com/sites/marketing.
3743

3844

3945
## PARAMETERS
4046

4147
### -Group
42-
{{Fill Group Description}}
48+
Specifies the name of the group to add.
49+
4350

4451
```yaml
4552
Type: String
@@ -55,7 +62,11 @@ Accept wildcard characters: False
5562
```
5663
5764
### -PermissionLevels
58-
{{Fill PermissionLevels Description}}
65+
Specifies the permission levels to grant to the newly created group. It can be any permission level that exists on the site collection on which the group is being created.
66+
67+
Note:
68+
Permission levels are defined by SharePoint Online administrators in the SharePoint Online Administration Center.
69+
5970
6071
```yaml
6172
Type: String[]
@@ -71,7 +82,8 @@ Accept wildcard characters: False
7182
```
7283
7384
### -Site
74-
{{Fill Site Description}}
85+
Specifies the site collection to add the group to.
86+
7587
7688
```yaml
7789
Type: SpoSitePipeBind

0 commit comments

Comments
 (0)