XmlContent manages content in XML files.
Source |
|
DSC Resource |
|
Documentation |
XmlFileContentResource |
Parameter | Attribute | DataType | Description | Allowed Values |
---|---|---|---|---|
XmlData |
Mandatory |
hashtable |
Example
XmlContent:
- Path: D:\web.config
Ensure: Present
XPath: /configuration/appSettings/Test1/Test1
Attributes:
TestValue1: 'SomeValue1'
TestValue2: 'SomeValue2'
- Path: D:\web.config
Ensure: Present
XPath: /configuration/appSettings/Test1/Test2
Attributes:
TestValue1: 'SomeValue1'
TestValue2: 'SomeValue2'