PS C:\> Get-AzsUpdateRun
cmdlet Get-AzsUpdateRun at command pipeline position 1
Supply values for the following parameters:
UpdateName: Microsoft1.1907.0.10
Name State ProgressStartTimeUtc ProgressEndTimeUtc
---- ----- -------------------- ------------------
northwest/Microsoft1.1907.0.10/45aaeb... Failed 7/11/2019 3:07:10 PM 7/11/2019 7:38:05 PM
northwest/Microsoft1.1907.0.10/51e878... Succeeded 7/11/2019 3:07:10 PM 7/12/2019 6:47:37 AM
If a UpdateName value is not specified, Get-UpdateRun will always ask for input.
Once provided, it will output all instances of UpdateRun that were Failed or Successful
Example 2: Get-AzsUpdateRun By UpdateName
PS C:\> Get-AzsUpdateRun -UpdateName Microsoft1.1907.0.10
or
PS C:\> Get-AzsUpdateRun -UpdateName northwest/Microsoft1.1907.0.10
Name State ProgressStartTimeUtc ProgressEndTimeUtc
---- ----- -------------------- ------------------
northwest/Microsoft1.1907.0.10/45aaeb... Failed 7/11/2019 3:07:10 PM 7/11/2019 7:38:05 PM
northwest/Microsoft1.1907.0.10/51e878... Succeeded 7/11/2019 3:07:10 PM 7/12/2019 6:47:37 AM
Will retrieve all UpdateRuns associated with a specific Update
Subscription credentials which uniquely identify Microsoft Azure subscription.
The subscription ID forms part of the URI for every service call.
Parameter properties
Type:
System.String[]
Default value:
(Get-AzContext).Subscription.Id
Supports wildcards:
False
DontShow:
False
Parameter sets
Get
Position:
Named
Mandatory:
False
Value from pipeline:
False
Value from pipeline by property name:
False
Value from remaining arguments:
False
List
Position:
Named
Mandatory:
False
Value from pipeline:
False
Value from pipeline by property name:
False
Value from remaining arguments:
False
-UpdateName
Name of the update.
Parameter properties
Type:
System.String
Default value:
None
Supports wildcards:
False
DontShow:
False
Parameter sets
Get
Position:
Named
Mandatory:
True
Value from pipeline:
False
Value from pipeline by property name:
False
Value from remaining arguments:
False
List
Position:
Named
Mandatory:
True
Value from pipeline:
False
Value from pipeline by property name:
False
Value from remaining arguments:
False
CommonParameters
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.
COMPLEX PARAMETER PROPERTIES
To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.
[ResourceGroupName <String>]: Resource group name.
[RunName <String>]: Update run identifier.
[SubscriptionId <String>]: Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.
[UpdateLocation <String>]: The name of the update location.