Get-MXDomainOwnership cmdlet gets the NS records for domains (through nslookup).

Input parameters

#
Parameter
Type

Mandatory (R/O)

Description
1  Authentication Information (all parameters) 

Output parameters

#PropertyTypeDescriptionValid Values
DomainStatusInfo:
1 DomainName string Domain name  
2 Records string[] Domain records  
3 Status DomainStatus Domain status
  • Internal - the domain is registered in internal Nameservers;
  • External - the domain is registered in external Nameservers;
  • Unknown - undefined status.

Example of using  Get-MXDomainOwnership cmdlet 

Lookup of statuses of account's domains regarding NS records: 

Get-MXDomainOwnership