Get-RocketCyberOffice

SYNOPSIS

Gets office information from the RocketCyber API

SYNTAX

Get-RocketCyberOffice [[-accountId] <Int64>] [<CommonParameters>]

DESCRIPTION

The Get-RocketCyberOffice cmdlet gets office information from all or a defined accountId.

EXAMPLES

EXAMPLE 1

Get-RocketCyberOffice

Office data will be retrieved from all accounts accessible by the bearer token

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 bearer token.

Type: Int64
Parameter Sets: (All)
Aliases:

Required: False
Position: 1
Default value: 0
Accept pipeline input: True (ByValue)
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.

INPUTS

OUTPUTS

NOTES

N\A

https://celerium.github.io/RocketCyber-PowerShellWrapper/site/Office/Get-RocketCyberOffice.html