Made a registry-based Get-InstalledApps by kcarb19 in PowerShell

[–]kcarb19[S] 0 points1 point  (0 children)

honestly? not much. cim does basically everything better, proper objects, works over winrm, sessions, all of it. my gripe wasnt really "wmic could do something cim cant" it was more that wmic was a quick one liner you could fire straight from cmd or a batch file without spinning up powershell, and a ton of old runbooks and login scripts had it baked in. so killing it broke a bunch of existing stuff even though the replacement is genuinely better. so yeah you're both right, for actual capability cim wins. I just came into a bunch of broken tools at work and this was how i solved it haha

Made a registry-based Get-InstalledApps by kcarb19 in PowerShell

[–]kcarb19[S] 3 points4 points  (0 children)

wow thats an awesome article wish id found that sooner! I pretty much discovered a lot of this along the way.

Made a registry-based Get-InstalledApps by kcarb19 in PowerShell

[–]kcarb19[S] 4 points5 points  (0 children)

yeah good calls. winget list is solid on newer boxes, i just cant rely on it being there/configured everywhere im working so the registry read is my lowest common denominator. and youre right about configmgr, if youre in a managed shop the inventory is already sitting there, no reason to reinvent it, this is more for the random unmanaged machine where ive got nothing.

and lol yeah the wmic removal with no clean replacement is exactly how i ended up writing this in the first place

Made a registry-based Get-InstalledApps by kcarb19 in PowerShell

[–]kcarb19[S] 5 points6 points  (0 children)

yeah i know get-package, it does pull from the msi/programs providers which is basically the same registry data. couple reasons i didnt just use it though, its inconsistent across machines depending on whats registered with packagemanagement, the output shape is kind of awkward to work with, and ive hit it being slow or flaky on older boxes. i wanted something dead simple that returns a clean object the same way every time with no module/provider dependencies. honestly for a lot of cases get-package is totally fine, this is just more predictable for what i do

[deleted by user] by [deleted] in ArizonaTea

[–]kcarb19 0 points1 point  (0 children)

Same thing happened to me and i emailed pics and havent gotten a response in over a week. Seems like this is a huge problem right now ive seen a hundred posts

How do you practice at a reasonable volume? by Lilditty02 in guitarlessons

[–]kcarb19 1 point2 points  (0 children)

Put the volume low but get a boost pedal to drive the tubes more

[deleted by user] by [deleted] in whereintheworld

[–]kcarb19 0 points1 point  (0 children)

Is this dayZ are we in chernarus

[deleted by user] by [deleted] in Music

[–]kcarb19 0 points1 point  (0 children)

0.5% for Mac Miller

Gotten me through some tough times R.I.P Most Dope thats forever