Skip to main content
SnapCenter 4.8 cmdlets

Get-SmRepositoryConfig

Contributors

Displays the repository configuration information.

Syntax

Get-SmRepositoryConfig [-SMSbaseUrl]  <String>

Detailed Description

Displays the repository configuration information.

Parameters

Name Description Required? Pipeline Input Default Value

SMSbaseUrl

Specifies the SnapCenter Server base URL. The base URL includes the name or IP address of the SnapCenter Server, and, if the remote system is in a different domain from that of the SnapCenter Server, the domain name. For example: https://SNAPCENTER_SERVER_NAME/DOMAIN_NAME.

false

true (ByPropertyName)

Examples

Example 1: Displaying the MySQL repository details

 Get-SmRepositoryConfig

This example syntax displays the MySQL repository details.

ActiveRepository   : 10.236.221.0
ReplicationServers : 10.236.221.0,10.236.221.34
ReplicationStatus  : Healthy
ReplicationIssues  :
LastSwitchoverTime : 4/28/2017 7:11:10 AM

Example 2: Displaying MySQL repository details from a remote host to SnapCenter using a base URL

 Get-SmRepositoryConfig -SMSbaseUrl https://10.236.221.75:8146/

This example syntax displays the MySQL repository details from a remote host to SnapCenter using the specified base URL.

ActiveRepository   : 10.236.221.0
ReplicationServers : 10.236.221.0,10.236.221.34
ReplicationStatus  : Healthy
ReplicationIssues  :
LastSwitchoverTime : 4/28/2017 7:11:10 AM