Skip to content

New GGmailAutoForwardingObj

Spencer Varney edited this page Dec 14, 2016 · 1 revision

New-GGmailAutoForwardingObj

SYNOPSIS

Creates a new Gmail API AutoForwarding object.

SYNTAX

New-GGmailAutoForwardingObj [[-Disposition] <String>] [[-EmailAddress] <String>] [[-Enabled] <Boolean>]
 [-WhatIf] [-Confirm]

DESCRIPTION

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

You could alternately create this object by calling New-Object -TypeName Google.Apis.Gmail.v1.Data.AutoForwarding

EXAMPLES

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

PS C:\>New-GGmailAutoForwardingObj

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

-Disposition

The state that a message should be left in after it has been forwarded.

Type: String
Parameter Sets: (All)
Aliases: 

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

-EmailAddress

Email address to which all incoming messages are forwarded. This email address must be a verified member of the forwarding addresses.

Type: String
Parameter Sets: (All)
Aliases: 

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

-Enabled

Whether all incoming mail is automatically forwarded to another address.

Type: Boolean
Parameter Sets: (All)
Aliases: 

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

INPUTS

System.String

The state that a message should be left in after it has been forwarded.

System.String

Email address to which all incoming messages are forwarded. This email address must be a verified member of the forwarding addresses.

System.Boolean

Whether all incoming mail is automatically forwarded to another address.

OUTPUTS

Google.Apis.Gmail.v1.Data.AutoForwarding

NOTES

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

RELATED LINKS

[Wiki page for this Cmdlet]

[Getting started with gShell]

Clone this wiki locally