< Back

Get-AzureDevOpsAccount

Sat Jan 11, 2020 10:23 am

NAME Get-AzureDevOpsAccount



SYNOPSIS

Gets all the accounts registered in the modules configuration repository.





SYNTAX

Get-AzureDevOpsAccount [-FriendlyName <String>] [<CommonParameters>]





DESCRIPTION







PARAMETERS

-FriendlyName <String>

The friendly name for the account that you specified when you added it using the `Add-AzureDevOpsAccount`

cmdlet.



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





If the `-FriendlyName` switch isn't provided then it gets all the accounts. If a value is provided then it

returns only the account specified.



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



Get-AzureDevOpsAccount



Get all accounts







AccountName : ContosoDevMain

AccountProjects : {RemotePowerShell}

BaseUrl : https://dev.azure.com/ContosoDevMain

FriendlyName : main

TokenId : 88b61c24-4c58-4f15-9181-17c415d8f6cb



AccountName : TailSpinToysMain

AccountProjects : {SuchWebSite}

BaseUrl : https://dev.azure.com/TailSpinToysMain

FriendlyName : CustomerMain

TokenId : a5e67047-e3de-4714-b004-8588974866cb



-------------------------- Example 2 --------------------------



Get-AzureDevOpsAccount -FriendlyName main



Getting the account named "main"







AccountName : ContosoDevMain

AccountProjects : {RemotePowerShell}

BaseUrl : https://dev.azure.com/ContosoDevMain

FriendlyName : main

TokenId : 88b61c24-4c58-4f15-9181-17c415d8f6cb





RELATED LINKS

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