-
Notifications
You must be signed in to change notification settings - Fork 8.1k
Take ComputerName via Pipeline in Get-HotFix #10852
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
Conversation
|
Pester tests has to be added, but would like to get comments on the code changes before that. |
src/Microsoft.PowerShell.Commands.Management/commands/management/Hotfix.cs
Outdated
Show resolved
Hide resolved
src/Microsoft.PowerShell.Commands.Management/commands/management/Hotfix.cs
Outdated
Show resolved
Hide resolved
src/Microsoft.PowerShell.Commands.Management/commands/management/Hotfix.cs
Outdated
Show resolved
Hide resolved
src/Microsoft.PowerShell.Commands.Management/commands/management/Hotfix.cs
Outdated
Show resolved
Hide resolved
|
Please look CodeFactor issues and add tests. |
|
@iSazonov sure, but I don't know hot fix the 3rd finding in code factor ( |
|
@kvprasoon Please ignore |
test/powershell/Modules/Microsoft.PowerShell.Management/Get-HotFix.Tests.ps1
Outdated
Show resolved
Hide resolved
|
@SteveL-MSFT Could you please review? Also we need new Help FWLink for the cmdlet /cc @sdwheeler |
|
@SteveL-MSFT New FWLink for Get-Hotfix https://go.microsoft.com/fwlink/?linkid=2109716
|
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.
@kvprasoon can you update the fwlink? You'll also need to update a test csv file
|
It is V2Cmdlets.csv file. |
|
@SteveL-MSFT I've updated the FWLink. @iSazonov Thanks for letting me know the filename. |
|
@kvprasoon Thanks for your contribution! |
|
🎉 Handy links: |
Get-HotFix support accepting
-ComputerNamevia pipeline but when used it doesn't consider computers other than localhost.PR Context
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.