{"id":1651,"date":"2014-05-29T17:33:00","date_gmt":"2014-05-29T17:33:00","guid":{"rendered":"https:\/\/blogs.msdn.microsoft.com\/powershell\/2014\/05\/29\/how-to-retrieve-node-information-from-dsc-pull-server\/"},"modified":"2019-02-18T13:05:18","modified_gmt":"2019-02-18T20:05:18","slug":"how-to-retrieve-node-information-from-dsc-pull-server","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/powershell\/how-to-retrieve-node-information-from-dsc-pull-server\/","title":{"rendered":"How to retrieve node information from DSC pull server"},"content":{"rendered":"<p>NOTE &#8211;\u00a0<span>The latest information regarding DSC Pull Service can be found in the DSC documentation using the link:<\/span>\n<a href=\"https:\/\/docs.microsoft.com\/en-us\/powershell\/dsc\/pullserver\">https:\/\/docs.microsoft.com\/en-us\/powershell\/dsc\/pullserver<\/a><\/p>\n<p>&#8230;&#8230;&#8230;.<\/p>\n<p class=\"WordSection1\">As described in <a href=\"http:\/\/blogs.msdn.com\/b\/powershell\/archive\/2013\/11\/26\/push-and-pull-configuration-modes.aspx\">\u201cPush vs. Pull Mode\u201d<\/a> blog, DSC configuration can be applied on target nodes using pull or push mechanism.\u00a0 In this blog I will talk about how to retrieve node information from DSC pull server. When the node pulls a configuration from the pull server and applies it locally, the pull can either succeed or fail. DSC compliance endpoint stores the pull operation\u00a0status, configuration\u00a0and node information in a database. Compliance endpoint can be used by admins to periodically check the status of the nodes to see if their configurations are in sync with pull server or not (using tools like Excel or write their own client application).<\/p>\n<p class=\"MsoNormal\">In this post I will cover the following:<\/p>\n<div class=\"WordSection1\">\n<ul>\n<li>\n<div class=\"MsoNormal\">Sending node\u2019s information to pull server<\/div>\n<\/li>\n<li>\n<div class=\"MsoNormal\">Query node information in json from pull server<\/div>\n<\/li>\n<\/ul>\n<\/div>\n<p class=\"MsoNormal\">Before configuring a node to pull a configuration from pull server, you will need to setup DSC pull server in your environment that is covered in <a href=\"http:\/\/blogs.msdn.com\/b\/powershell\/archive\/2013\/11\/21\/powershell-dsc-resource-for-configuring-pull-server-environment.aspx\">\u201cDSC Resource for configuring pull server environment\u201d blog<\/a><span class=\"MsoHyperlink\">.<\/span><\/p>\n<p class=\"MsoNormal\">You will also need to setup a compliance endpoint that will record the node information that is covered in the same blog.<\/p>\n<p class=\"MsoNormal\">DSC Compliance endpoint stores the following information about the nodes in database:<\/p>\n<ul>\n<li>\n<div class=\"MsoNormal\">TargetName \u2013 Node name<\/div>\n<\/li>\n<li>\n<p class=\"MsoNormal\">ConfigurationId \u2013 Configuration ID associated with the node<\/p>\n<\/li>\n<li>\n<p class=\"MsoNormal\">StatusCode \u2013 Node status code (the status of very last pull operation).<\/p>\n<\/li>\n<\/ul>\n<p class=\"MsoListParagraphCxSpMiddle\" style=\"padding-left: 30px;margin-bottom: 0pt\">Here is the list of status codes. Note that there might be additions or changes to the list in the future.<\/p>\n<p class=\"MsoListParagraphCxSpMiddle\" style=\"margin-bottom: .0001pt\">\n<table class=\"MsoTableGrid\" style=\"border: currentColor;margin-left: 0.5in;border-collapse: collapse\" border=\"1\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td style=\"width: 63.9pt;border: solid windowtext 1.0pt;padding: 0in 5.4pt 0in 5.4pt\" valign=\"top\" width=\"85\">\n<p class=\"MsoListParagraphCxSpMiddle\" style=\"margin: 0in;margin-bottom: .0001pt;line-height: normal\"><span style=\"font-size: small\"><strong>Status Code<\/strong><\/span><\/p>\n<\/td>\n<td style=\"width: 378.9pt;border: solid windowtext 1.0pt;border-left: none;padding: 0in 5.4pt 0in 5.4pt\" valign=\"top\" width=\"505\">\n<p class=\"MsoListParagraphCxSpLast\" style=\"margin: 0in;margin-bottom: .0001pt;line-height: normal\"><span style=\"font-size: small\"><strong>Description<\/strong><\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 63.9pt;border: solid windowtext 1.0pt;border-top: none;padding: 0in 5.4pt 0in 5.4pt\" valign=\"top\" width=\"85\">\n<p class=\"MsoListParagraphCxSpFirst\" style=\"margin: 0in;margin-bottom: .0001pt;line-height: normal\">0<\/p>\n<\/td>\n<td style=\"width: 378.9pt;border-top: none;border-left: none;border-bottom: solid windowtext 1.0pt;border-right: solid windowtext 1.0pt;padding: 0in 5.4pt 0in 5.4pt\" valign=\"top\" width=\"505\">\n<p class=\"MsoListParagraphCxSpLast\" style=\"margin: 0in;margin-bottom: .0001pt;line-height: normal\">Pull operation was successful<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 63.9pt;border: solid windowtext 1.0pt;border-top: none;padding: 0in 5.4pt 0in 5.4pt\" valign=\"top\" width=\"85\">\n<p class=\"MsoListParagraphCxSpFirst\" style=\"margin: 0in;margin-bottom: .0001pt;line-height: normal\">1<\/p>\n<\/td>\n<td style=\"width: 378.9pt;border-top: none;border-left: none;border-bottom: solid windowtext 1.0pt;border-right: solid windowtext 1.0pt;padding: 0in 5.4pt 0in 5.4pt\" valign=\"top\" width=\"505\">\n<p class=\"MsoListParagraphCxSpLast\" style=\"margin: 0in;margin-bottom: .0001pt;line-height: normal\">Download Manager initialization failure<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 63.9pt;border: solid windowtext 1.0pt;border-top: none;padding: 0in 5.4pt 0in 5.4pt\" valign=\"top\" width=\"85\">\n<p class=\"MsoListParagraphCxSpFirst\" style=\"margin: 0in;margin-bottom: .0001pt;line-height: normal\">2<\/p>\n<\/td>\n<td style=\"width: 378.9pt;border-top: none;border-left: none;border-bottom: solid windowtext 1.0pt;border-right: solid windowtext 1.0pt;padding: 0in 5.4pt 0in 5.4pt\" valign=\"top\" width=\"505\">\n<p class=\"MsoListParagraphCxSpLast\" style=\"margin: 0in;margin-bottom: .0001pt;line-height: normal\">Get configuration command failure<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 63.9pt;border: solid windowtext 1.0pt;border-top: none;padding: 0in 5.4pt 0in 5.4pt\" valign=\"top\" width=\"85\">\n<p class=\"MsoListParagraphCxSpFirst\" style=\"margin: 0in;margin-bottom: .0001pt;line-height: normal\">3<\/p>\n<\/td>\n<td style=\"width: 378.9pt;border-top: none;border-left: none;border-bottom: solid windowtext 1.0pt;border-right: solid windowtext 1.0pt;padding: 0in 5.4pt 0in 5.4pt\" valign=\"top\" width=\"505\">\n<p class=\"MsoListParagraphCxSpLast\" style=\"margin: 0in;margin-bottom: .0001pt;line-height: normal\">Unexpected get configuration response from pull server<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 63.9pt;border: solid windowtext 1.0pt;border-top: none;padding: 0in 5.4pt 0in 5.4pt\" valign=\"top\" width=\"85\">\n<p class=\"MsoListParagraphCxSpFirst\" style=\"margin: 0in;margin-bottom: .0001pt;line-height: normal\">4<\/p>\n<\/td>\n<td style=\"width: 378.9pt;border-top: none;border-left: none;border-bottom: solid windowtext 1.0pt;border-right: solid windowtext 1.0pt;padding: 0in 5.4pt 0in 5.4pt\" valign=\"top\" width=\"505\">\n<p class=\"MsoListParagraphCxSpLast\" style=\"margin: 0in;margin-bottom: .0001pt;line-height: normal\">Configuration checksum file read failure<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 63.9pt;border: solid windowtext 1.0pt;border-top: none;padding: 0in 5.4pt 0in 5.4pt\" valign=\"top\" width=\"85\">\n<p class=\"MsoListParagraphCxSpFirst\" style=\"margin: 0in;margin-bottom: .0001pt;line-height: normal\">5<\/p>\n<\/td>\n<td style=\"width: 378.9pt;border-top: none;border-left: none;border-bottom: solid windowtext 1.0pt;border-right: solid windowtext 1.0pt;padding: 0in 5.4pt 0in 5.4pt\" valign=\"top\" width=\"505\">\n<p class=\"MsoListParagraphCxSpLast\" style=\"margin: 0in;margin-bottom: .0001pt;line-height: normal\">Configuration checksum validation failure<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 63.9pt;border: solid windowtext 1.0pt;border-top: none;padding: 0in 5.4pt 0in 5.4pt\" valign=\"top\" width=\"85\">\n<p class=\"MsoListParagraphCxSpFirst\" style=\"margin: 0in;margin-bottom: .0001pt;line-height: normal\">6<\/p>\n<\/td>\n<td style=\"width: 378.9pt;border-top: none;border-left: none;border-bottom: solid windowtext 1.0pt;border-right: solid windowtext 1.0pt;padding: 0in 5.4pt 0in 5.4pt\" valign=\"top\" width=\"505\">\n<p class=\"MsoListParagraphCxSpLast\" style=\"margin: 0in;margin-bottom: .0001pt;line-height: normal\">Invalid configuration file<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 63.9pt;border: solid windowtext 1.0pt;border-top: none;padding: 0in 5.4pt 0in 5.4pt\" valign=\"top\" width=\"85\">\n<p class=\"MsoListParagraphCxSpFirst\" style=\"margin: 0in;margin-bottom: .0001pt;line-height: normal\">7<\/p>\n<\/td>\n<td style=\"width: 378.9pt;border-top: none;border-left: none;border-bottom: solid windowtext 1.0pt;border-right: solid windowtext 1.0pt;padding: 0in 5.4pt 0in 5.4pt\" valign=\"top\" width=\"505\">\n<p class=\"MsoListParagraphCxSpLast\" style=\"margin: 0in;margin-bottom: .0001pt;line-height: normal\">Available modules check failure<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 63.9pt;border: solid windowtext 1.0pt;border-top: none;padding: 0in 5.4pt 0in 5.4pt\" valign=\"top\" width=\"85\">\n<p class=\"MsoListParagraphCxSpFirst\" style=\"margin: 0in;margin-bottom: .0001pt;line-height: normal\">8<\/p>\n<\/td>\n<td style=\"width: 378.9pt;border-top: none;border-left: none;border-bottom: solid windowtext 1.0pt;border-right: solid windowtext 1.0pt;padding: 0in 5.4pt 0in 5.4pt\" valign=\"top\" width=\"505\">\n<p class=\"MsoListParagraphCxSpLast\" style=\"margin: 0in;margin-bottom: .0001pt;line-height: normal\">Invalid configuration Id In meta-configuration<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 63.9pt;border: solid windowtext 1.0pt;border-top: none;padding: 0in 5.4pt 0in 5.4pt\" valign=\"top\" width=\"85\">\n<p class=\"MsoListParagraphCxSpFirst\" style=\"margin: 0in;margin-bottom: .0001pt;line-height: normal\">9<\/p>\n<\/td>\n<td style=\"width: 378.9pt;border-top: none;border-left: none;border-bottom: solid windowtext 1.0pt;border-right: solid windowtext 1.0pt;padding: 0in 5.4pt 0in 5.4pt\" valign=\"top\" width=\"505\">\n<p class=\"MsoListParagraphCxSpLast\" style=\"margin: 0in;margin-bottom: .0001pt;line-height: normal\">Invalid DownloadManager CustomData in meta-configuration<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 63.9pt;border: solid windowtext 1.0pt;border-top: none;padding: 0in 5.4pt 0in 5.4pt\" valign=\"top\" width=\"85\">\n<p class=\"MsoListParagraphCxSpFirst\" style=\"margin: 0in;margin-bottom: .0001pt;line-height: normal\">10<\/p>\n<\/td>\n<td style=\"width: 378.9pt;border-top: none;border-left: none;border-bottom: solid windowtext 1.0pt;border-right: solid windowtext 1.0pt;padding: 0in 5.4pt 0in 5.4pt\" valign=\"top\" width=\"505\">\n<p class=\"MsoListParagraphCxSpLast\" style=\"margin: 0in;margin-bottom: .0001pt;line-height: normal\">Get module command failure<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 63.9pt;border: solid windowtext 1.0pt;border-top: none;padding: 0in 5.4pt 0in 5.4pt\" valign=\"top\" width=\"85\">\n<p class=\"MsoListParagraphCxSpFirst\" style=\"margin: 0in;margin-bottom: .0001pt;line-height: normal\">11<\/p>\n<\/td>\n<td style=\"width: 378.9pt;border-top: none;border-left: none;border-bottom: solid windowtext 1.0pt;border-right: solid windowtext 1.0pt;padding: 0in 5.4pt 0in 5.4pt\" valign=\"top\" width=\"505\">\n<p class=\"MsoListParagraphCxSpLast\" style=\"margin: 0in;margin-bottom: .0001pt;line-height: normal\">Get Module Invalid Output<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 63.9pt;border: solid windowtext 1.0pt;border-top: none;padding: 0in 5.4pt 0in 5.4pt\" valign=\"top\" width=\"85\">\n<p class=\"MsoListParagraphCxSpFirst\" style=\"margin: 0in;margin-bottom: .0001pt;line-height: normal\">12<\/p>\n<\/td>\n<td style=\"width: 378.9pt;border-top: none;border-left: none;border-bottom: solid windowtext 1.0pt;border-right: solid windowtext 1.0pt;padding: 0in 5.4pt 0in 5.4pt\" valign=\"top\" width=\"505\">\n<p class=\"MsoListParagraphCxSpLast\" style=\"margin: 0in;margin-bottom: .0001pt;line-height: normal\">Module checksum file not found<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 63.9pt;border: solid windowtext 1.0pt;border-top: none;padding: 0in 5.4pt 0in 5.4pt\" valign=\"top\" width=\"85\">\n<p class=\"MsoListParagraphCxSpFirst\" style=\"margin: 0in;margin-bottom: .0001pt;line-height: normal\">13<\/p>\n<\/td>\n<td style=\"width: 378.9pt;border-top: none;border-left: none;border-bottom: solid windowtext 1.0pt;border-right: solid windowtext 1.0pt;padding: 0in 5.4pt 0in 5.4pt\" valign=\"top\" width=\"505\">\n<p class=\"MsoListParagraphCxSpLast\" style=\"margin: 0in;margin-bottom: .0001pt;line-height: normal\">Invalid module file<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 63.9pt;border: solid windowtext 1.0pt;border-top: none;padding: 0in 5.4pt 0in 5.4pt\" valign=\"top\" width=\"85\">\n<p class=\"MsoListParagraphCxSpFirst\" style=\"margin: 0in;margin-bottom: .0001pt;line-height: normal\">14<\/p>\n<\/td>\n<td style=\"width: 378.9pt;border-top: none;border-left: none;border-bottom: solid windowtext 1.0pt;border-right: solid windowtext 1.0pt;padding: 0in 5.4pt 0in 5.4pt\" valign=\"top\" width=\"505\">\n<p class=\"MsoListParagraphCxSpLast\" style=\"margin: 0in;margin-bottom: .0001pt;line-height: normal\">Module checksum validation failure<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 63.9pt;border: solid windowtext 1.0pt;border-top: none;padding: 0in 5.4pt 0in 5.4pt\" valign=\"top\" width=\"85\">\n<p class=\"MsoListParagraphCxSpFirst\" style=\"margin: 0in;margin-bottom: .0001pt;line-height: normal\">15<\/p>\n<\/td>\n<td style=\"width: 378.9pt;border-top: none;border-left: none;border-bottom: solid windowtext 1.0pt;border-right: solid windowtext 1.0pt;padding: 0in 5.4pt 0in 5.4pt\" valign=\"top\" width=\"505\">\n<p class=\"MsoListParagraphCxSpLast\" style=\"margin: 0in;margin-bottom: .0001pt;line-height: normal\">Module extraction failed<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 63.9pt;border: solid windowtext 1.0pt;border-top: none;padding: 0in 5.4pt 0in 5.4pt\" valign=\"top\" width=\"85\">\n<p class=\"MsoListParagraphCxSpFirst\" style=\"margin: 0in;margin-bottom: .0001pt;line-height: normal\">16<\/p>\n<\/td>\n<td style=\"width: 378.9pt;border-top: none;border-left: none;border-bottom: solid windowtext 1.0pt;border-right: solid windowtext 1.0pt;padding: 0in 5.4pt 0in 5.4pt\" valign=\"top\" width=\"505\">\n<p class=\"MsoListParagraphCxSpLast\" style=\"margin: 0in;margin-bottom: .0001pt;line-height: normal\">Module validation failed<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 63.9pt;border: solid windowtext 1.0pt;border-top: none;padding: 0in 5.4pt 0in 5.4pt\" valign=\"top\" width=\"85\">\n<p class=\"MsoListParagraphCxSpFirst\" style=\"margin: 0in;margin-bottom: .0001pt;line-height: normal\">17<\/p>\n<\/td>\n<td style=\"width: 378.9pt;border-top: none;border-left: none;border-bottom: solid windowtext 1.0pt;border-right: solid windowtext 1.0pt;padding: 0in 5.4pt 0in 5.4pt\" valign=\"top\" width=\"505\">\n<p class=\"MsoListParagraphCxSpLast\" style=\"margin: 0in;margin-bottom: .0001pt;line-height: normal\">Downloaded module is invalid<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 63.9pt;border: solid windowtext 1.0pt;border-top: none;padding: 0in 5.4pt 0in 5.4pt\" valign=\"top\" width=\"85\">\n<p class=\"MsoListParagraphCxSpFirst\" style=\"margin: 0in;margin-bottom: .0001pt;line-height: normal\">18<\/p>\n<\/td>\n<td style=\"width: 378.9pt;border-top: none;border-left: none;border-bottom: solid windowtext 1.0pt;border-right: solid windowtext 1.0pt;padding: 0in 5.4pt 0in 5.4pt\" valign=\"top\" width=\"505\">\n<p class=\"MsoListParagraphCxSpLast\" style=\"margin: 0in;margin-bottom: .0001pt;line-height: normal\">Configuration file not found<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 63.9pt;border: solid windowtext 1.0pt;border-top: none;padding: 0in 5.4pt 0in 5.4pt\" valign=\"top\" width=\"85\">\n<p class=\"MsoListParagraphCxSpFirst\" style=\"margin: 0in;margin-bottom: .0001pt;line-height: normal\">19<\/p>\n<\/td>\n<td style=\"width: 378.9pt;border-top: none;border-left: none;border-bottom: solid windowtext 1.0pt;border-right: solid windowtext 1.0pt;padding: 0in 5.4pt 0in 5.4pt\" valign=\"top\" width=\"505\">\n<p class=\"MsoListParagraphCxSpLast\" style=\"margin: 0in;margin-bottom: .0001pt;line-height: normal\">Multiple configuration files found<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 63.9pt;border: solid windowtext 1.0pt;border-top: none;padding: 0in 5.4pt 0in 5.4pt\" valign=\"top\" width=\"85\">\n<p class=\"MsoListParagraphCxSpFirst\" style=\"margin: 0in;margin-bottom: .0001pt;line-height: normal\">20<\/p>\n<\/td>\n<td style=\"width: 378.9pt;border-top: none;border-left: none;border-bottom: solid windowtext 1.0pt;border-right: solid windowtext 1.0pt;padding: 0in 5.4pt 0in 5.4pt\" valign=\"top\" width=\"505\">\n<p class=\"MsoListParagraphCxSpLast\" style=\"margin: 0in;margin-bottom: .0001pt;line-height: normal\">Configuration checksum file not found<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 63.9pt;border: solid windowtext 1.0pt;border-top: none;padding: 0in 5.4pt 0in 5.4pt\" valign=\"top\" width=\"85\">\n<p class=\"MsoListParagraphCxSpFirst\" style=\"margin: 0in;margin-bottom: .0001pt;line-height: normal\">21<\/p>\n<\/td>\n<td style=\"width: 378.9pt;border-top: none;border-left: none;border-bottom: solid windowtext 1.0pt;border-right: solid windowtext 1.0pt;padding: 0in 5.4pt 0in 5.4pt\" valign=\"top\" width=\"505\">\n<p class=\"MsoListParagraphCxSpLast\" style=\"margin: 0in;margin-bottom: .0001pt;line-height: normal\">Module not found<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 63.9pt;border: solid windowtext 1.0pt;border-top: none;padding: 0in 5.4pt 0in 5.4pt\" valign=\"top\" width=\"85\">\n<p class=\"MsoListParagraphCxSpFirst\" style=\"margin: 0in;margin-bottom: .0001pt;line-height: normal\">22<\/p>\n<\/td>\n<td style=\"width: 378.9pt;border-top: none;border-left: none;border-bottom: solid windowtext 1.0pt;border-right: solid windowtext 1.0pt;padding: 0in 5.4pt 0in 5.4pt\" valign=\"top\" width=\"505\">\n<p class=\"MsoListParagraphCxSpLast\" style=\"margin: 0in;margin-bottom: .0001pt;line-height: normal\">Invalid module version format<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 63.9pt;border: solid windowtext 1.0pt;border-top: none;padding: 0in 5.4pt 0in 5.4pt\" valign=\"top\" width=\"85\">\n<p class=\"MsoListParagraphCxSpFirst\" style=\"margin: 0in;margin-bottom: .0001pt;line-height: normal\">23<\/p>\n<\/td>\n<td style=\"width: 378.9pt;border-top: none;border-left: none;border-bottom: solid windowtext 1.0pt;border-right: solid windowtext 1.0pt;padding: 0in 5.4pt 0in 5.4pt\" valign=\"top\" width=\"505\">\n<p class=\"MsoListParagraphCxSpLast\" style=\"margin: 0in;margin-bottom: .0001pt;line-height: normal\">Invalid configuration Id format<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 63.9pt;border: solid windowtext 1.0pt;border-top: none;padding: 0in 5.4pt 0in 5.4pt\" valign=\"top\" width=\"85\">\n<p class=\"MsoListParagraphCxSpFirst\" style=\"margin: 0in;margin-bottom: .0001pt;line-height: normal\">24<\/p>\n<\/td>\n<td style=\"width: 378.9pt;border-top: none;border-left: none;border-bottom: solid windowtext 1.0pt;border-right: solid windowtext 1.0pt;padding: 0in 5.4pt 0in 5.4pt\" valign=\"top\" width=\"505\">\n<p class=\"MsoListParagraphCxSpLast\" style=\"margin: 0in;margin-bottom: .0001pt;line-height: normal\">Get Action command failed<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 63.9pt;border: solid windowtext 1.0pt;border-top: none;padding: 0in 5.4pt 0in 5.4pt\" valign=\"top\" width=\"85\">\n<p class=\"MsoListParagraphCxSpFirst\" style=\"margin: 0in;margin-bottom: .0001pt;line-height: normal\">25<\/p>\n<\/td>\n<td style=\"width: 378.9pt;border-top: none;border-left: none;border-bottom: solid windowtext 1.0pt;border-right: solid windowtext 1.0pt;padding: 0in 5.4pt 0in 5.4pt\" valign=\"top\" width=\"505\">\n<p class=\"MsoListParagraphCxSpLast\" style=\"margin: 0in;margin-bottom: .0001pt;line-height: normal\">Invalid checksum algorithm<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 63.9pt;border: solid windowtext 1.0pt;border-top: none;padding: 0in 5.4pt 0in 5.4pt\" valign=\"top\" width=\"85\">\n<p class=\"MsoListParagraphCxSpFirst\" style=\"margin: 0in;margin-bottom: .0001pt;line-height: normal\">26<\/p>\n<\/td>\n<td style=\"width: 378.9pt;border-top: none;border-left: none;border-bottom: solid windowtext 1.0pt;border-right: solid windowtext 1.0pt;padding: 0in 5.4pt 0in 5.4pt\" valign=\"top\" width=\"505\">\n<p class=\"MsoListParagraphCxSpLast\" style=\"margin: 0in;margin-bottom: .0001pt;line-height: normal\">Get Lcm Update command failed<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 63.9pt;border: solid windowtext 1.0pt;border-top: none;padding: 0in 5.4pt 0in 5.4pt\" valign=\"top\" width=\"85\">\n<p class=\"MsoListParagraphCxSpFirst\" style=\"margin: 0in;margin-bottom: .0001pt;line-height: normal\">27<\/p>\n<\/td>\n<td style=\"width: 378.9pt;border-top: none;border-left: none;border-bottom: solid windowtext 1.0pt;border-right: solid windowtext 1.0pt;padding: 0in 5.4pt 0in 5.4pt\" valign=\"top\" width=\"505\">\n<p class=\"MsoListParagraphCxSpLast\" style=\"margin: 0in;margin-bottom: .0001pt;line-height: normal\">Unexpected Get Lcm Update response from pull server<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 63.9pt;border: solid windowtext 1.0pt;border-top: none;padding: 0in 5.4pt 0in 5.4pt\" valign=\"top\" width=\"85\">\n<p class=\"MsoListParagraphCxSpFirst\" style=\"margin: 0in;margin-bottom: .0001pt;line-height: normal\">28<\/p>\n<\/td>\n<td style=\"width: 378.9pt;border-top: none;border-left: none;border-bottom: solid windowtext 1.0pt;border-right: solid windowtext 1.0pt;padding: 0in 5.4pt 0in 5.4pt\" valign=\"top\" width=\"505\">\n<p class=\"MsoListParagraphCxSpLast\" style=\"margin: 0in;margin-bottom: .0001pt;line-height: normal\">Invalid Refresh Mode in meta-configuration<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 63.9pt;border: solid windowtext 1.0pt;border-top: none;padding: 0in 5.4pt 0in 5.4pt\" valign=\"top\" width=\"85\">\n<p class=\"MsoListParagraphCxSpFirst\" style=\"margin: 0in;margin-bottom: .0001pt;line-height: normal\">29<\/p>\n<\/td>\n<td style=\"width: 378.9pt;border-top: none;border-left: none;border-bottom: solid windowtext 1.0pt;border-right: solid windowtext 1.0pt;padding: 0in 5.4pt 0in 5.4pt\" valign=\"top\" width=\"505\">\n<p class=\"MsoListParagraphCxSpLast\" style=\"margin: 0in;margin-bottom: .0001pt;line-height: normal\">Invalid Debug Mode in meta-configuration<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<ul>\n<li>\n<div class=\"MsoListParagraphCxSpFirst\" style=\"margin-bottom: .0001pt\">NodeCompliant \u00a0&#8211; Configuration on the target node is in sync with the configuration stored on pull server or not.<\/div>\n<\/li>\n<li>\n<div class=\"MsoListParagraphCxSpFirst\" style=\"margin-bottom: .0001pt\">ServerCheckSum \u2013 Checksum of the configuration mof file stored on the pull server<\/div>\n<\/li>\n<li>\n<div class=\"MsoListParagraphCxSpFirst\" style=\"margin-bottom: .0001pt\">TargetCheckSum \u2013Checksum of the configuration mof file that was applied on the node<\/div>\n<\/li>\n<li>\n<div class=\"MsoListParagraphCxSpFirst\" style=\"margin-bottom: .0001pt\">LastComplianceTime \u2013 Last time the node run the configuration successfully<\/div>\n<\/li>\n<li>\n<div class=\"MsoListParagraphCxSpFirst\" style=\"margin-bottom: .0001pt\">LastHeartbeatTime \u00a0-Last time the node connected to pull server.<\/div>\n<\/li>\n<li>\n<div class=\"MsoListParagraphCxSpFirst\" style=\"margin-bottom: .0001pt\">Dirty \u2013 True if node status was recorded in the database, and false if not.<\/div>\n<\/li>\n<\/ul>\n<p class=\"MsoNormal\">Compliance endpoint database connection is defined through its web.config settings. If you did not define it for your environment, compliance endpoint would not be recording node information into the database. Below snippet shows how to define database connection:<\/p>\n<p class=\"MsoNormal\">\n<table class=\"MsoNormalTable\" style=\"border-collapse: collapse\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td style=\"width: 467.5pt;border: solid windowtext 1.0pt;border-bottom: none;padding: 0in 5.4pt 0in 5.4pt\" valign=\"top\" width=\"623\">\n<p class=\"MsoNormal\" style=\"margin-bottom: .0001pt;line-height: normal;background: white\"><span style=\"font-size: 9.0pt;font-family: 'Lucida Console';color: blue\">Set-Webconfig-AppSettings<\/span><span style=\"font-size: 9.0pt;font-family: 'Lucida Console'\"> `<\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 467.5pt;border-top: none;border-left: solid windowtext 1.0pt;border-bottom: none;border-right: solid windowtext 1.0pt;padding: 0in 5.4pt 0in 5.4pt\" valign=\"top\" width=\"623\">\n<p class=\"MsoNormal\" style=\"margin-bottom: .0001pt;line-height: normal;background: white\"><span style=\"font-size: 9.0pt;font-family: 'Lucida Console'\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<span style=\"color: navy\">-path<\/span> <span style=\"color: blueviolet\">$env:HOMEDRIVE\\inetpub\\wwwroot\\$complianceSiteName<\/span> `<\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 467.5pt;border-top: none;border-left: solid windowtext 1.0pt;border-bottom: none;border-right: solid windowtext 1.0pt;padding: 0in 5.4pt 0in 5.4pt\" valign=\"top\" width=\"623\">\n<p class=\"MsoNormal\" style=\"margin-bottom: .0001pt;line-height: normal;background: white\"><span style=\"font-size: 9.0pt;font-family: 'Lucida Console'\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <span style=\"color: navy\">-key<\/span> <span style=\"color: darkred\">&#8220;dbprovider&#8221;<\/span> `<\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 467.5pt;border-top: none;border-left: solid windowtext 1.0pt;border-bottom: none;border-right: solid windowtext 1.0pt;padding: 0in 5.4pt 0in 5.4pt\" valign=\"top\" width=\"623\">\n<p class=\"MsoNormal\" style=\"margin-bottom: .0001pt;line-height: normal;background: white\"><span style=\"font-size: 9.0pt;font-family: 'Lucida Console'\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <span style=\"color: navy\">-value<\/span> <span style=\"color: darkred\">&#8220;ESENT&#8221;<\/span><\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 467.5pt;border-top: none;border-left: solid windowtext 1.0pt;border-bottom: none;border-right: solid windowtext 1.0pt;padding: 0in 5.4pt 0in 5.4pt\" valign=\"top\" width=\"623\"><\/td>\n<\/tr>\n<tr>\n<td style=\"width: 467.5pt;border-top: none;border-left: solid windowtext 1.0pt;border-bottom: none;border-right: solid windowtext 1.0pt;padding: 0in 5.4pt 0in 5.4pt\" valign=\"top\" width=\"623\">\n<p class=\"MsoNormal\" style=\"margin-bottom: .0001pt;line-height: normal;background: white\"><span style=\"font-size: 9.0pt;font-family: 'Lucida Console';color: blue\">Set-Webconfig-AppSettings<\/span><span style=\"font-size: 9.0pt;font-family: 'Lucida Console'\"> `<\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 467.5pt;border-top: none;border-left: solid windowtext 1.0pt;border-bottom: none;border-right: solid windowtext 1.0pt;padding: 0in 5.4pt 0in 5.4pt\" valign=\"top\" width=\"623\">\n<p class=\"MsoNormal\" style=\"margin-bottom: .0001pt;line-height: normal;background: white\"><span style=\"font-size: 9.0pt;font-family: 'Lucida Console'\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<span style=\"color: navy\">-path<\/span> <span style=\"color: blueviolet\">$env:HOMEDRIVE\\inetpub\\wwwroot\\$complianceSiteName<\/span> `<\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 467.5pt;border-top: none;border-left: solid windowtext 1.0pt;border-bottom: none;border-right: solid windowtext 1.0pt;padding: 0in 5.4pt 0in 5.4pt\" valign=\"top\" width=\"623\">\n<p class=\"MsoNormal\" style=\"margin-bottom: .0001pt;line-height: normal;background: white\"><span style=\"font-size: 9.0pt;font-family: 'Lucida Console'\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<span style=\"color: navy\">-key<\/span> <span style=\"color: darkred\">&#8220;dbconnectionstr&#8221;<\/span> `<\/span><\/p>\n<\/td>\n<\/tr>\n<tr style=\"height: 23.4pt\">\n<td style=\"width: 467.5pt;border-top: none;border-left: solid windowtext 1.0pt;border-bottom: none;border-right: solid windowtext 1.0pt;padding: 0in 5.4pt 0in 5.4pt;height: 23.4pt\" valign=\"top\" width=\"623\">\n<p class=\"MsoNormal\" style=\"background: white;text-align: center;line-height: normal;padding-left: 30px;margin-bottom: 0pt;margin-left: 1in\" align=\"center\"><span style=\"font-size: 9.0pt;font-family: 'Lucida Console';color: navy\">\u00a0-value<\/span><span style=\"font-size: 9.0pt;font-family: 'Lucida Console'\"> <span style=\"color: darkred\">&#8220;$env:PROGRAMFILES\\WindowsPowerShell\\DscService\\Devices.edb&#8221;<\/span><\/span><\/p>\n<\/td>\n<\/tr>\n<tr style=\"height: 4.0pt\">\n<td style=\"width: 467.5pt;border: solid windowtext 1.0pt;border-top: none;padding: 0in 5.4pt 0in 5.4pt;height: 4.0pt\" valign=\"top\" width=\"623\">\n<p class=\"MsoNormal\" style=\"margin-bottom: .0001pt;line-height: normal;background: white\"><span style=\"font-size: 12.0pt;font-family: 'Times New Roman','serif';color: #424242\">\u00a0<\/span><\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p class=\"MsoNormal\">\n<h3><span style=\"font-family: 'Segoe UI','sans-serif';color: #424242\" lang=\"EN\">Getting ready<\/span><\/h3>\n<p class=\"MsoNormal\"><span lang=\"EN\">First, we need to write a simple configuration that the node will be pulling from pull server, compile the configuration into mof, create it\u2019s checksum file, deploy the mof and checksum files to the pull server. Then, configure the node to be in pull mode as by default LCM on the node is configured to be in push. For details please refer to <\/span><a href=\"http:\/\/blogs.msdn.com\/b\/powershell\/archive\/2013\/11\/26\/push-and-pull-configuration-modes.aspx\"><span lang=\"EN\">\u201cpush vs. pull mode\u201d<\/span><\/a><span lang=\"EN\"> blog.<\/span><\/p>\n<p class=\"MsoNormal\">\n<h3><span style=\"font-family: 'Segoe UI','sans-serif';color: #424242\" lang=\"EN\">Sending node\u2019s status to pull server<\/span><\/h3>\n<p class=\"MsoNormal\">When the node pulls a configuration from the pull server, the node includes the last pull operation\u00a0status with the new pull request which then gets recorded by compliance endpoint into the database.<\/p>\n<h3><span style=\"font-family: 'Segoe UI','sans-serif';color: #424242\">Query node information in json from pull server<\/span><\/h3>\n<p class=\"MsoNormal\">We will use the following function to query the node\u2019s information from pull server.<\/p>\n<p class=\"MsoNormal\" style=\"margin-bottom: .0001pt;line-height: normal;background: white\"><span style=\"color: darkgreen;font-family: 'Lucida Console';font-size: x-small\">&lt;#<\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin-bottom: .0001pt;line-height: normal;background: white\"><span style=\"color: darkgreen;font-family: 'Lucida Console';font-size: x-small\"># DSC function to query node information from pull server.<\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin-bottom: .0001pt;line-height: normal;background: white\"><span style=\"color: darkgreen;font-family: 'Lucida Console';font-size: x-small\">#&gt;<\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin-bottom: .0001pt;line-height: normal;background: white\"><span style=\"font-size: x-small\"><span style=\"color: darkblue;font-family: 'Lucida Console'\">function<\/span><span style=\"font-family: 'Lucida Console'\"> <span style=\"color: blueviolet\">QueryNodeInformation<\/span><\/span><\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin-bottom: .0001pt;line-height: normal;background: white\"><span style=\"font-family: 'Lucida Console';font-size: x-small\">{<\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin-bottom: .0001pt;line-height: normal;background: white\"><span style=\"font-family: 'Lucida Console';font-size: x-small\">\u00a0 <span style=\"color: darkblue\">Param<\/span> (\u00a0\u00a0\u00a0\u00a0\u00a0 <\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin-bottom: .0001pt;line-height: normal;background: white\"><span style=\"font-size: x-small\"><span style=\"font-family: 'Lucida Console'\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <span style=\"color: darkgray\">[<\/span><span style=\"color: teal\">string<\/span><span style=\"color: darkgray\">]<\/span> <span style=\"color: orangered\">$Uri<\/span> <span style=\"color: darkgray\">=<\/span> <span style=\"color: darkred\">&#8220;http:\/\/localhost:7070\/PSDSCComplianceServer.svc\/Status&#8221;<\/span><span style=\"color: darkgray\">,<\/span>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<\/span><span style=\"font-family: 'Lucida Console'\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<\/span><\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin-bottom: .0001pt;line-height: normal;background: white\"><span style=\"font-size: x-small\"><span style=\"font-family: 'Lucida Console'\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <span style=\"color: darkgray\">[<\/span><span style=\"color: teal\">string<\/span><span style=\"color: darkgray\">]<\/span> <span style=\"color: orangered\">$ContentType<\/span> <span style=\"color: darkgray\">=<\/span> <span style=\"color: darkred\">&#8220;application\/json&#8221;<\/span><\/span><span style=\"font-family: 'Lucida Console'\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <\/span><\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin-bottom: .0001pt;line-height: normal;background: white\"><span style=\"font-family: 'Lucida Console';font-size: x-small\">\u00a0\u00a0\u00a0\u00a0 )<\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin-bottom: .0001pt;line-height: normal;background: white\"><span style=\"font-family: 'Lucida Console';font-size: x-small\">\u00a0\u00a0<span style=\"color: blue\">Write-Host<\/span> <span style=\"color: darkred\">&#8220;Querying node information from pull server URI\u00a0 = <\/span><span style=\"color: orangered\">$Uri<\/span><span style=\"color: darkred\">&#8220;<\/span> <span style=\"color: navy\">-ForegroundColor<\/span> <span style=\"color: blueviolet\">Green<\/span><\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin-bottom: .0001pt;line-height: normal;background: white\"><span style=\"font-family: 'Lucida Console';font-size: x-small\">\u00a0 <span style=\"color: blue\">Write-Host<\/span> <span style=\"color: darkred\">&#8220;Querying node status in content type\u00a0 = <\/span><span style=\"color: orangered\">$ContentType<\/span><span style=\"color: darkred\"> &#8220;<\/span> <span style=\"color: navy\">-ForegroundColor<\/span> <span style=\"color: blueviolet\">Green<\/span><\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin-bottom: .0001pt;line-height: normal;background: white\"><span style=\"font-size: x-small\"><span style=\"font-family: 'Lucida Console'\">\u00a0 <\/span><\/span><\/p>\n<p class=\"MsoNormal\" style=\"background: white;line-height: normal;margin-bottom: 0pt\"><span style=\"font-size: x-small\"><span style=\"color: orangered;line-height: 107%;font-family: 'Lucida Console'\">\u00a0$response<\/span><span style=\"line-height: 107%;font-family: 'Lucida Console'\"> <span style=\"color: darkgray\">=<\/span> <span style=\"color: blue\">Invoke-WebRequest <\/span><span style=\"color: navy\">-Uri<\/span> <span style=\"color: orangered\">$Uri<\/span> <span style=\"color: navy\">-Method<\/span> <span style=\"color: blueviolet\">Get<\/span> <span style=\"color: navy\">-ContentType<\/span> <span style=\"color: orangered\">$ContentType\u00a0<\/span><span style=\"color: navy\">-UseDefaultCredentials<\/span> <span style=\"color: navy\">-Headers <\/span>\n@{Accept <span style=\"color: darkgray\">=<\/span> <span style=\"color: orangered\">$ContentType<\/span>}<\/span><\/span><\/p>\n<p class=\"MsoNormal\" style=\"background: white;line-height: normal;margin-bottom: 0pt\">\n<p class=\"MsoNormal\" style=\"margin-bottom: .0001pt;line-height: normal;background: white\"><span style=\"font-family: 'Lucida Console';font-size: x-small\">\u00a0<span style=\"color: darkblue\">if<\/span>(<span style=\"color: orangered\">$response<\/span><span style=\"color: darkgray\">.<\/span>StatusCode <span style=\"color: darkgray\">-ne<\/span> <span style=\"color: purple\">200<\/span>)<\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin-bottom: .0001pt;line-height: normal;background: white\"><span style=\"font-family: 'Lucida Console';font-size: x-small\">\u00a0{<\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin-bottom: .0001pt;line-height: normal;background: white\"><span style=\"font-family: 'Lucida Console';font-size: x-small\">\u00a0\u00a0\u00a0\u00a0 <span style=\"color: blue\">Write-Host<\/span> <span style=\"color: darkred\">&#8220;node information was not retrieved.&#8221;<\/span> <span style=\"color: navy\">-ForegroundColor<\/span> <span style=\"color: blueviolet\">Red<\/span><\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin-bottom: .0001pt;line-height: normal;background: white\"><span style=\"font-family: 'Lucida Console';font-size: x-small\">\u00a0}<\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin-bottom: .0001pt;line-height: normal;background: white\">\n<p class=\"MsoNormal\" style=\"margin-bottom: .0001pt;line-height: normal;background: white\"><span style=\"font-family: 'Lucida Console';font-size: x-small\"><span style=\"color: orangered\">\u00a0$jsonResponse<\/span> <span style=\"color: darkgray\">=<\/span> <span style=\"color: blue\">ConvertFrom-Json<\/span> <span style=\"color: orangered\">$response<\/span><span style=\"color: darkgray\">.<\/span>Content<\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin-bottom: .0001pt;line-height: normal;background: white\">\n<p class=\"MsoNormal\" style=\"margin-bottom: .0001pt;line-height: normal;background: white\"><span style=\"font-family: 'Lucida Console';font-size: x-small\">\u00a0<span style=\"color: darkblue\">return<\/span> <span style=\"color: orangered\">$jsonResponse<\/span><\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin-bottom: .0001pt;line-height: normal;background: white\"><span style=\"font-family: 'Lucida Console';font-size: x-small\">} <\/span><\/p>\n<p>You need to replace Uri parameter with <em>your_pull_ server_ URI<\/em>.\u00a0 To retrieve the node information in xml format, you should set the ContentType to \u201dapplication\/xml\u201d.<\/p>\n<p>Now, let us retrieve the node information in the parameter $json and format the output to be in a table:<\/p>\n<p class=\"MsoNormal\"><span style=\"font-size: x-small\"><span style=\"color: orangered;font-family: 'Lucida Console'\">$json<\/span><span style=\"font-family: 'Lucida Console'\"> <span style=\"color: darkgray\">=<\/span> <span style=\"color: blue\">QueryNodeInformation<\/span> <span style=\"color: navy\">\u2013Uri<\/span> <span style=\"color: darkred\"><a href=\"http:\/\/localhost:7070\/PSDSCComplianceServer.svc\/Status\">http:\/\/localhost:7070\/PSDSCComplianceServer.svc\/Status<\/a> <\/span><\/span><\/span><\/p>\n<p class=\"MsoNormal\">\n<p class=\"MsoNormal\" style=\"margin-bottom: .0001pt;line-height: normal;background: white\"><span style=\"font-size: x-small\"><span style=\"color: orangered;font-family: 'Lucida Console'\">$json<\/span><span style=\"color: darkgray;font-family: 'Lucida Console'\">.<\/span><span style=\"font-family: 'Lucida Console'\">value <span style=\"color: darkgray\">|<\/span> <span style=\"color: blue\">Format-Table<\/span> <span style=\"color: blueviolet\">TargetName<\/span><span style=\"color: darkgray\">,<\/span> <span style=\"color: blueviolet\">ConfigurationId<\/span><span style=\"color: darkgray\">,<\/span> <span style=\"color: blueviolet\">ServerChecksum<\/span><span style=\"color: darkgray\">,<\/span> <span style=\"color: blueviolet\">NodeCompliant<\/span><span style=\"color: darkgray\">,<\/span> <span style=\"color: blueviolet\">LastComplianceTime<\/span><span style=\"color: darkgray\">,<\/span> <span style=\"color: blueviolet\">StatusCode <\/span><\/span><\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin-bottom: .0001pt;line-height: normal;background: white\">\n<p class=\"MsoNormal\" style=\"margin-bottom: .0001pt;line-height: normal;background: white\">In result you will see an output similar to:<\/p>\n<p class=\"MsoNormal\" style=\"margin-bottom: .0001pt;line-height: normal;background: white\">\n<p class=\"MsoNormal\" style=\"margin-bottom: .0001pt\"><em><span style=\"line-height: 107%;font-size: 9pt\">TargetName\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 ConfigurationId\u00a0\u00a0\u00a0\u00a0\u00a0 ServerCheckSum\u00a0\u00a0\u00a0\u00a0\u00a0 NodeCompliant\u00a0 LastComplianceTime\u00a0\u00a0 StatusCode<\/span><\/em><\/p>\n<p class=\"MsoNormal\" style=\"margin-bottom: .0001pt\"><em><span style=\"line-height: 107%;font-size: 9pt\">&#8212;&#8212;&#8212;-\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 &#8212;&#8212;&#8212;&#8212;&#8212;\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 &#8212;&#8212;&#8212;&#8212;&#8211;\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 &#8212;&#8212;&#8212;&#8212;- \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 &#8212;&#8212;&#8212;-<\/span><\/em><\/p>\n<p class=\"MsoNormal\" style=\"margin-bottom: .0001pt\"><em><span style=\"line-height: 107%;font-size: 9pt\">Machine-975..\u00a0 1C707B86-EF8E\u2026\u2026\u00a0 AE467E88D512&#8230;\u00a0\u00a0\u00a0 True \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u00a0\u00a0\u00a0\u00a0\u00a01899-12-30T00:00:00\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 0<\/span><\/em><\/p>\n<p class=\"MsoNormal\">\n<p class=\"MsoNormal\" style=\"margin-bottom: .0001pt\">\n<p class=\"MsoNormal\" style=\"margin-bottom: .0001pt\">Hope this helps.<\/p>\n<p class=\"MsoNormal\" style=\"margin-bottom: .0001pt\">\n<p class=\"MsoNormal\" style=\"margin-bottom: .0001pt\">Thanks,<\/p>\n<p class=\"MsoNormal\" style=\"margin-bottom: .0001pt\">Narine Mossikyan<\/p>\n<p class=\"MsoNormal\" style=\"margin-bottom: .0001pt\">Software Engineer<\/p>\n<p class=\"MsoNormal\">\u00a0[ Updated 01\/07\/2014 ]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>NOTE &#8211;\u00a0The latest information regarding DSC Pull Service can be found in the DSC documentation using the link: https:\/\/docs.microsoft.com\/en-us\/powershell\/dsc\/pullserver &#8230;&#8230;&#8230;. As described in \u201cPush vs. Pull Mode\u201d blog, DSC configuration can be applied on target nodes using pull or push mechanism.\u00a0 In this blog I will talk about how to retrieve node information from DSC [&hellip;]<\/p>\n","protected":false},"author":600,"featured_media":13641,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1],"tags":[126,224,284,308],"class_list":["post-1651","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-powershell","tag-compliance","tag-node-status","tag-pull","tag-server"],"acf":[],"blog_post_summary":"<p>NOTE &#8211;\u00a0The latest information regarding DSC Pull Service can be found in the DSC documentation using the link: https:\/\/docs.microsoft.com\/en-us\/powershell\/dsc\/pullserver &#8230;&#8230;&#8230;. As described in \u201cPush vs. Pull Mode\u201d blog, DSC configuration can be applied on target nodes using pull or push mechanism.\u00a0 In this blog I will talk about how to retrieve node information from DSC [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/powershell\/wp-json\/wp\/v2\/posts\/1651","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/powershell\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/powershell\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/powershell\/wp-json\/wp\/v2\/users\/600"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/powershell\/wp-json\/wp\/v2\/comments?post=1651"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/powershell\/wp-json\/wp\/v2\/posts\/1651\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/powershell\/wp-json\/wp\/v2\/media\/13641"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/powershell\/wp-json\/wp\/v2\/media?parent=1651"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/powershell\/wp-json\/wp\/v2\/categories?post=1651"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/powershell\/wp-json\/wp\/v2\/tags?post=1651"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}