DSC pull server reports

Welcome Forums DSC (Desired State Configuration) DSC pull server reports

This topic contains 4 replies, has 3 voices, and was last updated by

 
Participant
1 year, 6 months ago.

  • Author
    Posts
  • #70717

    Participant
    Points: 1
    Rank: Member

    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

    Keymaster
    Points: 1,644
    Helping HandTeam Member
    Rank: Community Hero

    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

      Participant
      Points: 1
      Rank: Member

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

  • #71269

    Participant
    Points: 0
    Rank: Member

    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.

    • #71398

      Participant
      Points: 1
      Rank: Member

      Hello Anderskarl,
      Not yet 🙂

The topic ‘DSC pull server reports’ is closed to new replies.