< Back

Set-AzureDevOpsAccountContext

Sat Jan 11, 2020 10:28 am

NAME Set-AzureDevOpsAccountContext



SYNOPSIS

Sets the Account and project that future cmdlets will be executing against.





SYNTAX

Set-AzureDevOpsAccountContext [-ProjectName <String>] [<CommonParameters>]





DESCRIPTION







PARAMETERS

-ProjectName <String>

The name of the project you want to work with



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









NOTES





IMPORTANT: This must be run prior to the execution of any cmdlets that interact with the Azure Dev Ops Rest API



-------------------------- Example 1 --------------------------



Set-AzureDevOpsAccountContext -AccountName MainAccount -ProjectName "The Big Project"



Configuring The MainAccount and The Big Project to be the current execution context for rest api calls.









RELATED LINKS

Online Documentation http://devopsmodule.utmonline.net/docs/ ... ntcontext/