@@ -26,18 +26,26 @@ For permissions and the most current information about Windows PowerShell for Sh
26
26
27
27
## EXAMPLES
28
28
29
- ### --------------------EXAMPLE---------------------
29
+ ### ----------------------- EXAMPLE 1-------- ---------------------
30
30
```
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"
32
32
```
33
33
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.
35
42
36
43
37
44
## PARAMETERS
38
45
39
46
### -Identity
40
- {{Fill Identity Description}}
47
+ Specifies the name of the group.
48
+
41
49
42
50
``` yaml
43
51
Type : String
@@ -53,7 +61,8 @@ Accept wildcard characters: False
53
61
` ` `
54
62
55
63
### -Name
56
- {{Fill Name Description}}
64
+ Specifies the new name of the group.
65
+
57
66
58
67
` ` ` yaml
59
68
Type : String
@@ -69,7 +78,8 @@ Accept wildcard characters: False
69
78
` ` `
70
79
71
80
### -Owner
72
- {{Fill Owner Description}}
81
+ Specifies the owner (individual or a security group) of the group to be created.
82
+
73
83
74
84
` ` ` yaml
75
85
Type : String
@@ -85,7 +95,11 @@ Accept wildcard characters: False
85
95
` ` `
86
96
87
97
### -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
+
89
103
90
104
` ` ` yaml
91
105
Type : String[]
@@ -101,7 +115,11 @@ Accept wildcard characters: False
101
115
` ` `
102
116
103
117
### -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
+
105
123
106
124
` ` ` yaml
107
125
Type : String[]
@@ -117,7 +135,8 @@ Accept wildcard characters: False
117
135
` ` `
118
136
119
137
### -Site
120
- {{Fill Site Description}}
138
+ Specifies the site collection the group belongs to.
139
+
121
140
122
141
` ` ` yaml
123
142
Type : SpoSitePipeBind
0 commit comments