< Back
Get-AzureRmAutomationJobOutput
Post
NAME Get-AzureRmAutomationJobOutput
SYNOPSIS
Gets the output of an Automation job.
SYNTAX
Get-AzureRmAutomationJobOutput [-ResourceGroupName] <String> [-AutomationAccountName] <String> [-Id] <Guid> [-DefaultProfile
<IAzureContextContainer>] [-StartTime <DateTimeOffset>] [-Stream {Any | Progress | Output | Warning | Error | Debug | Verbose}]
[<CommonParameters>]
DESCRIPTION
The Get-AzureRmAutomationJobOutput cmdlet gets the output of an Azure Automation job.
PARAMETERS
-AutomationAccountName <String>
Specifies the name of an Automation account for which this cmdlet gets job output.
Required? true
Position? 1
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-DefaultProfile <IAzureContextContainer>
The credentials, account, tenant, and subscription used for communication with azure
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-Id <Guid>
Specifies the ID of a job for which this cmdlet gets output.
Required? true
Position? 2
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-ResourceGroupName <String>
Specifies the name of a resource group for which this cmdlet gets job output.
Required? true
Position? 0
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-StartTime <DateTimeOffset>
Specifies a start time as a DateTimeOffset object. You can specify a string that can be converted to a valid DateTimeOffset . The cmdlet
retrieves output created after this time.
Required? false
Position? named
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-Stream <StreamType>
Specifies the type of output. Valid values are:
- Any
- Debug
- Error
- Output
- Progress
- Verbose
- Warning
Required? false
Position? named
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
None
This cmdlet does not accept any input.
OUTPUTS
Microsoft.Azure.Commands.Automation.Model.JobStream
NOTES
Example 1: Get the output of an Automation job
PS C:\\>Get-AzureRmAutomationJobOutput -AutomationAccountName "Contoso17" -Id 2989b069-24fe-40b9-b3bd-cb7e5eac4b64 -ResourceGroupName
"ResourceGroup01" -Stream "Any"
This command gets all of the output of the job that has the specified ID.
RELATED LINKS
Online Version: https://docs.microsoft.com/en-us/powers ... njoboutput
Get-AzureRmAutomationJob
Resume-AzureRmAutomationJob
Stop-AzureRmAutomationJob
Suspend-AzureRmAutomationJob
SYNOPSIS
Gets the output of an Automation job.
SYNTAX
Get-AzureRmAutomationJobOutput [-ResourceGroupName] <String> [-AutomationAccountName] <String> [-Id] <Guid> [-DefaultProfile
<IAzureContextContainer>] [-StartTime <DateTimeOffset>] [-Stream {Any | Progress | Output | Warning | Error | Debug | Verbose}]
[<CommonParameters>]
DESCRIPTION
The Get-AzureRmAutomationJobOutput cmdlet gets the output of an Azure Automation job.
PARAMETERS
-AutomationAccountName <String>
Specifies the name of an Automation account for which this cmdlet gets job output.
Required? true
Position? 1
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-DefaultProfile <IAzureContextContainer>
The credentials, account, tenant, and subscription used for communication with azure
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-Id <Guid>
Specifies the ID of a job for which this cmdlet gets output.
Required? true
Position? 2
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-ResourceGroupName <String>
Specifies the name of a resource group for which this cmdlet gets job output.
Required? true
Position? 0
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-StartTime <DateTimeOffset>
Specifies a start time as a DateTimeOffset object. You can specify a string that can be converted to a valid DateTimeOffset . The cmdlet
retrieves output created after this time.
Required? false
Position? named
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-Stream <StreamType>
Specifies the type of output. Valid values are:
- Any
- Debug
- Error
- Output
- Progress
- Verbose
- Warning
Required? false
Position? named
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
None
This cmdlet does not accept any input.
OUTPUTS
Microsoft.Azure.Commands.Automation.Model.JobStream
NOTES
Example 1: Get the output of an Automation job
PS C:\\>Get-AzureRmAutomationJobOutput -AutomationAccountName "Contoso17" -Id 2989b069-24fe-40b9-b3bd-cb7e5eac4b64 -ResourceGroupName
"ResourceGroup01" -Stream "Any"
This command gets all of the output of the job that has the specified ID.
RELATED LINKS
Online Version: https://docs.microsoft.com/en-us/powers ... njoboutput
Get-AzureRmAutomationJob
Resume-AzureRmAutomationJob
Stop-AzureRmAutomationJob
Suspend-AzureRmAutomationJob