{"id":10423,"date":"2017-08-15T09:20:41","date_gmt":"2017-08-15T08:20:41","guid":{"rendered":"https:\/\/myworldofit.net\/?p=10423"},"modified":"2017-08-14T16:26:25","modified_gmt":"2017-08-14T15:26:25","slug":"a-little-fun-with-powershell-and-milestone-xprotect-read-the-config-xml-file-and-get-a-list-of-devices-and-cameras","status":"publish","type":"post","link":"https:\/\/myworldofit.net\/?p=10423","title":{"rendered":"A little fun with PowerShell and Milestone XProtect (read the config.xml file and get a list of Devices and Cameras)"},"content":{"rendered":"<p>A little bit of fun today with <a href=\"https:\/\/www.milestonesys.com\/solutions\/platform\/video-management-software\/\">Milestone XProtect<\/a> (in our case the express version) today; with the goal of improving our documentation I wanted to somehow obtain a list of all of the hardware devices (and to some degree the cameras) including there names, MAC addresses and IP addresses from our XProtect server.<\/p>\n<p>Lone behold the configuration.xml file typically stored at&nbsp;<span class=\"pl-s\">&#8220;C:\\ProgramData\\Milestone\\Milestone Surveillance\\configuration.xml&#8221;<\/span> held just the information I wanted; a little bit of PowerShell later and I had CSVs with the information in a human readable form.<\/p>\n<p>To do the same on your server follow the guide using the Export-MilestoneConfig.ps1 script show below.<\/p>\n<p><a href=\"https:\/\/raw.githubusercontent.com\/jamesfed\/Parse-Milestone-Config-XML\/master\/Export-MilestoneConfig.ps1\" download=\"\">Download Export-MilestoneConfig.ps1<\/a> (download from <a href=\"https:\/\/github.com\/jamesfed\/Parse-Milestone-Config-XML\">GitHub<\/a>)<\/p>\nngg_shortcode_0_placeholder\n","protected":false},"excerpt":{"rendered":"<p>A little bit of fun today with Milestone XProtect (in our case the express version) today; with the goal of improving our documentation I wanted to somehow obtain a list of all of the hardware devices (and to some degree the cameras) including there names, MAC addresses and IP addresses from our XProtect server. Lone behold the configuration.xml file typically&#8230; <a class=\"read-more\" href=\"https:\/\/myworldofit.net\/?p=10423\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ngg_post_thumbnail":0,"footnotes":""},"categories":[11,20],"tags":[424,425,248],"series":[],"class_list":["post-10423","post","type-post","status-publish","format-standard","hentry","category-servers","category-software","tag-cctv","tag-milestone-xprotect","tag-powershell"],"_links":{"self":[{"href":"https:\/\/myworldofit.net\/index.php?rest_route=\/wp\/v2\/posts\/10423","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/myworldofit.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/myworldofit.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/myworldofit.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/myworldofit.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=10423"}],"version-history":[{"count":2,"href":"https:\/\/myworldofit.net\/index.php?rest_route=\/wp\/v2\/posts\/10423\/revisions"}],"predecessor-version":[{"id":10433,"href":"https:\/\/myworldofit.net\/index.php?rest_route=\/wp\/v2\/posts\/10423\/revisions\/10433"}],"wp:attachment":[{"href":"https:\/\/myworldofit.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=10423"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/myworldofit.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=10423"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/myworldofit.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=10423"},{"taxonomy":"series","embeddable":true,"href":"https:\/\/myworldofit.net\/index.php?rest_route=%2Fwp%2Fv2%2Fseries&post=10423"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}