Set-AzureDevOpsAccountContext
Syntax
Set-AzureDevOpsAccountContext
[-AccountName <AzureDevOpsAccount>]
[-ProjectName <string>]
Description
Sets the Account and project that future cmdlets will be executing against.
NOTE: This must be run prior to the execution of any cmdlets that interact with the Azure Dev Ops Rest API
Example
Set-AzureDevOpsAccountContext -AccountName MainAccount -ProjectName "The Big Project"
Parameters
-AccountName
The name of the account that you will be working with.
Type: | AzureDevOpsAccount |
Position: | Named |
Default Value: | None |
Accept Pipeline Input: | False |
Accept Wildcard Characters: | False |
-ProjectName
The name of the project you want to work with
Type: | string |
Position: | Named |
Default Value: | None |
Accept Pipeline Input: | False |
Accept Wildcard Characters: | False |