Skip to content

Commit

Permalink
Add-VSTeamProject is missing option to create public project
Browse files Browse the repository at this point in the history
Fixes #469
  • Loading branch information
SebastianSchuetze committed Sep 9, 2022
1 parent a192d68 commit 2dae165
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 11 deletions.
22 changes: 11 additions & 11 deletions .docs/Add-VSTeamProject.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,17 +34,6 @@ template and TFVC source control.

## PARAMETERS

### ProjectName

The name of the project to create.

```yaml
Type: String
Aliases: Name
Required: True
Position: 0
```
### ProcessTemplate

The name of the process template to use for the project.
Expand Down Expand Up @@ -72,6 +61,17 @@ Switches the source control from Git to TFVC.
Type: SwitchParameter
```
### Visibility
The visibility of the project.
```yaml
Type: String
Accepted values: private, public
```
<!-- #include "./params/projectName.md" -->
## INPUTS
## OUTPUTS
Expand Down
17 changes: 17 additions & 0 deletions .docs/Update-VSTeamProject.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,14 @@ Update-VSTeamProject -Name Demo -NewName aspDemo

This command changes the name of your project from Demo to aspDemo.

### Example 2: Make a project public

```powershell
Update-VSTeamProject -Name Demo -Visibility public
```

This command makes your project public.

## PARAMETERS

### NewName
Expand Down Expand Up @@ -51,6 +59,15 @@ Aliases: ProjectId
Accept pipeline input: true (ByPropertyName)
```
### Visibility
The visibility of the project.
```yaml
Type: String
Accepted values: private, public
```
<!-- #include "./params/projectName.md" -->
<!-- #include "./params/forcegroup.md" -->
Expand Down

0 comments on commit 2dae165

Please sign in to comment.