Take ComputerName via Pipeline in Get-HotFix#10852
Take ComputerName via Pipeline in Get-HotFix#10852iSazonov merged 9 commits intoPowerShell:masterfrom
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
|
SteveL-MSFT
left a comment
There was a problem hiding this comment.
@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.