Skip to content

Instantly share code, notes, and snippets.

@technoscavenger
Last active January 2, 2024 04:33
Show Gist options
  • Save technoscavenger/fa3d37683634f9976ce6938b11b8423f to your computer and use it in GitHub Desktop.
Save technoscavenger/fa3d37683634f9976ce6938b11b8423f to your computer and use it in GitHub Desktop.
Read XML configuration
$xmlFile = "C:\Users\u1\Documents\sample_nodes.xml"
$xmlDoc = [xml](Get-Content $xmlFile)
$xmlDoc.nodes.node.ip
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment