The first command gets the DSC node for the computer named Computer14 in the Automation account named Contoso17.
The command stores this object in the $Node variable.
The second command gets metadata for all reports sent from the DSC node named Computer14 to the Automation account named Contoso17.
The command specifies the node by using the Id property of the $Node object.
Example 2: Get a report for a DSC node by report ID
The first command gets the DSC node for the computer named Computer14 in the Automation account named Contoso17.
The command stores this object in the $Node variable.
The second command gets metadata for the report identified by the specified ID sent from the DSC node named Computer14 to the Automation account named Contoso17.
The first command gets the DSC node for the computer named Computer14 in the Automation account named Contoso17.
The command stores this object in the $Node variable.
The second command gets metadata for the latest report sent from the DSC node named Computer14 to the Automation account named Contoso17.
Parameters
-AutomationAccountName
Specifies the name of an Automation account.
This cmdlet exports reports for a DSC node that belongs to the account that this parameter specifies.
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable,
-InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable,
-ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see
about_CommonParameters.