Get-HotFix Id parameter should accept wildcard characters
Votes from Connect: 15
Original Date Submitted: 7/15/2012 7:48:53 PM
Handle: Shay Levi
Site Name: PowerShell
Feedback ID: 753770
Frequency: Always Happens
Regression: Yes, this happens in all previous versions
When you issue the Get-HotFix you can see that not all HotFixId's follow a naming convention. For example, on my system some starts with KBxxxxxx and some with numbers only (in some cases 5 digits and in others 6 digits).
That makes it very hard to search for specific hot fixes when all you know is a part of the Id.
That's why the Get-HoptFix -Id parameter should support wildcards. Without wildcard support we must filter using Where-Object (performance hit) or by resorting to WMI.
Product Studio item created by Connect Synchronizer due to creation of feedback ID 753770 (http://connect.microsoft.com/PowerShell/feedback/ViewFeedback.aspx?FeedbackID=753770).
Get-HotFix -Id *644 # fails
Output hot fixed that ends with 644
Internal BugId: 3711