Skip to content

New GGroupsMigration

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

New-GGroupsMigration

SYNOPSIS

Inserts a new mail into the archive of the Google group.

SYNTAX

NoUpload (Default)

New-GGroupsMigration [-GroupId] <String> [-GAuthId <String>] [-WhatIf] [-Confirm]

MediaUpload

New-GGroupsMigration [-GroupId] <String> [-FilePath] <String> [-UploadType] <UploadTypeEnum>
 [-GAuthId <String>] [-WhatIf] [-Confirm]

DESCRIPTION

Inserts a new mail into the archive of the Google group.

EXAMPLES

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

PS C:\> New-GGroupsMigration -GroupUniqueId $SomeGroupIdString

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.

---------- EXAMPLE 2 ----------

PS C:\> New-GGroupsMigration -GroupUniqueId $SomeGroupIdString -FilePath $SomeFilePath -UploadType media

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

-GroupId

The group ID

Type: String
Parameter Sets: (All)
Aliases: 

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

-FilePath

The path to the file to upload.

Type: String
Parameter Sets: MediaUpload
Aliases: 

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

-UploadType

The type of upload request to the upload URI.

Possible values: media, resumable

Type: UploadTypeEnum
Parameter Sets: MediaUpload
Aliases: 
Accepted values: media, resumable

Required: True
Position: 3
Default value: Media
Accept pipeline input: False
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

OUTPUTS

NOTES

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

RELATED LINKS

[Wiki page for this Cmdlet]

[Getting started with gShell]

Clone this wiki locally