WMIC: wmic useraccount get name,sid,disabled → PowerShell
Removed in: See Microsoft documentation for your Windows version
Replacement: Use Get-CimInstance / Get-CimAssociatedInstance in PowerShell 5.1+
| WMIC | PowerShell |
|---|
| wmic useraccount get name,sid,disabled | Get-CimInstance ... # TODO map for: wmic useraccount get name,sid,disabled |
- Deprecated wmic.exe path—prefer PowerShell with comments and tests.