Skip to content

Take ComputerName via Pipeline in Get-HotFix - #10852

Merged
Ilya (iSazonov) merged 9 commits into
PowerShell:masterfrom
kvprasoon:ghfxcname
Nov 1, 2019
Merged

Ilya (iSazonov) merged 9 commits into
PowerShell:masterfrom
kvprasoon:ghfxcname

Conversation

@kvprasoon

@kvprasoon PRASOON KARUNAN V (kvprasoon) commented Oct 20, 2019 •

Copy link
Copy Markdown
Contributor

Get-HotFix support accepting -ComputerName via pipeline but when used it doesn't consider computers other than localhost.

PR Context

PR Checklist

@kvprasoon

Copy link
Copy Markdown
Contributor Author

Pester tests has to be added, but would like to get comments on the code changes before that.

@iSazonov Ilya (iSazonov) added the CL-General Indicates that a PR should be marked as a general cmdlet change in the Change Log label Oct 20, 2019
@iSazonov Ilya (iSazonov) added this to the 7.0.0-preview.5 milestone Oct 20, 2019
@iSazonov

Copy link
Copy Markdown
Collaborator

Please look CodeFactor issues and add tests.

@kvprasoon

Copy link
Copy Markdown
Contributor Author

Ilya (@iSazonov) sure, but I don't know hot fix the 3rd finding in code factor (Complex Method)

@iSazonov

Copy link
Copy Markdown
Collaborator

PRASOON KARUNAN V (@kvprasoon) Please ignore Complex Method.

@kvprasoon PRASOON KARUNAN V (kvprasoon) changed the title WIP: Get-HotFix to take ComputerName via Pipeline Get-HotFix to take ComputerName via Pipeline Oct 22, 2019
@iSazonov

Copy link
Copy Markdown
Collaborator

Steve Lee (@SteveL-MSFT) Could you please review?

Also we need new Help FWLink for the cmdlet /cc Sean Wheeler (@sdwheeler)

@iSazonov Ilya (iSazonov) self-assigned this Oct 30, 2019
@sdwheeler

Sean Wheeler (sdwheeler) commented Oct 30, 2019 •

Copy link
Copy Markdown
Contributor

Steve Lee (@SteveL-MSFT) New FWLink for Get-Hotfix https://go.microsoft.com/fwlink/?linkid=2109716

The Get-Hotfix cmdlet gets hotfixes, or updates, that are installed on the local computer or specified remote computers. The updates can be installed by Windows Update, Microsoft Update, Windows Server Update Services, or manually installed.

@SteveL-MSFT Steve Lee (SteveL-MSFT) left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PRASOON KARUNAN V (@kvprasoon) can you update the fwlink? You'll also need to update a test csv file

@ghost ghost added the Waiting on Author The PR was reviewed and requires changes or comments from the author before being accept label Oct 30, 2019
@iSazonov

Copy link
Copy Markdown
Collaborator

It is V2Cmdlets.csv file.

@ghost ghost removed the Waiting on Author The PR was reviewed and requires changes or comments from the author before being accept label Oct 31, 2019
@kvprasoon

Copy link
Copy Markdown
Contributor Author

Steve Lee (@SteveL-MSFT) I've updated the FWLink.

Ilya (@iSazonov) Thanks for letting me know the filename.

@iSazonov
Ilya (iSazonov) merged commit 5a76137 into PowerShell:master Nov 1, 2019
@iSazonov Ilya (iSazonov) changed the title Get-HotFix to take ComputerName via Pipeline Take ComputerName via Pipeline in Get-HotFix Nov 1, 2019
@iSazonov

Copy link
Copy Markdown
Collaborator

PRASOON KARUNAN V (@kvprasoon) Thanks for your contribution!

@ghost

Copy link
Copy Markdown

🎉v7.0.0-preview.6 has been released which incorporates this pull request.:tada:

Handy links:

Thatgfsj (Thatgfsj) pushed a commit to Thatgfsj-contribs/PowerShell that referenced this pull request Aug 6, 2026
* add process record for Get-hotfix
* update new FWLink
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CL-General Indicates that a PR should be marked as a general cmdlet change in the Change Log

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants