| external help file | core-help.xml |
|---|---|
| Module Name | core |
| online version | https://github.com/Azure-Devops-PowerShell-Module/core/blob/master/docs/Update-AzDevOpsProject.md#update-azdevopsproject |
| schema | 2.0.0 |
Update Name, Description or Abbreviation of a project
Update-AzDevOpsProject [[-Name] <String>] [[-Description] <String>] [[-Abbreviation] <String>]
[[-Project] <Object>] [-WhatIf] [-Confirm] [<CommonParameters>]
This function allows you to update the Name or Description or Abbreviation of a given project within Azure DevOps.
PS C:\>Get-AzDevOpsProject-ProjectId 2e6901c2-7cfb-40ea-901b-dfb439566e13 |Update-AzDevOpsProject-Name newproject
id : 2e6901c2-7cfb-40ea-901b-dfb439566e13
name : newproject
url : https://dev.azure.com/patton-tech/_apis/projects/2e6901c2-7cfb-40ea-901b-dfb439566e13
state : wellFormed
revision : 515330771
_links : @{self=; collection=; web=}
visibility : private
defaultTeam : @{id=cb24c842-7e32-4438-bf5d-fc67ac28a5c1; name=123abc Team; url=https://dev.azure.com/patton-tech/_apis/projects/2e6901c2-7cfb-40ea-901b-dfb439566e13/teams/cb24c842-7e32-4438-bf5d-fc67ac28a5c1}
lastUpdateTime : 2020-04-14T14:54:32.91ZChanging the name of a project
PS C:\>Get-AzDevOpsProject-ProjectId 2e6901c2-7cfb-40ea-901b-dfb439566e13 |Update-AzDevOpsProject-Name updatedproject -Description 'a new project description'
id : 2e6901c2-7cfb-40ea-901b-dfb439566e13
name : updatedproject
description : a new project description
url : https://dev.azure.com/patton-tech/_apis/projects/2e6901c2-7cfb-40ea-901b-dfb439566e13
state : wellFormed
revision : 515330772
_links : @{self=; collection=; web=}
visibility : private
defaultTeam : @{id=cb24c842-7e32-4438-bf5d-fc67ac28a5c1; name=newproject Team; url=https://dev.azure.com/patton-tech/_apis/projects/2e6901c2-7cfb-40ea-901b-dfb439566e13/teams/cb24c842-7e32-4438-bf5d-fc67ac28a5c1}Changing the name and description of a project
A 3 character project abbreviation
Type: StringParameter Sets: (All)Aliases:
Required: FalsePosition: 2Default value: NoneAccept pipeline input: FalseAccept wildcard characters: FalsePrompts you for confirmation before running the cmdlet.
Type: SwitchParameterParameter Sets: (All)Aliases: cfRequired: FalsePosition: NamedDefault value: NoneAccept pipeline input: FalseAccept wildcard characters: FalseA descriptive name for the project
Type: StringParameter Sets: (All)Aliases:
Required: FalsePosition: 1Default value: NoneAccept pipeline input: FalseAccept wildcard characters: FalseA name for the project
Type: StringParameter Sets: (All)Aliases:
Required: FalsePosition: 0Default value: NoneAccept pipeline input: FalseAccept wildcard characters: FalseA project object as returned from Get-AzDevOpsProject
Type: ObjectParameter Sets: (All)Aliases:
Required: FalsePosition: 3Default value: NoneAccept pipeline input: True (ByValue)Accept wildcard characters: FalseShows what would happen if the cmdlet runs. The cmdlet is not run.
Type: SwitchParameterParameter Sets: (All)Aliases: wiRequired: FalsePosition: NamedDefault value: NoneAccept pipeline input: FalseAccept 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.