Command
Connect-Google
Description
Use this command to connect to a Google account as your source in a Copy-Mailbox script.
Examples
Connect using the browser
Connect-Google
This command opens a browser window, and after you enter your credentials and close it, you'll be connected to your Google Workspace.
Connect using an existing connection
Connect-Google -CustomerId NkCJcLa43 -Email [email protected]
Syntax
Connect-Google
-CustomerId <String>
-Email <String>
Parameters
-CustomerId <String>
Specifies the customer ID used to connect
Required? | True |
Default value | None |
Accept pipeline input? | False |
Accept wildcard characters? | False |
Parameter set name | ConnectUsingCache |
Aliases | None |
-Email <String>
Specifies the email used to connect
Required? | True |
Default value | None |
Accept pipeline input? | False |
Accept wildcard characters? | False |
Parameter set name | ConnectUsingCache |
Aliases | None |