Get-RubrikDatabaseMount

SYNOPSIS

Connects to Rubrik and retrieves details on mounts for a SQL Server Database

SYNTAX

Get-RubrikDatabaseMount [-Id <String>] [-SourceDatabaseId <String>] [-SourceDatabaseName <String>]
 [-TargetInstanceId <String>] [[-MountedDatabaseName] <String>] [-DetailedObject] [-Server <String>]
 [-api <String>] [<CommonParameters>]

DESCRIPTION

The Get-RubrikMount cmdlet will accept one of several different query parameters and retireve the database Live Mount information for that criteria.

EXAMPLES

EXAMPLE 1

Get-RubrikDatabaseMount

This will return details on all mounted databases.

EXAMPLE 2

This will return mounted databases with the full detailed objects.

EXAMPLE 3

This will return details on mount id "11111111-2222-3333-4444-555555555555".

EXAMPLE 4

This will return details for any mounts found using the id value from a database named BAR on the FOO default instance.

EXAMPLE 5

This returns any mounts where the source database is named BAR.

EXAMPLE 6

This returns any mounts with the name BAR_LM

PARAMETERS

-Id

Rubrik's id of the mount

-SourceDatabaseId

Filters live mounts by database source id

-SourceDatabaseName

Filters live mounts by database source name

-TargetInstanceId

Filters live mounts by database source name

-MountedDatabaseName

Filters live mounts by database source name

-DetailedObject

DetailedObject will retrieved the detailed DatabaseMount object, the default behavior of the API is to only retrieve a subset of the full DatabaseMount object unless we query directly by ID. Using this parameter does affect performance as more data will be retrieved and more API-queries will be performed.

-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 Mike Fal for community usage Twitter: @Mike_Fal GitHub: MikeFal

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

Last updated

Was this helpful?