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