Skip to content

Commit 716bd7b

Browse files
committed
Added Examples and Parameters
1 parent 6aa9c78 commit 716bd7b

File tree

1 file changed

+13
-8
lines changed

1 file changed

+13
-8
lines changed

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

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,31 +10,35 @@ schema: 2.0.0
1010
## SYNOPSIS
1111
Gets all the groups on the specified site collection.
1212

13+
1314
## SYNTAX
1415

1516
```
1617
Get-SPOSiteGroup [-Group <String>] [-Limit <Int32>] -Site <SpoSitePipeBind> [<CommonParameters>]
1718
```
1819

1920
## DESCRIPTION
20-
Use the Get-SPOSiteGroup cmdlet to get all the groups on the specified site collection by using the Site parameter.
21+
Use the `Get-SPOSiteGroup` cmdlet to get all the groups on the specified site collection by using the Site parameter.
2122

2223
You must be a SharePoint Online global administrator and a site collection administrator to run the cmdlet.
2324

2425
For permissions and the most current information about Windows PowerShell for SharePoint Online, see the online documentation at http://go.microsoft.com/fwlink/p/?LinkId=251832 (http://go.microsoft.com/fwlink/p/?LinkId=251832).
2526

27+
2628
## EXAMPLES
2729

28-
### ------------ Example 1 --------------------
30+
### -----------------------EXAMPLE 1-----------------------------
2931
```
30-
{example code}
32+
Get-SPOSiteGroup -Site http://contoso.sharepoint.com/sites/siteA
3133
```
32-
{example description}
34+
This example returns all the groups on the specified site collection http://contoso.sharepoint.com/sites/siteA.
35+
3336

3437
## PARAMETERS
3538

3639
### -Group
37-
{{Fill Group Description}}
40+
Specifies the group name.
41+
3842

3943
```yaml
4044
Type: String
@@ -50,7 +54,8 @@ Accept wildcard characters: False
5054
```
5155
5256
### -Limit
53-
{{Fill Limit Description}}
57+
Specifies the maximum number of site collections to return. To retrieve all of the site collections, use Limit ALL. The default value is 200.
58+
5459
5560
```yaml
5661
Type: Int32
@@ -66,7 +71,8 @@ Accept wildcard characters: False
6671
```
6772
6873
### -Site
69-
{{Fill Site Description}}
74+
Specifies the site collection scope.
75+
7076
7177
```yaml
7278
Type: SpoSitePipeBind
@@ -99,4 +105,3 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
99105
[Set-SPOSiteGroup](Set-SPOSiteGroup.md)
100106
101107
[Remove-SPOSiteGroup](Remove-SPOSiteGroup.md)
102-

0 commit comments

Comments
 (0)