Skip to main content
SnapCenter 5.0 cmdlets

Get-SmDomain

Contributors

Gets all the domains registered with the SnapCenter server.

Syntax

Get-SmDomain [-Name]  <String>

Detailed Description

Gets and displays information of all the domains or a specific domain registered with SnapCenter Server.

Parameters

Name Description Required? Pipeline Input Default Value

Name

NETBIOS Name of the registered domain to get the information.

false

true (ByPropertyName)

Examples

Example 1: Gets all the domains registered with SnapCenter Server.

 Get-SmDomain
Result:
Id : 2
Name   : ad12
DomainFQDN : ad12.test.netapp.com
DCHostIPAddresses  :
TrustedDomains :
CreatedOn  : 4/11/2018 10:19:49 PM
ModifiedOn : 4/13/2018 2:37:53 AM
Port   : 389
Protocol   : LDAP
DCHostNames:
Id : 1
Name   : ad19
DomainFQDN : ad19.test.netapp.com
DCHostIPAddresses  :
TrustedDomains :
CreatedOn  : 9/22/2021 10:06:34 PM
ModifiedOn : 9/23/2021 6:05:29 AM
Port   : 636
Protocol   : LDAPS
DCHostNames: WS9K19DC.ad19.test.netapp.com

Example 2: Get a specific registered domain.

 Get-SmDomain -Name ad12
Result:
Id : 2
Name   : ad12
DomainFQDN : ad12.test.netapp.com
DCHostIPAddresses  :
TrustedDomains :
CreatedOn  : 4/11/2018 10:19:49 PM
ModifiedOn : 4/13/2018 2:37:53 AM
Port   : 389
Protocol   : LDAP
DCHostNames: