Skip to content

Set GEmailSettingsGeneral

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

Deprectiation Notice: The Email Settings API is deprecated and will be turned off on July 7, 2017. Migrate to the Gmail API as soon as possible to avoid disruptions to your application. See the following URL for more information: https://developers.google.com/admin-sdk/email-settings/

Set-GEmailSettingsGeneral

SYNOPSIS

Update various Google Mail General settings.

SYNTAX

Set-GEmailSettingsGeneral [-UserName] <String> [[-PageSize] <GeneralPageSizeEnum>] [[-Shortcuts] <Boolean>]
 [[-Arrows] <Boolean>] [[-Snippets] <Boolean>] [[-Unicode] <Boolean>] [-Domain <String>] [-GAuthId <String>]
 [-WhatIf] [-Confirm]

DESCRIPTION

Update various Google Mail General settings.

EXAMPLES

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

PS C:\> Set-GEmailSettingsGeneral -UserName $SomeUserNameString

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

-UserName

The target Google Apps user.

Type: String
Parameter Sets: (All)
Aliases: 

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

-PageSize

The number of conversations to be shown per page.

  • 25, 50, 100

Possible values: _25, _50, _100

Type: GeneralPageSizeEnum
Parameter Sets: (All)
Aliases: 
Accepted values: _25, _50, _100

Required: False
Position: 2
Default value: 
Accept pipeline input: False
Accept wildcard characters: False

-Shortcuts

Whether to enable keyboard shortcuts

Type: Boolean
Parameter Sets: (All)
Aliases: 

Required: False
Position: 3
Default value: 
Accept pipeline input: False
Accept wildcard characters: False

-Arrows

Whether to display arrow-shaped personal indicators next to emails that were sent specifically to the user. ( › and » )

Type: Boolean
Parameter Sets: (All)
Aliases: 

Required: False
Position: 4
Default value: 
Accept pipeline input: False
Accept wildcard characters: False

-Snippets

Whether to display snippets of messages in the inbox and when searching.

Type: Boolean
Parameter Sets: (All)
Aliases: 

Required: False
Position: 5
Default value: 
Accept pipeline input: False
Accept wildcard characters: False

-Unicode

Whether to use UTF-8 (unicode) encoding for all outgoing messages, instead of the default text encoding.

Type: Boolean
Parameter Sets: (All)
Aliases: 

Required: False
Position: 6
Default value: 
Accept pipeline input: False
Accept wildcard characters: False

-Domain

The target domain for this email settings cmdlet.

Type: String
Parameter Sets: (All)
Aliases: 

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

-GAuthId

The GAuthId representing the gShell auth credentials this cmdlet should use to run.

Type: String
Parameter Sets: (All)
Aliases: 

Required: False
Position: Named
Default value: 
Accept pipeline input: False
Accept wildcard characters: False

INPUTS

System.String

The target domain for this email settings cmdlet.

OUTPUTS

NOTES

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

RELATED LINKS

[Wiki page for this Cmdlet]

[Getting started with gShell]

Clone this wiki locally