Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upUpdate powershell example using Out-File. #276
Conversation
The default for Out-File is to overwrite the file. This can cause confusion if you use the given example multiple times in the same step, as all previous entries will be lost. Use `-Append` to avoid this.
|
Thanks for opening this pull request! A GitHub docs team member should be by to give feedback soon. In the meantime, please check out the contributing guidelines. |
|
@ehuss Thanks for the pull request! I'll let @github/docs-content-ecosystem know it's ready for review |
Why:
The default for Out-File is to overwrite the file. This can cause confusion if you use the given example multiple times in the same step, as all previous entries will be lost.
What's being changed:
Add
-Appendto the example for PowerShell usingOut-Fileto avoid overwriting previous entries.Check off the following: