Skip to content

Commit 9631cb1

Browse files
authored
Fix Error in Get-AzAutomationDscNode Example 1 (#13307)
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.
1 parent 81e4752 commit 9631cb1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Automation/Automation/help/Get-AzAutomationDscNodeReport.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ The **Get-AzAutomationDscNodeReport** cmdlet gets reports sent from an APS Desir
4040
### Example 1: Get all reports for a DSC node
4141
```
4242
PS C:\>$Node = Get-AzAutomationDscNode -ResourceGroupName "ResourceGroup03" -AutomationAccountName "Contoso17" -Name "Computer14"
43-
PS C:\> Get-AzAutomationDscNodeReport -ResourceGroupName "ResourceGroup14" -AutomationAccountName "Contoso17" -NodeId $Node.Id
43+
PS C:\> Get-AzAutomationDscNodeReport -ResourceGroupName "ResourceGroup03" -AutomationAccountName "Contoso17" -NodeId $Node.Id
4444
```
4545

4646
The first command gets the DSC node for the computer named Computer14 in the Automation account named Contoso17.

0 commit comments

Comments
 (0)