Skip to content

Commit d05a9dc

Browse files
committed
Added Examples and Parameters
1 parent d63f992 commit d05a9dc

File tree

1 file changed

+28
-9
lines changed

1 file changed

+28
-9
lines changed

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

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

2727
## EXAMPLES
2828

29-
### --------------------EXAMPLE---------------------
29+
### -----------------------EXAMPLE 1-----------------------------
3030
```
31-
PS C:\> {{ Add example code here }}
31+
Set-SPOSiteGroup -Site http://contoso.sharepoint.com/sites/siteA -Identity "ProjectViewers" -PermissionLevelsToRemove "Full Control" -PermissionLevelsToAdd "View Only"
3232
```
3333

34-
{{ Add example description here }}
34+
Example 1 changes permission level of the ProjectViewers group inside site collection http://contoso.sharepoint.com/sites/siteA from Full Control to View Only.
35+
36+
### -----------------------EXAMPLE 2-----------------------------
37+
```
38+
Set-SPOSiteGroup -Site https://contoso.sharepoint.com -Identity "ProjectViewers" -Owner [email protected]
39+
```
40+
41+
Example 2 sets [email protected] as the owner of the ProjectViewers group.
3542

3643

3744
## PARAMETERS
3845

3946
### -Identity
40-
{{Fill Identity Description}}
47+
Specifies the name of the group.
48+
4149

4250
```yaml
4351
Type: String
@@ -53,7 +61,8 @@ Accept wildcard characters: False
5361
```
5462
5563
### -Name
56-
{{Fill Name Description}}
64+
Specifies the new name of the group.
65+
5766
5867
```yaml
5968
Type: String
@@ -69,7 +78,8 @@ Accept wildcard characters: False
6978
```
7079
7180
### -Owner
72-
{{Fill Owner Description}}
81+
Specifies the owner (individual or a security group) of the group to be created.
82+
7383
7484
```yaml
7585
Type: String
@@ -85,7 +95,11 @@ Accept wildcard characters: False
8595
```
8696
8797
### -PermissionLevelsToAdd
88-
{{Fill PermissionLevelsToAdd Description}}
98+
Specifies the permission levels to grant to the group.
99+
100+
Note:
101+
Permission levels are defined by SharePoint Online global administrators from SharePoint Online Administration Center.
102+
89103
90104
```yaml
91105
Type: String[]
@@ -101,7 +115,11 @@ Accept wildcard characters: False
101115
```
102116
103117
### -PermissionLevelsToRemove
104-
{{Fill PermissionLevelsToRemove Description}}
118+
Specifies the permission levels to remove from the group.
119+
120+
Note:
121+
Permission levels are defined by SharePoint Online global administrators from SharePoint Online Administration Center.
122+
105123
106124
```yaml
107125
Type: String[]
@@ -117,7 +135,8 @@ Accept wildcard characters: False
117135
```
118136
119137
### -Site
120-
{{Fill Site Description}}
138+
Specifies the site collection the group belongs to.
139+
121140
122141
```yaml
123142
Type: SpoSitePipeBind

0 commit comments

Comments
 (0)