Author Posts

May 16, 2017 at 10:49 am

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?

May 16, 2017 at 12:55 pm

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.

May 23, 2017 at 12:05 am

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.

May 24, 2017 at 11:02 am

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

May 24, 2017 at 11:03 am

Hello Anderskarl,
Not yet 🙂