-
Notifications
You must be signed in to change notification settings - Fork 121
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' of https://github.com/maester365/maester
- Loading branch information
Showing
14 changed files
with
924 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,93 @@ | ||
--- | ||
sidebar_class_name: hidden | ||
description: Returns all the members of the specific group ID. | ||
id: Get-MtGroupMember | ||
title: Get-MtGroupMember | ||
hide_title: false | ||
hide_table_of_contents: false | ||
custom_edit_url: https://github.com/maester365/maester/blob/main/powershell/public/Get-MtGroupMember.ps1 | ||
--- | ||
|
||
## SYNOPSIS | ||
|
||
Returns all the members of the specific group ID. | ||
|
||
## SYNTAX | ||
|
||
```powershell | ||
Get-MtGroupMember [-groupId] <Guid> [-Recursive] [-ProgressAction <ActionPreference>] [<CommonParameters>] | ||
``` | ||
|
||
## DESCRIPTION | ||
|
||
\{\{ Fill in the Description \}\} | ||
|
||
## EXAMPLES | ||
|
||
### EXAMPLE 1 | ||
|
||
```powershell | ||
Get-MtGroupMember | ||
``` | ||
|
||
## PARAMETERS | ||
|
||
### -groupId | ||
|
||
\{\{ Fill groupId Description \}\} | ||
|
||
```yaml | ||
Type: Guid | ||
Parameter Sets: (All) | ||
Aliases: | ||
|
||
Required: True | ||
Position: 1 | ||
Default value: None | ||
Accept pipeline input: False | ||
Accept wildcard characters: False | ||
``` | ||
### -Recursive | ||
\{\{ Fill Recursive Description \}\} | ||
```yaml | ||
Type: SwitchParameter | ||
Parameter Sets: (All) | ||
Aliases: | ||
|
||
Required: False | ||
Position: Named | ||
Default value: False | ||
Accept pipeline input: False | ||
Accept wildcard characters: False | ||
``` | ||
### -ProgressAction | ||
\{\{ Fill ProgressAction Description \}\} | ||
```yaml | ||
Type: ActionPreference | ||
Parameter Sets: (All) | ||
Aliases: proga | ||
|
||
Required: False | ||
Position: Named | ||
Default value: None | ||
Accept pipeline input: False | ||
Accept wildcard characters: False | ||
``` | ||
### CommonParameters | ||
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). | ||
## INPUTS | ||
## OUTPUTS | ||
## NOTES | ||
## RELATED LINKS |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,126 @@ | ||
--- | ||
sidebar_class_name: hidden | ||
description: Returns all the members of a role. | ||
id: Get-MtRoleMember | ||
title: Get-MtRoleMember | ||
hide_title: false | ||
hide_table_of_contents: false | ||
custom_edit_url: https://github.com/maester365/maester/blob/main/powershell/public/Get-MtRoleMember.ps1 | ||
--- | ||
|
||
## SYNOPSIS | ||
|
||
Returns all the members of a role. | ||
|
||
## SYNTAX | ||
|
||
```powershell | ||
Get-MtRoleMember [-roleId] <Guid> [-Eligible] [-Active] [-All] [-ProgressAction <ActionPreference>] | ||
[<CommonParameters>] | ||
``` | ||
|
||
## DESCRIPTION | ||
|
||
\{\{ Fill in the Description \}\} | ||
|
||
## EXAMPLES | ||
|
||
### EXAMPLE 1 | ||
|
||
```powershell | ||
Get-MtRoleMember | ||
``` | ||
|
||
## PARAMETERS | ||
|
||
### -roleId | ||
|
||
\{\{ Fill roleId Description \}\} | ||
|
||
```yaml | ||
Type: Guid | ||
Parameter Sets: (All) | ||
Aliases: | ||
|
||
Required: True | ||
Position: 1 | ||
Default value: None | ||
Accept pipeline input: False | ||
Accept wildcard characters: False | ||
``` | ||
### -Eligible | ||
\{\{ Fill Eligible Description \}\} | ||
```yaml | ||
Type: SwitchParameter | ||
Parameter Sets: (All) | ||
Aliases: | ||
|
||
Required: False | ||
Position: Named | ||
Default value: False | ||
Accept pipeline input: False | ||
Accept wildcard characters: False | ||
``` | ||
### -Active | ||
\{\{ Fill Active Description \}\} | ||
```yaml | ||
Type: SwitchParameter | ||
Parameter Sets: (All) | ||
Aliases: | ||
|
||
Required: False | ||
Position: Named | ||
Default value: False | ||
Accept pipeline input: False | ||
Accept wildcard characters: False | ||
``` | ||
### -All | ||
\{\{ Fill All Description \}\} | ||
```yaml | ||
Type: SwitchParameter | ||
Parameter Sets: (All) | ||
Aliases: | ||
|
||
Required: False | ||
Position: Named | ||
Default value: False | ||
Accept pipeline input: False | ||
Accept wildcard characters: False | ||
``` | ||
### -ProgressAction | ||
\{\{ Fill ProgressAction Description \}\} | ||
```yaml | ||
Type: ActionPreference | ||
Parameter Sets: (All) | ||
Aliases: proga | ||
|
||
Required: False | ||
Position: Named | ||
Default value: None | ||
Accept pipeline input: False | ||
Accept wildcard characters: False | ||
``` | ||
### CommonParameters | ||
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). | ||
## INPUTS | ||
## OUTPUTS | ||
## NOTES | ||
## RELATED LINKS |
90 changes: 90 additions & 0 deletions
90
website/docs/commands/Test-MtCisaActivationNotification.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,90 @@ | ||
--- | ||
sidebar_class_name: hidden | ||
description: Checks for notification on role activation | ||
id: Test-MtCisaActivationNotification | ||
title: Test-MtCisaActivationNotification | ||
hide_title: false | ||
hide_table_of_contents: false | ||
custom_edit_url: https://github.com/maester365/maester/blob/main/powershell/public/Test-MtCisaActivationNotification.ps1 | ||
--- | ||
|
||
## SYNOPSIS | ||
|
||
Checks for notification on role activation | ||
|
||
## SYNTAX | ||
|
||
```powershell | ||
Test-MtCisaActivationNotification [-GlobalAdminOnly] [-ProgressAction <ActionPreference>] [<CommonParameters>] | ||
``` | ||
|
||
## DESCRIPTION | ||
|
||
User activation of the Global Administrator role SHALL trigger an alert. | ||
User activation of other highly privileged roles SHOULD trigger an alert. | ||
|
||
## EXAMPLES | ||
|
||
### EXAMPLE 1 | ||
|
||
```powershell | ||
Test-MtCisaActivationNotification | ||
``` | ||
|
||
Returns true if notifications are set for activation of the highly privileged roles other than Global Admin | ||
|
||
### EXAMPLE 2 | ||
|
||
```powershell | ||
Test-MtCisaActivationNotification -GlobalAdminOnly | ||
``` | ||
|
||
Returns true if notifications are set for activation of the Global Admin role | ||
|
||
## PARAMETERS | ||
|
||
### -GlobalAdminOnly | ||
|
||
\{\{ Fill GlobalAdminOnly Description \}\} | ||
|
||
```yaml | ||
Type: SwitchParameter | ||
Parameter Sets: (All) | ||
Aliases: | ||
|
||
Required: False | ||
Position: Named | ||
Default value: False | ||
Accept pipeline input: False | ||
Accept wildcard characters: False | ||
``` | ||
### -ProgressAction | ||
\{\{ Fill ProgressAction Description \}\} | ||
```yaml | ||
Type: ActionPreference | ||
Parameter Sets: (All) | ||
Aliases: proga | ||
|
||
Required: False | ||
Position: Named | ||
Default value: None | ||
Accept pipeline input: False | ||
Accept wildcard characters: False | ||
``` | ||
### CommonParameters | ||
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). | ||
## INPUTS | ||
## OUTPUTS | ||
### System.Boolean | ||
## NOTES | ||
## RELATED LINKS |
Oops, something went wrong.