Skip to content

Latest commit

 

History

History
168 lines (128 loc) · 2.94 KB

New-GRRHuntApproval.md

File metadata and controls

168 lines (128 loc) · 2.94 KB
external help file Module Name online version schema
PowerGRR-help.xml
PowerGRR
2.0.0

New-GRRHuntApproval

SYNOPSIS

Create a new hunt approval.

SYNTAX

New-GRRHuntApproval [-HuntId] <String> [[-Credential] <PSCredential>] [-NotifiedUsers] <String[]>
 [-Reason] <String> [-OnlyId] [-ShowJSON] [-WhatIf] [-Confirm] [<CommonParameters>]

DESCRIPTION

Create a new hunt approval.

EXAMPLES

Example 1

PS C:\> New-GRRHuntApproval -Credential $cred -HuntId AAAAAAAA -NotifiedUsers username -Reason "Hunt for malicious files" -OnlyId

Create a new hunt approval.

PARAMETERS

-Confirm

Prompts you for confirmation before running the cmdlet.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf

Required: False
Position: Benannt
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Credential

GRR credentials.

Type: PSCredential
Parameter Sets: (All)
Aliases:

Required: False
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-HuntId

Hunt id for which an approval is created.

Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-NotifiedUsers

The users which have to give the approval.

Type: String[]
Parameter Sets: (All)
Aliases:

Required: True
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-OnlyId

Display only the approval id after creating the approval.

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

Required: False
Position: Benannt
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Reason

Reason for the approval.

Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: 3
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-ShowJSON

Return plain JSON instead of converted JSON.

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

Required: False
Position: Benannt
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi

Required: False
Position: Benannt
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

Keine

OUTPUTS

System.Object

NOTES

RELATED LINKS