DSC pull server reports

Tagged: 

This topic contains 4 replies, has 3 voices, and was last updated by Profile photo of Sergei Rogozin Sergei Rogozin 2 months ago.

  • Author
    Posts
  • #70717
    Profile photo of Sergei Rogozin
    Sergei Rogozin
    Participant

    Hello guys,
    trying to get a report from dsc server (WMF 5.1). As I know starting from 5 there is no Compliance server block in dsc config.
    What I am using on clients is

    [DSCLocalConfigurationManager()]
    configuration PullClientConfigID
    {
        Node localhost
        {
            Settings
            {
                RefreshMode = 'Pull'
                ConfigurationID = $guid
                RefreshFrequencyMins = 30 
                RebootNodeIfNeeded = $false
            }
            
            ConfigurationRepositoryWeb server
            {
                ServerURL = 'https://server.contoso.com:8080/PSDSCPullServer.svc'
    
            }
            
            ReportServerWeb server
            {
                ServerURL = 'https://server.contoso.com:8080/PSDSCPullServer.svc'
            }      
        }
    }
    PullClientConfigID 
    

    DSC itself works well, but I can not find a way to receive a reports.
    Based on following, pull server is a report server as well:

    ([xml](invoke-webrequest "https://server.contoso.com:8080/PSDSCPullServer.svc" | % Content)).service.workspace.collection.href
    Configurations
    Modules
    Action
    Module
    StatusReport
    Node
    Reports
    Nodes
    

    However, using https://msdn.microsoft.com/en-us/powershell/dsc/reportserver view report script I am receiving an error

    Cannot index into a null array.
    

    Any ideas?

  • #70732
    Profile photo of Don Jones
    Don Jones
    Keymaster

    The default database is an EDB; it would be worth your time to download an EDB viewer, open the database, and see if you've actually got any data in there.

    • #71395
      Profile photo of Sergei Rogozin
      Sergei Rogozin
      Participant

      Hello Don,
      Thank you for your reply.
      Where can I find that EDB file?

  • #71269
    Profile photo of Anderskarl
    Anderskarl
    Participant

    Did you find a solution to this?

    I'm having the same problem, it seems in my case the node sends the reports but they are not stored in the db.

You must be logged in to reply to this topic.