CIM should be used for PowerShell7+
#When using WMI commandlets
Set-WMIObject -Namespace -Classname
#When using CIM commandlets
Get-CimInstance -Namespace -Class
wmic process where "name='<proc_name>'" get parentprocessid,commandline,executablepath /format:list
wmic service get name,processid,pathname,state,installdate /format:list
wmic computersystem get name
wmic startup get /format:list
Thanks: