Skip to content

Commit

Permalink
Fix Error in Get-AzAutomationDscNode Example 1 (#13307)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
DominicJ2 authored Oct 26, 2020
1 parent 81e4752 commit 9631cb1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 9631cb1

Please sign in to comment.