Skip to content

Commit b3887e5

Browse files
authored
Merge pull request #6982 from WilliamAntonRohm/issue-5678
visualstudio-docs/issues/5678 -- ExitCode member
2 parents 9c7a100 + 5350803 commit b3887e5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/install/command-line-parameter-examples.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,8 @@ For lists of the workloads and components that you can install by using the comm
6666
```
6767

6868
```powershell
69-
$exitCode = Start-Process -FilePath vs_enterprise.exe -ArgumentList "--installPath", "C:\VS", "--passive", "--wait" -Wait -PassThru
69+
$process = Start-Process -FilePath vs_enterprise.exe -ArgumentList "--installPath", "C:\VS", "--passive", "--wait" -Wait -PassThru
70+
Write-Output $process.ExitCode
7071
```
7172

7273
or

0 commit comments

Comments
 (0)