Skip to content

Instantly share code, notes, and snippets.

@fushnisoft
Created October 2, 2013 17:14
Show Gist options
  • Select an option

  • Save fushnisoft/6797073 to your computer and use it in GitHub Desktop.

Select an option

Save fushnisoft/6797073 to your computer and use it in GitHub Desktop.
Use powershell to updated an attribute in ClarionPRoperties.xml
$doc = New-Object System.Xml.XmlDocument
$doc.Load("C:\Dev\Clarion\ClarionProperties.xml")
$XPath = "/ClarionProperties/Properties[@name='WorkbenchMemento']"
$node = ( $doc | Select-Xml -XPath $XPath ).Node
$node.bounds.value = "1,2,3,4"
$doc.Save("C:\Dev\Clarion\ClarionProperties.xml")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment