Skip to content
Spencer Varney edited this page Dec 14, 2016 · 3 revisions

New-GADomainsObj

SYNOPSIS

Creates a new Directory API Domains object.

SYNTAX

New-GADomainsObj [[-CreationTime] <Int64>] [[-DomainAliases] <DomainAlias[]>] [[-DomainName] <String>]
 [[-IsPrimary] <Boolean>] [[-Verified] <Boolean>] [-WhatIf] [-Confirm]

DESCRIPTION

This provides a Cmdlet-Based approach to creating a Domains 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.Domains

EXAMPLES

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

PS C:\> New-GADomainsObj

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

Creation time of the domain. (Read-only).

Type: Int64
Parameter Sets: (All)
Aliases: 

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

-DomainAliases

List of domain alias objects. (Read-only)

Type: DomainAlias[]
Parameter Sets: (All)
Aliases: 

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

-DomainName

The domain name of the customer.

Type: String
Parameter Sets: (All)
Aliases: 

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

-IsPrimary

Indicates if the domain is a primary domain (Read-only).

Type: Boolean
Parameter Sets: (All)
Aliases: 

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

-Verified

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

Type: Boolean
Parameter Sets: (All)
Aliases: 

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

INPUTS

System.Int64

Creation time of the domain. (Read-only).

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

List of domain alias objects. (Read-only)

System.String

The domain name of the customer.

System.Boolean

Indicates if the domain is a primary domain (Read-only).

System.Boolean

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

OUTPUTS

Google.Apis.admin.Directory.directory_v1.Data.Domains

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