Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Sean Wheeler <sean.wheeler@microsoft.com>
  • Loading branch information
chasewilson and sdwheeler committed Sep 20, 2021
1 parent 7c51857 commit c3f432e
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ C:\temp\test\test.ps1 3 3 79
C:\temp\test\test[1].txt 31 562 2059
```

### Using multiple parameters sets
### Error using parameters from multiple sets

In this example, unique parameters from different parameter sets are used.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ C:\temp\test\test.ps1 3 3 79
C:\temp\test\test[1].txt 31 562 2059
```

### Using multiple parameters sets
### Error using parameters from multiple sets

In this example, unique parameters from different parameter sets are used.

Expand All @@ -210,7 +210,9 @@ Get-ChildItem -Path $PSHOME -LiteralPath $PSHOME
```

```Output
Get-ChildItem: Parameter set cannot be resolved using the specified named parameters. One or more parameters issued cannot be used together or an insufficient number of parameters were provided.
Get-ChildItem: Parameter set cannot be resolved using the specified named
parameters. One or more parameters issued cannot be used together or an
insufficient number of parameters were provided.
```

The **Path** and **LiteralPath** parameters are unique to different parameter
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ C:\temp\test\test.ps1 3 3 79
C:\temp\test\test[1].txt 31 562 2059
```

### Using multiple parameters sets
### Error using parameters from multiple sets

In this example, unique parameters from different parameter sets are used.

Expand All @@ -209,7 +209,9 @@ Get-ChildItem -Path $PSHOME -LiteralPath $PSHOME
```

```Output
Get-ChildItem: Parameter set cannot be resolved using the specified named parameters. One or more parameters issued cannot be used together or an insufficient number of parameters were provided.
Get-ChildItem: Parameter set cannot be resolved using the specified named
parameters. One or more parameters issued cannot be used together or an
insufficient number of parameters were provided.
```

The **Path** and **LiteralPath** parameters are unique to different parameter
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ C:\temp\test\test.ps1 3 3 79
C:\temp\test\test[1].txt 31 562 2059
```

### Using multiple parameters sets
### Error using parameters from multiple sets

In this example, unique parameters from different parameter sets are used.

Expand All @@ -210,7 +210,9 @@ Get-ChildItem -Path $PSHOME -LiteralPath $PSHOME
```

```Output
Get-ChildItem: Parameter set cannot be resolved using the specified named parameters. One or more parameters issued cannot be used together or an insufficient number of parameters were provided.
Get-ChildItem: Parameter set cannot be resolved using the specified named
parameters. One or more parameters issued cannot be used together or an
insufficient number of parameters were provided.
```

The **Path** and **LiteralPath** parameters are unique to different parameter
Expand Down

0 comments on commit c3f432e

Please sign in to comment.