ResourceTest method of the MSFT_DSCLocalConfigurationManager class
Directly calls the Test method of a DSC resource.
uint32 ResourceTest( [in] string ResourceType, [in] string ModuleName, [in] uint8 resourceProperty, [out] boolean InDesiredState );
ResourceType [in] The name of the resource to call.
ModuleName [in] The name of the module that contains the resource to call.
resourceProperty [in] Specifies the resource property name and its value in a hash table as key and value, respectively. Use the Get-DscResource cmdlet to discover resource properties and their types.
InDesiredState [out] On return, this property is set to true if the target node is in the desired state.
Returns zero on success; otherwise returns an error code.
This is a static method.
We'd love to hear your thoughts. Choose the type you'd like to provide:
Our feedback system is built on GitHub Issues. Read more on our blog.