Get-RocketCyberOffice

SYNOPSIS

Gets office information from the RocketCyber API

SYNTAX

Index (Default)

Get-RocketCyberOffice [[-AccountId] <long[]>]

ALIASES

This cmdlet has the following aliases,

  • Get-RCOffice

DESCRIPTION

The Get-RocketCyberOffice cmdlet gets office information from all or a defined account ID

The Get-RocketCyberOffice cmdlet invokes the GET method of the /v3/office endpoint

EXAMPLES

EXAMPLE 1

Get-RocketCyberOffice

Office data will be retrieved from all accounts accessible by the API key

EXAMPLE 2

Get-RocketCyberOffice -AccountId 12345

Office data will be retrieved from the AccountId 12345

EXAMPLE 3

12345 | Get-RocketCyberOffice

Office data will be retrieved from the AccountId 12345

PARAMETERS

-AccountId

The account ID to pull data for

If not provided, data will be pulled for all accounts accessible by the API key

Multiple comma separated values can be inputted

Type: System.Int64[]
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
  Position: 0
  IsRequired: false
  ValueFromPipeline: true
  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/office