-
Notifications
You must be signed in to change notification settings - Fork 60.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update 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 👍 |
Thanks heaps for this PR, @ehuss! It looks like @thboop from the Actions team already fixed this in 4abcabb after a recent discussion in the community forum. |
If you haven't already @ehuss, you can add yourself to the list of contributors by creating a new comment in this PR using these instructions. Thanks again! ✨ |
* Add metadata for howto index (to L322) * Update to new format * remove old tags * remove unnecessary page components, format * add array to old metadata tag * fix titles, remove extra page components, add more descriptive titles to source pages * typo fix * typo fix * Add some more metadata * All the rest \o/ * remove mentions of mst * fix typo * change excerpts from arrays to strings * add excerpts * remove metaTags * add excerpts to overview section * add excerpts for tutorials * add link rules to read me * spacing * update entry * remove update search index for now Co-authored-by: loquacity <github@lanabrindley.com>
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
-Append
to the example for PowerShell usingOut-File
to avoid overwriting previous entries.Check off the following: