Command
Connect-GoogleDrive
Syntax
Connect-GoogleDrive
-Email <String>
Connect-GoogleDrive
-Email <String> -Admin <SwitchParameter>
Description
The command to connect to a Google Drive to do a copy.
Examples
Connect to a Google Drive using Google user account email
Connect-GoogleDrive -Email user@gmail.com Email Administrator ----- ------------- user@gmail.com False
Connect to a Google Drive using Google administrator account to perform a migration for any user account
Connect-GoogleDrive -Email user@gmail.com -Admin Email Administrator ----- ------------- user@gmail.com True
Parameters
-Admin <SwitchParameter>
Use administrator authentication.
Required? | True |
Position? | 1 |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | False |
Parameter set name | Admin |
Aliases | None |
-Email <String>
Specifies the user email address.
Required? | True |
Position? | 0 |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | False |
Parameter set name | (All) |
Aliases | None |
Inputs
string
The email address of the Google account to connect to the Google Drive.
Outputs
GoogleDriveInfo
The connected Google Drive.
Comments
0 comments
Please sign in to leave a comment.