Get-RubrikRequest

SYNOPSIS

Connects to Rubrik and retrieves details on an async request

SYNTAX

Entry

Get-RubrikRequest -id <String> -Type <String> [-WaitForCompletion] [-Server <String>] [-api <String>]
 [<CommonParameters>]

Pipeline

Get-RubrikRequest -Request <PSObject> [-WaitForCompletion] [-Server <String>] [-api <String>]
 [<CommonParameters>]

DESCRIPTION

The Get-RubrikRequest cmdlet will pull details on a request that was submitted to the distributed task framework. This is helpful for tracking the state (success, failure, running, etc.) of a request.

EXAMPLES

EXAMPLE 1

Will return details about an async VMware VM request named "MOUNT_SNAPSHOT_123456789:::0"

EXAMPLE 2

Will wait for the specified async request to report a 'SUCCESS' or 'FAILED' status before returning details

EXAMPLE 3

Will take the latest Snapshot of jbrasser-lin and create a live mount of this Virtual Machine, Get-RubrikRequest will poll the cluster until the VM is available while displaying Verbose information.

EXAMPLE 4

Updates Rubrik vCenter and waits for completion of the request

PARAMETERS

-id

ID of an asynchronous request

-Type

The type of request

-Request

Request

-WaitForCompletion

Wait for Request to Complete

-Server

Rubrik server IP or FQDN

-api

API version

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-rubrikrequest

Last updated

Was this helpful?