external help file | Module Name | online version | schema |
---|---|---|---|
PowerGRR-help.xml |
PowerGRR |
2.0.0 |
Get hunt info for a specific hunt.
Get-GRRHuntInfo [[-HuntId] <String[]>] [[-Credential] <PSCredential>] [-ShowJSON] [<CommonParameters>]
Get hunt info for a specific hunt.
PS C:\> Get-GRRHuntInfo "AAAAAAAA" -Credential $cred
Read the hunt infos based on a hunt id.
PS C:\> "H:AAAAAAAA" | Get-GRRHuntInfo | select description, all_clients_count, completed_clients_count, remaining_clients_count, clients_queued_count, clients_with_results_count, results_count | fl
Use pipeline to get hunt info and the credentials from the variable
$GRRCredential
are used without the need for -Credential
.
PS C:\> Get-GRRHuntInfo -HuntId H:AAAAAAAA, H:BBBBBBBB, H:CCCCCCCC | select description, all_clients_count, completed_clients_count, remaining_clients_count, clients_queued_count, clients_with_results_count, results_count | fl
Read all the hunt infos for all the given hunt ids and use the credentials
from the variable $GRRCredential
without the need for -Credential
.
GRR credentials.
Type: PSCredential
Parameter Sets: (All)
Aliases:
Required: False
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Hunt id for which the info should be returned.
Type: String[]
Parameter Sets: (All)
Aliases:
Required: False
Position: 0
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False
Return plain JSON instead of parsed JSON object.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
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).