Hi @Moisey Oysgelt ,
Get-WmiObject
isn't available in PowerShell 7. But you can try Get-CimInstance
instead.
PowerShell 5.x: Get-WmiObject win32_process
PowerShell 7.x: Get-CimInstance -ClassName Win32_Process
https://learn.microsoft.com/en-us/powershell/module/cimcmdlets/get-ciminstance?view=powershell-7.2
----------
(If the reply was helpful please don't forget to upvote and/or accept as answer, thank you)
Regards
Andreas Baumgarten