DSC node have report details can't fetch using script

Himanshuk 161 Reputation points
2021-09-24T08:46:58.657+00:00

I have added node in power shell DSC and node have report details -script-resource-contains names

I want to retrieve the names info using cmd or powershell or az cli but won't get it or found it
I have used
export-azautomationdscnodereportcontent but the cmdlet have bugs https://GitHub.com/Azure/azure-powershell/issues/9663

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,126 questions
Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,381 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Limitless Technology 39,376 Reputation points
    2021-09-24T13:24:53.38+00:00

    Hello anonymous user

    The Export-AzAutomationDscNodeReportContent cmdlet exports the raw contents of an APS Desired State Configuration (DSC) report. A DSC node sends a DSC report to Azure Automation.

    If you find errors using it then better try Troubleshooting Azure Automation State Configuration issues.

    https://learn.microsoft.com/en-us/azure/automation/troubleshoot/desired-state-configuration

    --------------

    --If the reply is helpful, please Upvote and Accept as answer--

    0 comments No comments