Domain
New-DOMDomain
Synopsis
Add domains.
Syntax
New-DOMDomain -DomainName <String[]> -ValidationScope <String[]> [-EdgeRCFile <String>] [-Section <String>] [-AccountSwitchKey <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]New-DOMDomain -Body <Object> [-EdgeRCFile <String>] [-Section <String>] [-AccountSwitchKey <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]Description
Adds domains to validate. For each -DomainName you add, you must also provide a -ValidationScope of either HOST, WILDCARD, or DOMAIN.
If you provide more than one entry for a -DomainName, the used value for the -ValidationScope is the one at the same position in the provided list. For example, the first -DomainName is paired with the first -ValidationScope, the second with the second, and so on.
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. |
‑BodyConditionally required | A request body, either as a |
‑DomainNameConditionally required | Name of the domain. |
‑EdgeRCFile | Your EdgeGrid resource file to authenticate your command. Defaults to |
‑Section | The section name in your EdgeGrid resource file to retrieve authentication credentials from. Defaults to |
‑ValidationScopeConditionally required | Validation scope of the domain. For |
