WMI
register-cimprovider
- C:\Windows\system32\Register-CimProvider.exe -help
Output:
Registers CIM Provider into system
Usage: Register-CimProvider.exe
-Namespace <NamespaceName>
-ProviderName <ProviderName>
-Path <ProviderDllPath>
[-ClassList <Space delimited list of white-listed classes>]
[-Impersonation <True or False>]
[-Decoupled <SDDL>]
[-HostingModel <HostingModel>]
[-Localize <locale>]
[-NoAutorecover]
[-SupportWQL]
[-GenerateUnregistration]
[-ForceUpdate]
[-Verbose]
-Namespace <NamespaceName>
Specifies the target namespace of the provider.
-ProviderName <ProviderName>
Specifies the provider name.
-Path <ProviderDllPath>
Specifies the provider binary path.
-Impersonation <True or False>
Specifies foldidentity of decoupled provider, by default is True.
-Decoupled <SDDL>
Registers provider as decoupled and specifies the security descriptor
that determines the set of users that can successfully register
the provider.
-HostingModel <HostingModel>
Specifies the HostingModel of coupled provider.
-Localize <locale>
Localizes the provider with resource of specified locale.
-NoAutorecover
Doesn't autorecover the provider.
-SupportWQL
Passes the query expression to the filter.
-GenerateUnregistration
Generate the uninstall mof for the registration,
which is disabled by default.
-ForceUpdate
Force update the class if it exists in the system.
-ClassList <ProviderDllPath>
Specifies space delimited list of white-listed classes that
will be generated in the mof.
-Verbose
Outputs registration log.
Return Code: 0
C:\Windows\system32\Register-CimProvider.exe
c:\>ver
Microsoft Windows [Version 10.0.19045.2075]
| File | Info |
|---|---|
| File Size | 30208bytes |
| Creation Time | 2019/12/07 18:07:56 |
| LastWrite Time | 2019/12/07 18:07:56 |
| ProductVersion | 10.0.19041.1 |
| FileVersion | 10.0.19041.1 (WinBuild.160101.0800) |
| Hash | Value |
|---|---|
| MD5 | f9f77eb472f58edebcfea7b51ffc6eea |
| SHA1 | 087b259400c4e523144a4a829610bf589bde125b |
| SHA224 | 12bf10199c846029f330b7465620e64f3abc47db731faec59ba9d318 |
| SHA256 | 5311c4b92bda7852580c8df50922f8328eb5a238012f10ded7b38dc3b9d00d8e |
| SHA384 | e3bbe473967d2ee8387aa90656f9ab4554aae5bf8ad9a3c81652c4c8015d2a96dca6e6ff3f25580051b0aeba0fa5dea2 |
| SHA512 | 0c6d1bdceea5fd5e7de2b47b4961e596e45fcb9237ee8b42cc9bbd93ab8f627ca919f3fca744b701bafb269e45c7bf4955268ca408926f10ad3df200495f7bfa |