< Back

Set-GDriveProxySetting

Mon Jan 13, 2020 10:29 pm

NAME Set-GDriveProxySetting



SYNOPSIS

Set Proxy Settings for use in GDrive functions





SYNTAX

Set-GDriveProxySetting [[-Proxy] <Uri>] [[-ProxyCredential] <PSCredential>] [-ProxyUseDefaultCredentials]

[-WhatIf] [-Confirm] [<CommonParameters>]





DESCRIPTION

Set Proxy Settings for use in GDrive functions

Request-GDriveAuthorizationCode does not use this settings because it IE based





PARAMETERS

-Proxy <Uri>



Required? false

Position? 1

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-ProxyCredential <PSCredential>



Required? false

Position? 2

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-ProxyUseDefaultCredentials [<SwitchParameter>]



Required? false

Position? named

Default value False

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-WhatIf [<SwitchParameter>]



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Confirm [<SwitchParameter>]



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS

None





NOTES





Author: Max Kozlov



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



PS C:\\># Set Proxy



Set-GDriveProxySettings -Proxy http://mycorpproxy.mydomain









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



PS C:\\># Remove Proxy



Set-GDriveProxySettings -Proxy ''











RELATED LINKS

Get-GDriveProxySetting