The WMI cmdlets have been superseded by the CIM cmdlets. The WMI cmdlets are not available in PowerShell Core, but the type accelerators are.
The WMI commands are as follows:
- Get-WmiObject
- Invoke-WmiMethod
- Register-WmiEvent
- Remove-WmiObject
- Set-WmiInstance
In addition to the commands, three type accelerators are available:
- [Wmi]: System.Management.ManagementObject
- [WmiClass]: System.Management.ManagementClass
- [WmiSearcher]: System.Management.ManagementObjectSearcher
Each of the WMI cmdlets uses the ComputerName parameter to aim the operation at another computer. The WMI cmdlets also support a credential parameter and other authentication options affecting the authentication method.
Both the Wmi and WmiClass type accelerators can be written to use a remote computer by including the computer name an example is as follows:
[Wmi]"\\RemoteComputer\root\cimv2...