Get-AzDevCenterUserProject
Gets a project.
Syntax
Get-AzDevCenterUserProject
-Endpoint <String>
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Get-AzDevCenterUserProject
-Endpoint <String>
-ProjectName <String>
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Get-AzDevCenterUserProject
-Endpoint <String>
-InputObject <IDevCenterdataIdentity>
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Get-AzDevCenterUserProject
-DevCenterName <String>
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Get-AzDevCenterUserProject
-DevCenterName <String>
-InputObject <IDevCenterdataIdentity>
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Get-AzDevCenterUserProject
-DevCenterName <String>
-ProjectName <String>
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Description
Gets a project.
Examples
Example 1: List projects by endpoint
Get-AzDevCenterUserProject -Endpoint "https://8a40af38-3b4c-4672-a6a4-5e964b1870ed-contosodevcenter.centralus.devcenter.azure.com/" -ProjectName DevProject
This command lists the projects under the endpoint.
Example 2: List projects by dev center
Get-AzDevCenterUserProject -DevCenterName Contoso -ProjectName DevProject
This command lists the projects under the dev center.
Example 3: Get project by endpoint
Get-AzDevCenterUserProject -Endpoint "https://8a40af38-3b4c-4672-a6a4-5e964b1870ed-contosodevcenter.centralus.devcenter.azure.com/" -ProjectName DevProject
This command gets the project "DevProject".
Example 4: Get project by dev center
Get-AzDevCenterUserProject -DevCenterName Contoso -ProjectName DevProject
This command gets the project "DevProject".
Example 5: Get project by endpoint and InputObject
$devBoxInput = @{"ProjectName" = "DevProject";}
Get-AzDevCenterUserProject -Endpoint "https://8a40af38-3b4c-4672-a6a4-5e964b1870ed-contosodevcenter.centralus.devcenter.azure.com/" -InputObject $devBoxInput
This command gets the project "DevProject".
Example 6: Get project by dev center and InputObject
$devBoxInput = @{"ProjectName" = "DevProject";}
Get-AzDevCenterUserProject -DevCenterName Contoso -InputObject $devBoxInput
This command gets the project "DevProject".
Parameters
-DefaultProfile
The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.
Type: | PSObject |
Aliases: | AzureRMContext, AzureCredential |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-DevCenterName
The DevCenter upon which to execute operations.
Type: | String |
Aliases: | DevCenter |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Endpoint
The DevCenter-specific URI to operate on.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-InputObject
Identity Parameter To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
Type: | IDevCenterdataIdentity |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-ProjectName
The DevCenter Project upon which to execute operations.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Inputs
Outputs
Azure PowerShell