| external help file | core-help.xml |
|---|---|
| Module Name | core |
| online version | https://github.com/Azure-Devops-PowerShell-Module/core/blob/master/docs/Connect-AzDevOpsOrganization.md#connect-azdevopsOrganization |
| schema | 2.0.0 |
This function will connect to Azure DevOps
Connect-AzDevOpsOrganization [-Orgname] <String> [-PAT] <String> [<CommonParameters>]
This function will connect to Azure Devops, you will need to provide a valid Organization Name and you must have created a Personal Access Token
PS C:\> Connect-AzDevOps -Orgname patton-tech -PAT **********
Connected to https://dev.azure.com/patton-tech/Connecting to your Azure DevOps organization
This is the Organization Name of your Azure DevOps environment.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseA valid Personal Access Token, for more details visit: https://docs.microsoft.com/en-us/azure/devops/organizations/accounts/use-personal-access-tokens-to-authenticate?view=azure-devops&tabs=preview-page
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseThis cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.