< Back
Connect-Bitbucket
Post
NAME Connect-Bitbucket
SYNOPSIS
Logs into Bitbucket as a User or is Authorized by Bitbucket as a Consumer and the Credential are used with the
Bitbucket API.
SYNTAX
Connect-Bitbucket [-Mode] <String> [[-Credential] <PSCredential>] [<CommonParameters>]
DESCRIPTION
Stores Credential in your current PowerShell session for later use.
PARAMETERS
-Mode <String>
Must be either User or Consumer
User - Sets Credentials as a Bitbucket User using the User Bitbucket UserID and Password
Consumer - Sets Credentials as a Consumer using the Consumer Key (ClientID) and Secret
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Credential <PSCredential>
Required? false
Position? 2
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
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Connect-Bitbucket -Mode User
-------------------------- EXAMPLE 2 --------------------------
PS C:\\>Connect-Bitbucket -Mode User -Credential $UserCredential
-------------------------- EXAMPLE 3 --------------------------
PS C:\\>Connect-Bitbucket -Mode Consumer
-------------------------- EXAMPLE 4 --------------------------
PS C:\\>Connect-Bitbucket -Mode Consumer -Credential $Credential
RELATED LINKS
SYNOPSIS
Logs into Bitbucket as a User or is Authorized by Bitbucket as a Consumer and the Credential are used with the
Bitbucket API.
SYNTAX
Connect-Bitbucket [-Mode] <String> [[-Credential] <PSCredential>] [<CommonParameters>]
DESCRIPTION
Stores Credential in your current PowerShell session for later use.
PARAMETERS
-Mode <String>
Must be either User or Consumer
User - Sets Credentials as a Bitbucket User using the User Bitbucket UserID and Password
Consumer - Sets Credentials as a Consumer using the Consumer Key (ClientID) and Secret
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Credential <PSCredential>
Required? false
Position? 2
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
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Connect-Bitbucket -Mode User
-------------------------- EXAMPLE 2 --------------------------
PS C:\\>Connect-Bitbucket -Mode User -Credential $UserCredential
-------------------------- EXAMPLE 3 --------------------------
PS C:\\>Connect-Bitbucket -Mode Consumer
-------------------------- EXAMPLE 4 --------------------------
PS C:\\>Connect-Bitbucket -Mode Consumer -Credential $Credential
RELATED LINKS