Skip to content

New GADomainAliasObj

Spencer Varney edited this page Dec 9, 2016 · 2 revisions

New-GADomainAliasObj

SYNOPSIS

Creates a new Directory API DomainAlias object.

SYNTAX

New-GADomainAliasObj [[-CreationTime] <Int64>] [[-DomainAliasName] <String>] [[-ParentDomainName] <String>]
 [[-Verified] <Boolean>] [-WhatIf] [-Confirm]

DESCRIPTION

This provides a Cmdlet-Based approach to creating a DomainAlias object which may be required as a parameter for some other Cmdlets in the Directory API category.

You could alternately create this object by calling New-Object -TypeName Google.Apis.admin.Directory.directory_v1.Data.DomainAlias

EXAMPLES

---------- EXAMPLE 1 ----------

PS C:\> New-GADomainAliasObj

This automatically generated example serves to show the bare minimum required to call this Cmdlet.

Additional examples may be added, viewed and edited by users on the community wiki at the URL found in the related links.

PARAMETERS

-CreationTime

The creation time of the domain alias. (Read-only).

Type: Int64
Parameter Sets: (All)
Aliases: 

Required: False
Position: 0
Default value: 
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-DomainAliasName

The domain alias name.

Type: String
Parameter Sets: (All)
Aliases: 

Required: False
Position: 1
Default value: 
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-ParentDomainName

The parent domain name that the domain alias is associated with. This can either be a primary or secondary domain name within a customer.

Type: String
Parameter Sets: (All)
Aliases: 

Required: False
Position: 2
Default value: 
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-Verified

Indicates the verification state of a domain alias. (Read-only)

Type: Boolean
Parameter Sets: (All)
Aliases: 

Required: False
Position: 3
Default value: 
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

INPUTS

System.Int64

The creation time of the domain alias. (Read-only).

System.String

The domain alias name.

System.String

The parent domain name that the domain alias is associated with. This can either be a primary or secondary domain name within a customer.

System.Boolean

Indicates the verification state of a domain alias. (Read-only)

OUTPUTS

Google.Apis.admin.Directory.directory_v1.Data.DomainAlias

NOTES

Part of the gShell Project, relating to the Google Directory API; see Related Links or use the -Online parameter.

RELATED LINKS

[Wiki page for this Cmdlet]

[Getting started with gShell]

Clone this wiki locally