Powershell and Policy Based Management

  • Hello,

    I am using the Invoke-PolicyEvaluation cmdlet to execute an evaluation of a policy across multiple servers. The documentation explains how you can save the output as an XML file and then load that into a SQL Server database. What I'm missing is how to further massage that XML data into some format that's easier to read. Does anyone know of any examples of queries that can read the evaluation results and parse the XML?

    To state it another way, when you evaluate a policy via Management Studio, you get a nice interface to drill down to see what facet failed and what object caused the failure. You also have a button to "export results". I'd like to be able to export the results (into an XML file) and then have something else in place that can take the XML and reproduce the nice output interface that SSMS provides.

    Any help would be most appreciated.

    Thanks!

    jason

  • Hi Did you get any solution. i am trying to get the results in some nice format other than XML.

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply