Get-AzsUpdateRun

Get the list of update runs.

Syntax

Get-AzsUpdateRun
   -UpdateName <String>
   [-Location <String>]
   [-ResourceGroupName <String>]
   [-Skip <Int32>]
   [-Top <Int32>]
   [<CommonParameters>]
Get-AzsUpdateRun
   -Name <String>
   -UpdateName <String>
   [-Location <String>]
   [-ResourceGroupName <String>]
   [<CommonParameters>]
Get-AzsUpdateRun
   -ResourceId <String>
   [<CommonParameters>]

Description

Get the list of update runs. Instances of the UpdateRun objects returned can be piped to Restart-AzsUpdateRun, when applicable.

Examples

EXAMPLE 1

Get-AzsUpdateRun -UpdateName Microsoft1.0.180302.1

Get a list of all attempts to apply a specific update.

Parameters

-Location

The name of the update location.

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Name

Update run identifier.

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-ResourceGroupName

The resource group the resource is located under.

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-ResourceId

The resource id.

Type:String
Aliases:id
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-Skip

Skip the first N items as specified by the parameter value.

Type:Int32
Position:Named
Default value:-1
Accept pipeline input:False
Accept wildcard characters:False
-Top

Return the top N items as specified by the parameter value. Applies after the -Skip parameter.

Type:Int32
Position:Named
Default value:-1
Accept pipeline input:False
Accept wildcard characters:False
-UpdateName

Name of the update.

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

Outputs

Microsoft.AzureStack.Management.Update.Admin.Models.UpdateRun