-
Notifications
You must be signed in to change notification settings - Fork 7.6k
Add -PassThru
parameter to Set-Clipboard
#13713
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
Add -PassThru
parameter to Set-Clipboard
#13713
Conversation
@SteveL-MSFT any chance we could squeeze this one in 7.1 since its such a small change? 😄 |
test/powershell/Modules/Microsoft.PowerShell.Management/Clipboard.Tests.ps1
Outdated
Show resolved
Hide resolved
This pull request has been automatically marked as Review Needed because it has been there has not been any activity for 7 days. |
@PowerShell/powershell-committee discussed this and would like to understand a real world scenario usage of this to determine the right behavior or whether we even want to add this |
@PowerShell/powershell-committee discussed this again, we agreed that most users expect |
This pull request has been automatically marked as Review Needed because it has been there has not been any activity for 7 days. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think if a test case can be added for -Append
(or perhaps just make it a test case for the single and multiple objects tests, then I'm good with this PR.
6d937e9
to
67de7d0
Compare
I fixed the merge conflict and added |
67de7d0
to
a2b35f9
Compare
@SteveL-MSFT Ready to merge? |
Yes, this one is ready. @TravisEz13's concern was addressed, but I'll ask @TravisEz13 to merge since it's assigned to him |
-PassThru
parameter to Set-Clipboard
@ThomasNieto Thanks for you contribution! |
🎉 Handy links: |
🎉 Handy links: |
PR Summary
Adds a
-PassThru
parameter toSet-Clipboard
.PR Context
Resolves #13711
PR Checklist
.h
,.cpp
,.cs
,.ps1
and.psm1
files have the correct copyright headerWIP:
or[ WIP ]
to the beginning of the title (theWIP
bot will keep its status check atPending
while the prefix is present) and remove the prefix when the PR is ready.