Domain

Synopsis

Get a domain

Syntax

Get-DOMDomain -DomainName <String> -ValidationScope <String> [-IncludeDomainStatusHistory] [-EdgeRCFile <String>] [-Section <String>] [-AccountSwitchKey <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
Get-DOMDomain [-Paginate] [-Page <Int32>] [-PageSize <Int32>] [-EdgeRCFile <String>] [-Section <String>] [-AccountSwitchKey <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]

Description

Lists all domains in Domain Ownership Manager, or returns a specific domain by its DomainName.

Parameters

‑AccountSwitchKey

An account credential key that lets you move between accounts when using an API client enabled for multiple accounts. To find account switch keys, use Get-AccountSwitchKey.

‑DomainName
Conditionally required

Name of the domain.

‑EdgeRCFile

Your EdgeGrid resource file to authenticate your command. Defaults to ~/.edgerc.

‑IncludeDomainStatusHistory

Whether to return domain status history.

‑Page

Page index starting with 1. By default, 1.

‑PageSize

Number of records to fetch on a page. By default, 1000.

‑Paginate

Whether to return a paginated response.

‑Section

The section name in your EdgeGrid resource file to retrieve authentication credentials from. Defaults to default.

‑ValidationScope
Conditionally required

Validation scope of the domain. For HOST, the scope is only the exactly specified domain. For WILDCARD, the scope covers any hostname within one subdomain level. For DOMAIN, the scope covers any hostnames under the domain, regardless of the level of subdomains. Read more about validation scopes.

Related Links