Hello,
I set the following up in Azure Automation DSC, but hope you may be able to advise.
I have a simple configuration (as at the LAB stage) whereby I have DSC in Monitor & Apply mode for a Service. So when the Node (computer) falls out of compliance (the service is started) this is picked up and shows in Azure portal as node Not Compliant, OK so far.
The problem is that is about ‘all’ it really says, event if you Raw report which you can export from Azure to a text file. The report does not tell you ‘why’ it is not compliant for example it does not name the service or the face the service is stopped/running (depending on your config) etc. I am very surprised at this as these are the basics I was expecting from a report!
I figure I can get around this issue by using the built in ‘Script’ resource and writing WMI queries to check the service, then writing what every information I want to the Windows Event log. I can then parse these windows events to create my report. However I feel this should be unnecessary as the canned reports should provide the information in the first place.
Am I missing something? any advice please?
Thanks
CXMelga