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.
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"?
Most helpful comment
I could actually see us trying to produce a cross-platform version of this cmdlet.