From e06d25588f9be0e844e31e9200a76b15984e699d Mon Sep 17 00:00:00 2001 From: Dominic Jean Date: Thu, 22 Oct 2020 08:59:38 -0700 Subject: [PATCH] Fix Error in Get-AzAutomationDscNode Example 1 In Example 1, there is a different string passed for the ResourceGroupName in the first function call and the second function call. This string should be the same value for both function calls. All of the other examples use the ResourceGroupName `ResourceGroup03`, so I swapped to use that as the correct value. --- src/Automation/Automation/help/Get-AzAutomationDscNodeReport.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Automation/Automation/help/Get-AzAutomationDscNodeReport.md b/src/Automation/Automation/help/Get-AzAutomationDscNodeReport.md index 2a195d96d83c..5a4681067fae 100644 --- a/src/Automation/Automation/help/Get-AzAutomationDscNodeReport.md +++ b/src/Automation/Automation/help/Get-AzAutomationDscNodeReport.md @@ -40,7 +40,7 @@ The **Get-AzAutomationDscNodeReport** cmdlet gets reports sent from an APS Desir ### Example 1: Get all reports for a DSC node ``` PS C:\>$Node = Get-AzAutomationDscNode -ResourceGroupName "ResourceGroup03" -AutomationAccountName "Contoso17" -Name "Computer14" -PS C:\> Get-AzAutomationDscNodeReport -ResourceGroupName "ResourceGroup14" -AutomationAccountName "Contoso17" -NodeId $Node.Id +PS C:\> Get-AzAutomationDscNodeReport -ResourceGroupName "ResourceGroup03" -AutomationAccountName "Contoso17" -NodeId $Node.Id ``` The first command gets the DSC node for the computer named Computer14 in the Automation account named Contoso17.