Get-RubrikDatabaseMount
SYNOPSIS
Connects to Rubrik and retrieves details on mounts for a SQL Server Database
SYNTAX
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
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
RELATED LINKS
Last updated