Get-RubrikSQLInstance
SYNOPSIS
Gets internal Rubrik object that represents a SQL Server instance
SYNTAX
Query (Default)
Get-RubrikSQLInstance [[-Name] <String>] [-SLA <String>] [-Hostname <String>] [-ServerInstance <String>]
[-PrimaryClusterID <String>] [-SLAID <String>] [-Server <String>] [-api <String>] [<CommonParameters>]ID
Get-RubrikSQLInstance [-SLA <String>] [-Hostname <String>] [-ServerInstance <String>]
[-PrimaryClusterID <String>] [-id] <String> [-SLAID <String>] [-Server <String>] [-api <String>]
[<CommonParameters>]DESCRIPTION
Returns internal Rubrik object that represents a SQL Server instance. This
EXAMPLES
EXAMPLE 1
Retrieve all default SQL instances managed by Rubrik
EXAMPLE 2
Retrieve the default SQL instance on host msf-sql2016
EXAMPLE 3
Retrieves all the SQL instances on host msf-sql2016
EXAMPLE 4
Only return SQLInstances of the Rubrik cluster that is hosting the current REST API session.
EXAMPLE 5
Only return SQLInstances of the specified id of the Rubrik cluster that is hosting the current REST API session.
PARAMETERS
-Name
Name of the instance
-SLA
SLA Domain policy assigned to the database
-Hostname
Name of the database host
-ServerInstance
ServerInstance name (combined hostname\instancename)
-PrimaryClusterID
Filter the summary information based on the primarycluster_id of the primary Rubrik cluster. Use: local as the primary_cluster_id of the Rubrik cluster that is hosting the current REST API session.
-id
Rubrik's database id value
-SLAID
SLA id value
-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
Was this helpful?