Skip to content

Latest commit

 

History

History
132 lines (97 loc) · 3.49 KB

Get-AzAutomationJobOutputRecord.md

File metadata and controls

132 lines (97 loc) · 3.49 KB
external help file Module Name ms.assetid online version schema
Microsoft.Azure.PowerShell.Cmdlets.Automation.dll-Help.xml
Az.Automation
38BB4F4E-B72B-460E-8DF2-2A7A9CACDB41
2.0.0

Get-AzAutomationJobOutputRecord

SYNOPSIS

Gets the full output of an Automation job output record.

SYNTAX

Get-AzAutomationJobOutputRecord [-JobId] <Guid> [-Id] <String> [-ResourceGroupName] <String>
 [-AutomationAccountName] <String> [-DefaultProfile <IAzureContextContainer>] [<CommonParameters>]

DESCRIPTION

The Get-AzAutomationJobOutputRecord cmdlet gets the full output of an Automation job output record. Although the Get-AzAutomationJobOutput cmdlet lists one or more job output records, it returns only a summary, as a string, of the value of any output record. It does not return the full value of an output record's outputted value in its original type. In addition, the summary has a maximum length, which the full value that this cmdlet outputs may exceed.

EXAMPLES

Example 1: Get the full output of an Automation job

Get-AzAutomationJobOutput -AutomationAccountName "Contoso17" -Id 2989b069-24fe-40b9-b3bd-cb7e5eac4b64 -ResourceGroupName "ResourceGroup01" -Stream "Any" | Get-AzAutomationJobOutputRecord

This command gets the full output of the job that has the specified job ID.

PARAMETERS

-AutomationAccountName

Specifies the name of an Automation account for which this cmdlet gets a job output record.

Type: System.String
Parameter Sets: (All)
Aliases:

Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-DefaultProfile

The credentials, account, tenant, and subscription used for communication with azure

Type: Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
Parameter Sets: (All)
Aliases: AzContext, AzureRmContext, AzureCredential

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Id

Specifies the ID of a job output record for this cmdlet to retrieve.

Type: System.String
Parameter Sets: (All)
Aliases: StreamRecordId

Required: True
Position: 3
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-JobId

Specifies the ID of a job for which this cmdlet gets an output record.

Type: System.Guid
Parameter Sets: (All)
Aliases:

Required: True
Position: 2
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-ResourceGroupName

Specifies the name of a resource group for which this cmdlet gets a job output record.

Type: System.String
Parameter Sets: (All)
Aliases:

Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

System.Guid

System.String

OUTPUTS

Microsoft.Azure.Commands.Automation.Model.JobStreamRecord

NOTES

RELATED LINKS

Get-AzAutomationJobOutput