Update powershell example using Out-File.#276
Closed
ehuss wants to merge 1 commit intogithub:mainfrom
Closed
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. |
Contributor
|
@ehuss Thanks for the pull request! I'll let @github/docs-content-ecosystem know it's ready for review 👍 |
Contributor
|
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. |
Contributor
|
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! ✨ |
This was referenced Mar 10, 2021
This was referenced Mar 16, 2021
This was referenced Apr 2, 2021
This was referenced Apr 9, 2021
This was referenced Apr 20, 2021
This was referenced Apr 27, 2021
This was referenced Jun 14, 2021
This was referenced Jul 5, 2021
jnidzwetzki
pushed a commit
to jnidzwetzki/docs
that referenced
this pull request
Oct 6, 2022
* 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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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: