WMIC: wmic service where "state='running'" get name,displayname → PowerShell
Removed in: See Microsoft documentation for your Windows version
Replacement: Use Get-CimInstance / Get-CimAssociatedInstance in PowerShell 5.1+
| WMIC | PowerShell |
|---|
| wmic service where "state='running'" get name,displayname | Get-CimInstance ... # TODO map for: wmic service where \"state='running'\" get name,displayname |
- Deprecated wmic.exe path—prefer PowerShell with comments and tests.