Skip to content

Commit 062a61e

Browse files
authored
Merge pull request MicrosoftDocs#139 from expiscornovus/patch-3
Update Get-SPOUser.md
2 parents ff4bbc9 + 2a86b4c commit 062a61e

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

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

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,12 @@ For permissions and the most current information about Windows PowerShell for Sh
4040

4141
## EXAMPLES
4242

43-
### ------------ Example 1 --------------------
43+
### Example 1: Get the first 5 users or groups from a specific site collection
4444
```
45-
{example code}
45+
PS C:\> $site = Get-SPOSite -Identity https://contoso.sharepoint.com
46+
PS C:\> Get-SPOUser -Limit 5 -Site $site
4647
```
47-
{example description}
48+
This command retrieves the users or security groups in a site.
4849

4950
## PARAMETERS
5051

0 commit comments

Comments
 (0)