| ClientLoadableCLSID# | string | read/write | Class identifier that WMI uses to determine whether or not to load a high performance provider into the client process or the WMI process. If both the provider and client are located on the same computer, WMI loads the provider in-process to the client by using ClientLoadableCLSID as the class identifier. When the provider and client are located on different computers, WMI loads the provider in-process to WMI. WMI also uses ClientLoadableCLSID to support refresh operations. For more information, see Registering a High-Performance Provider. Code# Value of ClientLoadableCLSID for each instance
$cimParameters = @{
ClassName = '__Win32Provider'
Namespace = 'root'
Property = @('Name', 'ClientLoadableCLSID')
}
Get-CimInstance @cimParameters |
Select-Object -Property Name, ClientLoadableCLSID
Warning. Changes the system: check with -WhatIf first. An elevated console is often required. # Warning: changes ClientLoadableCLSID on the instance. -WhatIf shows the operation without running it.
# Target instance
$instanceParameters = @{
ClassName = '__Win32Provider'
Namespace = 'root'
Filter = "Name = 'Example'"
}
$instance = Get-CimInstance @instanceParameters
$setParameters = @{
InputObject = $instance
Property = @{ ClientLoadableCLSID = 'Example' }
WhatIf = $true # Remove this line to actually apply the change
}
Set-CimInstance @setParameters
|
| CLSID# | string | read/write | GUID that represents the class identifier (CLSID) of the provider COM object. This COM object must contain an implementation of the IWbemProviderInit interface. Code# Value of CLSID for each instance
$cimParameters = @{
ClassName = '__Win32Provider'
Namespace = 'root'
Property = @('Name', 'CLSID')
}
Get-CimInstance @cimParameters |
Select-Object -Property Name, CLSID
Warning. Changes the system: check with -WhatIf first. An elevated console is often required. # Warning: changes CLSID on the instance. -WhatIf shows the operation without running it.
# Target instance
$instanceParameters = @{
ClassName = '__Win32Provider'
Namespace = 'root'
Filter = "Name = 'Example'"
}
$instance = Get-CimInstance @instanceParameters
$setParameters = @{
InputObject = $instance
Property = @{ CLSID = 'Example' }
WhatIf = $true # Remove this line to actually apply the change
}
Set-CimInstance @setParameters
|
| Concurrency# | sint32 | read/write | Code# Value of Concurrency for each instance
$cimParameters = @{
ClassName = '__Win32Provider'
Namespace = 'root'
Property = @('Name', 'Concurrency')
}
Get-CimInstance @cimParameters |
Select-Object -Property Name, Concurrency
Warning. Changes the system: check with -WhatIf first. An elevated console is often required. # Warning: changes Concurrency on the instance. -WhatIf shows the operation without running it.
# Target instance
$instanceParameters = @{
ClassName = '__Win32Provider'
Namespace = 'root'
Filter = "Name = 'Example'"
}
$instance = Get-CimInstance @instanceParameters
$setParameters = @{
InputObject = $instance
Property = @{ Concurrency = 0 }
WhatIf = $true # Remove this line to actually apply the change
}
Set-CimInstance @setParameters
|
| DefaultMachineName# | string | read/write | Identifies the computer on which to start the provider. If the provider runs on the local computer it is NULL. Code# Value of DefaultMachineName for each instance
$cimParameters = @{
ClassName = '__Win32Provider'
Namespace = 'root'
Property = @('Name', 'DefaultMachineName')
}
Get-CimInstance @cimParameters |
Select-Object -Property Name, DefaultMachineName
Warning. Changes the system: check with -WhatIf first. An elevated console is often required. # Warning: changes DefaultMachineName on the instance. -WhatIf shows the operation without running it.
# Target instance
$instanceParameters = @{
ClassName = '__Win32Provider'
Namespace = 'root'
Filter = "Name = 'Example'"
}
$instance = Get-CimInstance @instanceParameters
$setParameters = @{
InputObject = $instance
Property = @{ DefaultMachineName = 'Example' }
WhatIf = $true # Remove this line to actually apply the change
}
Set-CimInstance @setParameters
|
| Enabled# | boolean | read/write | If TRUE, this instance is enabled and can be used to complete client requests. Code# Value of Enabled for each instance
$cimParameters = @{
ClassName = '__Win32Provider'
Namespace = 'root'
Property = @('Name', 'Enabled')
}
Get-CimInstance @cimParameters |
Select-Object -Property Name, Enabled
Warning. Changes the system: check with -WhatIf first. An elevated console is often required. # Warning: changes Enabled on the instance. -WhatIf shows the operation without running it.
# Target instance
$instanceParameters = @{
ClassName = '__Win32Provider'
Namespace = 'root'
Filter = "Name = 'Example'"
}
$instance = Get-CimInstance @instanceParameters
$setParameters = @{
InputObject = $instance
Property = @{ Enabled = $false }
WhatIf = $true # Remove this line to actually apply the change
}
Set-CimInstance @setParameters
|
| HostingModel# | string | read/write | This property is composed of values from the MSFT_Providers HostingGroup and HostingSpecification properties. The value of this property specifies how WMI loads the provider and the security account it runs under. For more information about setting the HostingModel property, see Provider Hosting and Security and Registering a Provider. Code# Value of HostingModel for each instance
$cimParameters = @{
ClassName = '__Win32Provider'
Namespace = 'root'
Property = @('Name', 'HostingModel')
}
Get-CimInstance @cimParameters |
Select-Object -Property Name, HostingModel
Warning. Changes the system: check with -WhatIf first. An elevated console is often required. # Warning: changes HostingModel on the instance. -WhatIf shows the operation without running it.
# Target instance
$instanceParameters = @{
ClassName = '__Win32Provider'
Namespace = 'root'
Filter = "Name = 'Example'"
}
$instance = Get-CimInstance @instanceParameters
$setParameters = @{
InputObject = $instance
Property = @{ HostingModel = 'Example' }
WhatIf = $true # Remove this line to actually apply the change
}
Set-CimInstance @setParameters
|
| ImpersonationLevel# | sint32 | read/write | Reserved. The default value is zero (0). Code# Value of ImpersonationLevel for each instance
$cimParameters = @{
ClassName = '__Win32Provider'
Namespace = 'root'
Property = @('Name', 'ImpersonationLevel')
}
Get-CimInstance @cimParameters |
Select-Object -Property Name, ImpersonationLevel
Warning. Changes the system: check with -WhatIf first. An elevated console is often required. # Warning: changes ImpersonationLevel on the instance. -WhatIf shows the operation without running it.
# Target instance
$instanceParameters = @{
ClassName = '__Win32Provider'
Namespace = 'root'
Filter = "Name = 'Example'"
}
$instance = Get-CimInstance @instanceParameters
$setParameters = @{
InputObject = $instance
Property = @{ ImpersonationLevel = 0 }
WhatIf = $true # Remove this line to actually apply the change
}
Set-CimInstance @setParameters
|
| InitializationReentrancy# | sint32 | read/write | Set of flags that provide information about serialization. The default value is zero (0). 0 All initialization of this provider must be serialized. 1 All initializations of this provider in the same namespace must be serialized. 2 No initialization serialization is necessary. Code# Value of InitializationReentrancy for each instance
$cimParameters = @{
ClassName = '__Win32Provider'
Namespace = 'root'
Property = @('Name', 'InitializationReentrancy')
}
Get-CimInstance @cimParameters |
Select-Object -Property Name, InitializationReentrancy
Warning. Changes the system: check with -WhatIf first. An elevated console is often required. # Warning: changes InitializationReentrancy on the instance. -WhatIf shows the operation without running it.
# Target instance
$instanceParameters = @{
ClassName = '__Win32Provider'
Namespace = 'root'
Filter = "Name = 'Example'"
}
$instance = Get-CimInstance @instanceParameters
$setParameters = @{
InputObject = $instance
Property = @{ InitializationReentrancy = 0 }
WhatIf = $true # Remove this line to actually apply the change
}
Set-CimInstance @setParameters
|
| InitializationTimeoutInterval# | datetime | read/write | Code# Value of InitializationTimeoutInterval for each instance
# CIM cmdlets already return a DateTime object: no conversion is needed
$cimParameters = @{
ClassName = '__Win32Provider'
Namespace = 'root'
Property = @('Name', 'InitializationTimeoutInterval')
}
Get-CimInstance @cimParameters |
Select-Object -Property Name, InitializationTimeoutInterval
Warning. Changes the system: check with -WhatIf first. An elevated console is often required. # Warning: changes InitializationTimeoutInterval on the instance. -WhatIf shows the operation without running it.
# Target instance
$instanceParameters = @{
ClassName = '__Win32Provider'
Namespace = 'root'
Filter = "Name = 'Example'"
}
$instance = Get-CimInstance @instanceParameters
$setParameters = @{
InputObject = $instance
Property = @{ InitializationTimeoutInterval = (Get-Date) }
WhatIf = $true # Remove this line to actually apply the change
}
Set-CimInstance @setParameters
|
| InitializeAsAdminFirst# | boolean | read/write | Code# Value of InitializeAsAdminFirst for each instance
$cimParameters = @{
ClassName = '__Win32Provider'
Namespace = 'root'
Property = @('Name', 'InitializeAsAdminFirst')
}
Get-CimInstance @cimParameters |
Select-Object -Property Name, InitializeAsAdminFirst
Warning. Changes the system: check with -WhatIf first. An elevated console is often required. # Warning: changes InitializeAsAdminFirst on the instance. -WhatIf shows the operation without running it.
# Target instance
$instanceParameters = @{
ClassName = '__Win32Provider'
Namespace = 'root'
Filter = "Name = 'Example'"
}
$instance = Get-CimInstance @instanceParameters
$setParameters = @{
InputObject = $instance
Property = @{ InitializeAsAdminFirst = $false }
WhatIf = $true # Remove this line to actually apply the change
}
Set-CimInstance @setParameters
|
| Name# key | string | read/write | Code# Value of Name for each instance
$cimParameters = @{
ClassName = '__Win32Provider'
Namespace = 'root'
Property = 'Name'
}
Get-CimInstance @cimParameters |
Select-Object -Property Name
Warning. Changes the system: check with -WhatIf first. An elevated console is often required. # Warning: changes Name on the instance. -WhatIf shows the operation without running it.
# Target instance
$instanceParameters = @{
ClassName = '__Win32Provider'
Namespace = 'root'
Filter = "Name = 'Example'"
}
$instance = Get-CimInstance @instanceParameters
$setParameters = @{
InputObject = $instance
Property = @{ Name = 'Example' }
WhatIf = $true # Remove this line to actually apply the change
}
Set-CimInstance @setParameters
|
| OperationTimeoutInterval# | datetime | read/write | Code# Value of OperationTimeoutInterval for each instance
# CIM cmdlets already return a DateTime object: no conversion is needed
$cimParameters = @{
ClassName = '__Win32Provider'
Namespace = 'root'
Property = @('Name', 'OperationTimeoutInterval')
}
Get-CimInstance @cimParameters |
Select-Object -Property Name, OperationTimeoutInterval
Warning. Changes the system: check with -WhatIf first. An elevated console is often required. # Warning: changes OperationTimeoutInterval on the instance. -WhatIf shows the operation without running it.
# Target instance
$instanceParameters = @{
ClassName = '__Win32Provider'
Namespace = 'root'
Filter = "Name = 'Example'"
}
$instance = Get-CimInstance @instanceParameters
$setParameters = @{
InputObject = $instance
Property = @{ OperationTimeoutInterval = (Get-Date) }
WhatIf = $true # Remove this line to actually apply the change
}
Set-CimInstance @setParameters
|
| PerLocaleInitialization# | boolean | read/write | If TRUE, the provider is initialized for each locale when a user connects to the same namespace more than one time using different locales. The default value is FALSE. Code# Value of PerLocaleInitialization for each instance
$cimParameters = @{
ClassName = '__Win32Provider'
Namespace = 'root'
Property = @('Name', 'PerLocaleInitialization')
}
Get-CimInstance @cimParameters |
Select-Object -Property Name, PerLocaleInitialization
Warning. Changes the system: check with -WhatIf first. An elevated console is often required. # Warning: changes PerLocaleInitialization on the instance. -WhatIf shows the operation without running it.
# Target instance
$instanceParameters = @{
ClassName = '__Win32Provider'
Namespace = 'root'
Filter = "Name = 'Example'"
}
$instance = Get-CimInstance @instanceParameters
$setParameters = @{
InputObject = $instance
Property = @{ PerLocaleInitialization = $false }
WhatIf = $true # Remove this line to actually apply the change
}
Set-CimInstance @setParameters
|
| PerUserInitialization# | boolean | read/write | If TRUE, the provider is initialized one time for each NT LAN Manager (NTLM) user that makes requests to the provider. If FALSE (default), the provider is initialized one time for all users. Code# Value of PerUserInitialization for each instance
$cimParameters = @{
ClassName = '__Win32Provider'
Namespace = 'root'
Property = @('Name', 'PerUserInitialization')
}
Get-CimInstance @cimParameters |
Select-Object -Property Name, PerUserInitialization
Warning. Changes the system: check with -WhatIf first. An elevated console is often required. # Warning: changes PerUserInitialization on the instance. -WhatIf shows the operation without running it.
# Target instance
$instanceParameters = @{
ClassName = '__Win32Provider'
Namespace = 'root'
Filter = "Name = 'Example'"
}
$instance = Get-CimInstance @instanceParameters
$setParameters = @{
InputObject = $instance
Property = @{ PerUserInitialization = $false }
WhatIf = $true # Remove this line to actually apply the change
}
Set-CimInstance @setParameters
|
| Pure# | boolean | read/write | If TRUE, the provider agrees to prepare to unload by calling IUnknown::Release on all outstanding interface points when WMI calls the Release method of its primary interface. Providers that must remain clients of WMI after they do not function as providers should set Pure to FALSE. The default setting is TRUE. For more information, see the Remarks section of this topic. Code# Value of Pure for each instance
$cimParameters = @{
ClassName = '__Win32Provider'
Namespace = 'root'
Property = @('Name', 'Pure')
}
Get-CimInstance @cimParameters |
Select-Object -Property Name, Pure
Warning. Changes the system: check with -WhatIf first. An elevated console is often required. # Warning: changes Pure on the instance. -WhatIf shows the operation without running it.
# Target instance
$instanceParameters = @{
ClassName = '__Win32Provider'
Namespace = 'root'
Filter = "Name = 'Example'"
}
$instance = Get-CimInstance @instanceParameters
$setParameters = @{
InputObject = $instance
Property = @{ Pure = $false }
WhatIf = $true # Remove this line to actually apply the change
}
Set-CimInstance @setParameters
|
| SecurityDescriptor# | string | read/write | Security descriptor (SD) in the Security Descriptor Definition Language (SDDL) that determines the set of users that can successfully call IWbemDecoupledRegistrar:Register for the decoupled provider. For more information, see the Security Descriptor Definition Language topic in the Security section of the Windows SDK. This security descriptor is used only for decoupled providers, and does not affect other providers. For more information, see Incorporating a Provider in an Application. WMI performs access checks for decoupled providers that use the IWbemProviderInit and IWbemObjectSink interfaces. If the security descriptor is NULL, then only applications or services that run under the LocalSystem, NetworkService, LocalService accounts can run a decoupled provider. The following string shows a decoupled provider to be run only by built-in Administrators."O:BAG:BAD:(A;;0x1;;;BA)" For more information about setting the SecurityDescriptor property, see Maintaining WMI Security. Code# Value of SecurityDescriptor for each instance
$cimParameters = @{
ClassName = '__Win32Provider'
Namespace = 'root'
Property = @('Name', 'SecurityDescriptor')
}
Get-CimInstance @cimParameters |
Select-Object -Property Name, SecurityDescriptor
Warning. Changes the system: check with -WhatIf first. An elevated console is often required. # Warning: changes SecurityDescriptor on the instance. -WhatIf shows the operation without running it.
# Target instance
$instanceParameters = @{
ClassName = '__Win32Provider'
Namespace = 'root'
Filter = "Name = 'Example'"
}
$instance = Get-CimInstance @instanceParameters
$setParameters = @{
InputObject = $instance
Property = @{ SecurityDescriptor = 'Example' }
WhatIf = $true # Remove this line to actually apply the change
}
Set-CimInstance @setParameters
|
| SupportsExplicitShutdown# | boolean | read/write | Code# Value of SupportsExplicitShutdown for each instance
$cimParameters = @{
ClassName = '__Win32Provider'
Namespace = 'root'
Property = @('Name', 'SupportsExplicitShutdown')
}
Get-CimInstance @cimParameters |
Select-Object -Property Name, SupportsExplicitShutdown
Warning. Changes the system: check with -WhatIf first. An elevated console is often required. # Warning: changes SupportsExplicitShutdown on the instance. -WhatIf shows the operation without running it.
# Target instance
$instanceParameters = @{
ClassName = '__Win32Provider'
Namespace = 'root'
Filter = "Name = 'Example'"
}
$instance = Get-CimInstance @instanceParameters
$setParameters = @{
InputObject = $instance
Property = @{ SupportsExplicitShutdown = $false }
WhatIf = $true # Remove this line to actually apply the change
}
Set-CimInstance @setParameters
|
| SupportsExtendedStatus# | boolean | read/write | Code# Value of SupportsExtendedStatus for each instance
$cimParameters = @{
ClassName = '__Win32Provider'
Namespace = 'root'
Property = @('Name', 'SupportsExtendedStatus')
}
Get-CimInstance @cimParameters |
Select-Object -Property Name, SupportsExtendedStatus
Warning. Changes the system: check with -WhatIf first. An elevated console is often required. # Warning: changes SupportsExtendedStatus on the instance. -WhatIf shows the operation without running it.
# Target instance
$instanceParameters = @{
ClassName = '__Win32Provider'
Namespace = 'root'
Filter = "Name = 'Example'"
}
$instance = Get-CimInstance @instanceParameters
$setParameters = @{
InputObject = $instance
Property = @{ SupportsExtendedStatus = $false }
WhatIf = $true # Remove this line to actually apply the change
}
Set-CimInstance @setParameters
|
| SupportsQuotas# | boolean | read/write | Code# Value of SupportsQuotas for each instance
$cimParameters = @{
ClassName = '__Win32Provider'
Namespace = 'root'
Property = @('Name', 'SupportsQuotas')
}
Get-CimInstance @cimParameters |
Select-Object -Property Name, SupportsQuotas
Warning. Changes the system: check with -WhatIf first. An elevated console is often required. # Warning: changes SupportsQuotas on the instance. -WhatIf shows the operation without running it.
# Target instance
$instanceParameters = @{
ClassName = '__Win32Provider'
Namespace = 'root'
Filter = "Name = 'Example'"
}
$instance = Get-CimInstance @instanceParameters
$setParameters = @{
InputObject = $instance
Property = @{ SupportsQuotas = $false }
WhatIf = $true # Remove this line to actually apply the change
}
Set-CimInstance @setParameters
|
| SupportsSendStatus# | boolean | read/write | Code# Value of SupportsSendStatus for each instance
$cimParameters = @{
ClassName = '__Win32Provider'
Namespace = 'root'
Property = @('Name', 'SupportsSendStatus')
}
Get-CimInstance @cimParameters |
Select-Object -Property Name, SupportsSendStatus
Warning. Changes the system: check with -WhatIf first. An elevated console is often required. # Warning: changes SupportsSendStatus on the instance. -WhatIf shows the operation without running it.
# Target instance
$instanceParameters = @{
ClassName = '__Win32Provider'
Namespace = 'root'
Filter = "Name = 'Example'"
}
$instance = Get-CimInstance @instanceParameters
$setParameters = @{
InputObject = $instance
Property = @{ SupportsSendStatus = $false }
WhatIf = $true # Remove this line to actually apply the change
}
Set-CimInstance @setParameters
|
| SupportsShutdown# | boolean | read/write | Code# Value of SupportsShutdown for each instance
$cimParameters = @{
ClassName = '__Win32Provider'
Namespace = 'root'
Property = @('Name', 'SupportsShutdown')
}
Get-CimInstance @cimParameters |
Select-Object -Property Name, SupportsShutdown
Warning. Changes the system: check with -WhatIf first. An elevated console is often required. # Warning: changes SupportsShutdown on the instance. -WhatIf shows the operation without running it.
# Target instance
$instanceParameters = @{
ClassName = '__Win32Provider'
Namespace = 'root'
Filter = "Name = 'Example'"
}
$instance = Get-CimInstance @instanceParameters
$setParameters = @{
InputObject = $instance
Property = @{ SupportsShutdown = $false }
WhatIf = $true # Remove this line to actually apply the change
}
Set-CimInstance @setParameters
|
| SupportsThrottling# | boolean | read/write | Code# Value of SupportsThrottling for each instance
$cimParameters = @{
ClassName = '__Win32Provider'
Namespace = 'root'
Property = @('Name', 'SupportsThrottling')
}
Get-CimInstance @cimParameters |
Select-Object -Property Name, SupportsThrottling
Warning. Changes the system: check with -WhatIf first. An elevated console is often required. # Warning: changes SupportsThrottling on the instance. -WhatIf shows the operation without running it.
# Target instance
$instanceParameters = @{
ClassName = '__Win32Provider'
Namespace = 'root'
Filter = "Name = 'Example'"
}
$instance = Get-CimInstance @instanceParameters
$setParameters = @{
InputObject = $instance
Property = @{ SupportsThrottling = $false }
WhatIf = $true # Remove this line to actually apply the change
}
Set-CimInstance @setParameters
|
| UnloadTimeout# | datetime | read/write | Date and Time Format that specifies how long WMI allows the provider to remain idle before it is unloaded. Typically, providers request that WMI wait no longer than five minutes. For the current version of WMI, the value of this property is ignored. WMI unloads the provider based on the time-out value in an internal class in the \root namespace. It is recommended that providers set UnloadTimeout. For more information, see Unloading a Provider. Code# Value of UnloadTimeout for each instance
# CIM cmdlets already return a DateTime object: no conversion is needed
$cimParameters = @{
ClassName = '__Win32Provider'
Namespace = 'root'
Property = @('Name', 'UnloadTimeout')
}
Get-CimInstance @cimParameters |
Select-Object -Property Name, UnloadTimeout
Warning. Changes the system: check with -WhatIf first. An elevated console is often required. # Warning: changes UnloadTimeout on the instance. -WhatIf shows the operation without running it.
# Target instance
$instanceParameters = @{
ClassName = '__Win32Provider'
Namespace = 'root'
Filter = "Name = 'Example'"
}
$instance = Get-CimInstance @instanceParameters
$setParameters = @{
InputObject = $instance
Property = @{ UnloadTimeout = (Get-Date) }
WhatIf = $true # Remove this line to actually apply the change
}
Set-CimInstance @setParameters
|
| Version# | uint32 | read/write | Version of the provider. The supported versions are 1 and 2. Version 2 strengthens validity checks for all associated property registrations, specifically the ImpersonationLevel property. Code# Value of Version for each instance
$cimParameters = @{
ClassName = '__Win32Provider'
Namespace = 'root'
Property = @('Name', 'Version')
}
Get-CimInstance @cimParameters |
Select-Object -Property Name, Version
Warning. Changes the system: check with -WhatIf first. An elevated console is often required. # Warning: changes Version on the instance. -WhatIf shows the operation without running it.
# Target instance
$instanceParameters = @{
ClassName = '__Win32Provider'
Namespace = 'root'
Filter = "Name = 'Example'"
}
$instance = Get-CimInstance @instanceParameters
$setParameters = @{
InputObject = $instance
Property = @{ Version = 0 }
WhatIf = $true # Remove this line to actually apply the change
}
Set-CimInstance @setParameters
|