Get-RocketCyberApp
SYNOPSIS
Gets an accounts apps from the RocketCyber API
SYNTAX
Index (Default)
Get-RocketCyberApp [[-AccountId] <long>] [[-Status] <string>] [[-Sort] <string>] [[-Order] <string>]
ALIASES
This cmdlet has the following aliases,
- Get-RCApp
DESCRIPTION
The Get-RocketCyberApp cmdlet gets an accounts apps from the RocketCyber API
Can be used with the Get-RocketCyberEvent cmdlet
The Get-RocketCyberApp cmdlet invokes the GET method of the /v3/apps endpoint
EXAMPLES
EXAMPLE 1
Get-RocketCyberApp
Gets active apps from accounts accessible by the API key
EXAMPLE 2
Get-RocketCyberApp -AccountId 12345
Gets active apps from account 12345
EXAMPLE 3
Get-RocketCyberApp -AccountId 12345 -Status inactive -Sort name -Order desc
Gets inactive apps from account 12345 sorted by name in descending order
PARAMETERS
-AccountId
The account ID to pull data for
If not provided, data will be pulled for all accounts accessible by the API key
Type: System.Int64
DefaultValue: 0
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
Position: 0
IsRequired: false
ValueFromPipeline: true
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
-Order
The order of the sort, used with the Sort parameter
Allowed values: ‘asc’, ‘desc’
Default value: ‘asc’
Type: System.String
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
Position: 3
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
-Sort
The apps will be sorted based on this property
Allowed values: ‘id’, ‘name’
Default value: ‘id’
Type: System.String
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
Position: 2
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
-Status
The type of apps to request
Allowed values: ‘active’, ‘inactive’
Default value: ‘active’
Type: System.String
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
Position: 1
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
INPUTS
System.Int64
OUTPUTS
NOTES
Endpoint : GET /v3/apps