The -Quiet parameter for Save-PSResource lost the [Parameter] attribute that allows PowerShell to recognize it as a parameter for the cmdlet. This likely got dropped when resolving a merge conflict. This PR adds [Parameter] back in and adds a test that is meant to ensure parameter binding for -Quiet always works for the cmdlet (ie. it does not test functionality of -Quiet).
If the PR is work in progress, please add the prefix WIP: or [ WIP ] to the beginning of the title (the WIP bot will keep its status check at Pending while the prefix is present) and remove the prefix when the PR is ready.
PR Summary
The -Quiet parameter for Save-PSResource lost the [Parameter] attribute that allows PowerShell to recognize it as a parameter for the cmdlet. This likely got dropped when resolving a merge conflict. This PR adds [Parameter] back in and adds a test that is meant to ensure parameter binding for -Quiet always works for the cmdlet (ie. it does not test functionality of -Quiet).
PR Context
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.