• 0 Posts
  • 6 Comments
Joined 10 months ago
cake
Cake day: March 21st, 2024

help-circle
  • There is still not a neat replacement for wmic in PowerShell. If I want to do the equivalent of wmic product where name="some shitware" call uninstall it looks like this:

    $instance = Get-CimInstance win32_process -Filter "Name = 'powershell_ise.exe'" $instance | Invoke-CimMethod -MethodName 'Terminate'

    Like how the hell is that easier to understand Microsoft? Everything else in PowerShell follows a general pattern of Upper Camelcase.

    That’s just one instance of what I’ve found working with pwsh at work that leaves me thinking wtf



  • Enshittification truly is a shame, because my old school GPS actually does this already (Turn left past the McDonald’s) and while I have no idea whether it’s paid promotion or not on my device, I like that feature. If that feature is equally applied to any known business as a landmark (heck, even other services like police stations, fire stations, etc.) it would be appreciated by users.

    Instead, and here we are beating this drum again, capitalism gets its grubby fingers in this pie too and uses it for further advertising, turning a good feature into a bad one.