Skip to content

Instantly share code, notes, and snippets.

@nlarkin
Created March 1, 2013 17:04
Show Gist options
  • Select an option

  • Save nlarkin/5066113 to your computer and use it in GitHub Desktop.

Select an option

Save nlarkin/5066113 to your computer and use it in GitHub Desktop.
$xmlpath = "C:\PowershellConfig\Config.xml"
[xml]$userfile = Get-Content $xmlpath
$sitecollection = $userfile.Root.SiteCollection.URL
$path = $userfile.Root.DefaultPath
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment