Get-RubrikAPIVersion

SYNOPSIS

Connects to Rubrik and retrieves the current API version

SYNTAX

Get-RubrikAPIVersion [-Server] <String> [[-id] <String>] [[-api] <String>] [<CommonParameters>]

DESCRIPTION

The Get-RubrikVersion cmdlet will retrieve the API version actively running on the system. This does not require authentication.

EXAMPLES

EXAMPLE 1

Get-RubrikAPIVersion -Server 192.168.1.100

This will return the running API version on the Rubrik cluster reachable at the address 192.168.1.100

PARAMETERS

-Server

Rubrik server IP or FQDN

Type: String
Parameter Sets: (All)
Aliases:

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

-id

ID of the Rubrik cluster or me for self

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 2
Default value: Me
Accept pipeline input: False
Accept wildcard characters: False

-api

API version

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 3
Default value: V1
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 Chris Wahl for community usage Twitter: @ChrisWahl GitHub: chriswahl

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

Last updated