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. |
SteveL-MSFT
left a comment
There was a problem hiding this comment.
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
-PassThruparameter toSet-Clipboard.PR Context
Resolves #13711
PR Checklist
.h,.cpp,.cs,.ps1and.psm1files have the correct copyright headerWIP:or[ WIP ]to the beginning of the title (theWIPbot will keep its status check atPendingwhile the prefix is present) and remove the prefix when the PR is ready.