Powershell: Get-HotFix doesn't take ComputerName via Pipeline

Created on 27 Aug 2018  路  6Comments  路  Source: PowerShell/PowerShell

Even though this cmdlet is not available in corecli now, observed a problem in it, -ComputerName parameter accepts value from pipeline by property name as per the definition, but there is no ProcessRecord() method, iterating through collection is handled via a foreach statement in BeginProcessing() method.

image

Area-Cmdlets-Management Issue-Enhancement Resolution-Fixed

Most helpful comment

I could actually see us trying to produce a cross-platform version of this cmdlet.

All 6 comments

This is not a valid PowerShell Core cmdlet. Please must file the Windows PowerShell issue in Uservoice at:
https://windowsserver.uservoice.com/forums/301869-powershell

:)

@SteveL-MSFT Have we plans to port Get-HotFix cmdlet or enable it for Windows only?

I could actually see us trying to produce a cross-platform version of this cmdlet.

Experience with Get-ComputerInfo shows that it is not so easy considering the difference between platforms.

We have #2296 tracking issue for Get-HotFix

@kvprasoon We return the cmdlet to PowerShell Core. If you want you can fix the issue.

I decided I could tackle this, but found out #10852 fixed this issue and is merged. Can we close this issue and remove the label "Up for Grabs"?

Was this page helpful?
0 / 5 - 0 ratings