Skip to content

Commit

Permalink
[create-pull-request] automated change
Browse files Browse the repository at this point in the history
  • Loading branch information
merill authored and github-actions[bot] committed Jul 13, 2024
1 parent 422456e commit 7d12cea
Showing 1 changed file with 34 additions and 2 deletions.
36 changes: 34 additions & 2 deletions website/docs/commands/Get-MtRoleMember.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -36,16 +36,48 @@ The role can be either active or eligible, defaults to getting members that are

### EXAMPLE 1

```powershell
Get-MtRoleMember -Role GlobalAdministrator
```

Returns all the Global administrators and includes both Eligible and Active members.

### EXAMPLE 2

```powershell
Get-MtRoleMember -Role GlobalAdministrator -MemberStatus Active
```

Returns all the Global administrators that are currently active and excludes those that are eligible but not yet active.

### EXAMPLE 3

```powershell
Get-MtRoleMember -Role GlobalAdministrator -MemberStatus Active
```

Returns all the Global administrators that are currently active and excludes those that are eligible but not yet active.

### EXAMPLE 4

```powershell
Get-MtRoleMember -Role GlobalAdministrator,PrivilegedRoleAdministrator
```

Returns all the Global administrators and Privileged Role administrators and includes both Eligible and Active members.

### EXAMPLE 5

```powershell
Get-MtRoleMember -RoleId "00000000-0000-0000-0000-000000000000"
```

Returns all the members of the role with the specified RoleId and includes both Eligible and Active members.

### EXAMPLE 2
### EXAMPLE 6

```powershell
Get-MtRoleMember -RoleId "00000000-0000-0000-0000-000000000000" -RoleStatus Active
Get-MtRoleMember -RoleId "00000000-0000-0000-0000-000000000000" -MemberStatus Active
```

Returns all the currently active members of the role with the specified RoleId.
Expand Down

0 comments on commit 7d12cea

Please sign in to comment.