Get-RubrikObjectStoreArchive

SYNOPSIS

Connects to Rubrik and retrieves a list of object store archive targets

SYNTAX

Query (Default)

Get-RubrikObjectStoreArchive [[-Name] <String>] [-Server <String>] [-api <String>] [<CommonParameters>]

ID

Get-RubrikObjectStoreArchive [-Id] <String> [-Server <String>] [-api <String>] [<CommonParameters>]

DESCRIPTION

The Get-RubrikObjectStoreArchive cmdlet is used to pull a list of configured object store archive targets from the Rubrik cluster.

EXAMPLES

EXAMPLE 1

Get-RubrikObjectStoreArchive

This will return all the object store archive targets configured on the Rubrik cluster.

EXAMPLE 2

Get-RubrikObjectStoreArchive -id '1111-2222-3333'

This will return the object store archive target with an id of '1111-2222-3333' on the Rubrik cluster.

EXAMPLE 3

Get-RubrikObjectStoreArchive -Name 'Azure01'

This will return the object store archive target with a name of 'Azure01' on the Rubrik cluster.

PARAMETERS

-Id

Object Store Archive ID

Type: String
Parameter Sets: ID
Aliases:

Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-Name

Object Store Archive Name

Type: String
Parameter Sets: Query
Aliases:

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

-Server

Rubrik server IP or FQDN

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: $global:RubrikConnection.server
Accept pipeline input: False
Accept wildcard characters: False

-api

API version

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: $global:RubrikConnection.api
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.

INPUTS

OUTPUTS

NOTES

Written by Mike Preston for community usage Twitter: @mwpreston GitHub: mwpreston

https://rubrik.gitbook.io/rubrik-sdk-for-powershell/command-documentation/reference/get-rubrikobjectstorearchive

Last updated