MSFT_FileDirectoryConfiguration, ROOT\Microsoft\Windows\DesiredStateConfiguration
Class
| Methods (3)
| Properties (15)
| Qualifiers (5)
| Instances | Namespaces (2)
Samples: VB Script
| C#
| VB.Net
| Search on:Microsoft
Description The configuration provider for files and directories.
MSFT_FileDirectoryConfiguration methods MSFT_FileDirectoryConfiguration has 3 methods (3 Local )
MSFT_FileDirectoryConfiguration properties MSFT_FileDirectoryConfiguration has 15 properties (15 Local )
Detailed description of MSFT_FileDirectoryConfiguration methods Local methods (3) of MSFT_FileDirectoryConfiguration class ▲ GetTargetResource methodReturn uint32 {'out':True} Parameters Name CIMType ID IN OUT Qualifiers InputResource object :MSFT_FileDirectoryConfiguration 0 ✓ - {'Description':'Configuration document that is to be applied.','EmbeddedInstance':'MSFT_FileDirectoryConfiguration','In':True} Flags uint32 1 ✓ - {'Description':'Flags passed to the providers. Reserved for future use.','In':True} OutputResource object :MSFT_FileDirectoryConfiguration 2 - ✓ {'Description':'The current state of the specified configuration resources.','EmbeddedInstance':'MSFT_FileDirectoryConfiguration','Out':True}
Description 'Get resource states based on input configuration file.' implemented True static True GetTargetResource method is in 1 class (MSFT_FileDirectoryConfiguration) of ROOT\Microsoft\Windows\DesiredStateConfiguration and in 2 namespaces
▲ SetTargetResource methodReturn uint32 {'out':True} Parameters Name CIMType ID IN OUT Qualifiers InputResource object :MSFT_FileDirectoryConfiguration 0 ✓ - {'Description':'Configuration document that to be applied.','EmbeddedInstance':'MSFT_FileDirectoryConfiguration','In':True} ProviderContext uint64 1 ✓ - {'Description':'Context information that the provider can use to optimize the set from TestTargetResource, This is optional.','In':True} Flags uint32 2 ✓ - {'Description':'Flags passed to the providers. reserved for future use.','In':True}
Description 'Set resource states based on input configuration file.' implemented True static True SetTargetResource method is in 1 class (MSFT_FileDirectoryConfiguration) of ROOT\Microsoft\Windows\DesiredStateConfiguration and in 2 namespaces
▲ TestTargetResource methodReturn uint32 {'out':True} Parameters Name CIMType ID IN OUT Qualifiers InputResource object :MSFT_FileDirectoryConfiguration 0 ✓ - {'Description':'Configuration document that to be applied.','EmbeddedInstance':'MSFT_FileDirectoryConfiguration','In':True} Flags uint32 1 ✓ - {'Description':'Flags passed to the providers. reserved for future use.','In':True} Result boolean 2 - ✓ {'Description':'True if identical. False otherwise.','Out':True} ProviderContext uint64 3 - ✓ {'Description':'Context information that the provider can use to optimize the set, This is optional.','Out':True}
Description 'Test resource states based on input configuration file.' implemented True static True TestTargetResource method is in 1 class (MSFT_FileDirectoryConfiguration) of ROOT\Microsoft\Windows\DesiredStateConfiguration and in 2 namespaces
Detailed description of MSFT_FileDirectoryConfiguration properties Local properties (15) of MSFT_FileDirectoryConfiguration class ▲ Attributes propertyCIMTYPE 'string' Description 'Attributes for file / directory' ValueMap ['ReadOnly', 'Hidden', 'System', 'Archive', 'NotContentIndexed'] Values ['ReadOnly', 'Hidden', 'System', 'Archive', 'NotContentIndexed'] write True Attributes property is in 1 class (MSFT_FileDirectoryConfiguration) of ROOT\Microsoft\Windows\DesiredStateConfiguration and in 11 namespaces
▲ Checksum propertyCIMTYPE 'string' Description 'The checksum type to use when determining whether two files are the same.' ValueMap ['SHA-1', 'SHA-256', 'SHA-512', 'CreatedDate', 'ModifiedDate'] Values ['SHA-1', 'SHA-256', 'SHA-512', 'CreatedDate', 'ModifiedDate'] write True Checksum property is in 1 class (MSFT_FileDirectoryConfiguration) of ROOT\Microsoft\Windows\DesiredStateConfiguration and in 6 namespaces
▲ Contents propertyCIMTYPE 'string' Description 'Contains a string that represents the contents of the file. To create an empty file, the string must be empty. The contents will be written and compared using UTF-8 character encoding.' write True Contents property is in 1 class (MSFT_FileDirectoryConfiguration) of ROOT\Microsoft\Windows\DesiredStateConfiguration and in 2 namespaces
▲ CreatedDate propertyCIMTYPE 'datetime' Description 'Created date' read True CreatedDate property is in 1 class (MSFT_FileDirectoryConfiguration) of ROOT\Microsoft\Windows\DesiredStateConfiguration and in 2 namespaces
▲ DestinationPath propertyCIMTYPE 'string' Description 'File name and path on target node to copy or create.' key True DestinationPath property is in 1 class (MSFT_FileDirectoryConfiguration) of ROOT\Microsoft\Windows\DesiredStateConfiguration and in 4 namespaces
▲ Ensure propertyCIMTYPE 'string' Description 'Defines how to evaluate the existence of the destination file.' ValueMap ['Present', 'Absent'] Values ['Present', 'Absent'] write True Ensure property is in 1 class (MSFT_FileDirectoryConfiguration) of ROOT\Microsoft\Windows\DesiredStateConfiguration and in 2 namespaces
▲ Force propertyCIMTYPE 'boolean' Description 'Perform the file operation even if it will destroy content files or directories.' write True Force property is in 1 class (MSFT_FileDirectoryConfiguration) of ROOT\Microsoft\Windows\DesiredStateConfiguration and in 2 namespaces
▲ MatchSource propertyCIMTYPE 'boolean' Description 'Always compare the DestinationPath with the SourcePath. The default is false, meaning we will use cached information.' write True MatchSource property is in 1 class (MSFT_FileDirectoryConfiguration) of ROOT\Microsoft\Windows\DesiredStateConfiguration and in 2 namespaces
▲ ModifiedDate propertyCIMTYPE 'datetime' Description 'Modified date' read True ModifiedDate property is in 1 class (MSFT_FileDirectoryConfiguration) of ROOT\Microsoft\Windows\DesiredStateConfiguration and in 2 namespaces
▲ Recurse propertyCIMTYPE 'boolean' Description 'Recurse all child directories' write True Recurse property is in 1 class (MSFT_FileDirectoryConfiguration) of ROOT\Microsoft\Windows\DesiredStateConfiguration and in 2 namespaces
▲ Size propertyCIMTYPE 'uint64' Description 'Object size' read True Size property is in 1 class (MSFT_FileDirectoryConfiguration) of ROOT\Microsoft\Windows\DesiredStateConfiguration and in 16 namespaces
▲ SourcePath propertyCIMTYPE 'string' Description 'The name and path of the file to copy from.' write True SourcePath property is in 1 class (MSFT_FileDirectoryConfiguration) of ROOT\Microsoft\Windows\DesiredStateConfiguration and in 4 namespaces
▲ SubItems propertyCIMTYPE 'object:MSFT_FileDirectoryConfiguration' Description 'The sub-folders and files if this is a directory.' EmbeddedInstance 'MSFT_FileDirectoryConfiguration' read True SubItems property is in 1 class (MSFT_FileDirectoryConfiguration) of ROOT\Microsoft\Windows\DesiredStateConfiguration and in 2 namespaces
MSFT_FileDirectoryConfiguration Qualifiers Name Value ToInstance ToSubclass Overridable Amended Local
ClassVersion '1.0.0' ✗ ✗ ✓ ✗ ✓
Description 'The configuration provider for files and directories.' ✗ ✓ ✓ ✓ ✓
dynamic True ✓ ✗ ✓ ✗ ✓
locale 'MS_409' ✗ ✗ ✓ ✓ ✓
provider 'DSCCoreProviders' ✓ ✗ ✓ ✗ ✓
MSFT_FileDirectoryConfiguration System properties Name Value Origin CIMType Local Array
__PATH '\\.\ROOT\Microsoft\Windows\DesiredStateConfiguration:MSFT_FileDirectoryConfiguration' ___SYSTEM 8 ✗ ✗
__NAMESPACE 'ROOT\Microsoft\Windows\DesiredStateConfiguration' ___SYSTEM 8 ✗ ✗
__SERVER '.' ___SYSTEM 8 ✗ ✗
__DERIVATION ['OMI_BaseResource'] ___SYSTEM 8 ✗ ✓
__PROPERTY_COUNT 15 ___SYSTEM 3 ✗ ✗
__RELPATH 'MSFT_FileDirectoryConfiguration ' ___SYSTEM 8 ✗ ✗
__DYNASTY 'OMI_BaseResource ' ___SYSTEM 8 ✗ ✗
__SUPERCLASS 'OMI_BaseResource ' ___SYSTEM 8 ✗ ✗
__CLASS 'MSFT_FileDirectoryConfiguration ' ___SYSTEM 8 ✗ ✗
__GENUS 1 ___SYSTEM 3 ✗ ✗
Similar Classes to MSFT_FileDirectoryConfiguration Number of classes:2
Please enable JavaScript to view the comments powered by Disqus.
comments powered by