Get-AzsUpdate

Een specifieke update ophalen op een updatelocatie.

Syntax

Get-AzsUpdate
   [-Location <String>]
   [-ResourceGroupName <String>]
   [-SubscriptionId <String[]>]
   [-DefaultProfile <PSObject>]
   [<CommonParameters>]
Get-AzsUpdate
   -Name <String>
   [-Location <String>]
   [-ResourceGroupName <String>]
   [-SubscriptionId <String[]>]
   [-DefaultProfile <PSObject>]
   [<CommonParameters>]
Get-AzsUpdate
   -INPUTOBJECT \<IUpdateAdminIdentity>
   [-DefaultProfile <PSObject>]
   [<CommonParameters>]

Description

Een specifieke update ophalen op een updatelocatie.

Voorbeelden

Voorbeeld 1: Alle Updates ophalen

PS C:\> Get-AzsUpdate

Location        DisplayName                    Name                                     State                Publisher
--------        -----------                    ----                                     -----                ---------
northwest       AzS Update - 1.1907.0.10       northwest/Microsoft1.1907.0.10           Installed            Microsoft
northwest       AzS Update - 1.1907.0.13       northwest/Microsoft1.1907.0.13           Installed            Microsoft
northwest       AzS Update - 1.1907.0.20       northwest/Microsoft1.1907.0.20           Installed            Microsoft

Zonder parameters vermeldt Get-AzsUpdate alle updates die de stempel kan detecteren

Voorbeeld 2: Update op naam ophalen

PS C:\> Get-AzsUpdate -Name Microsoft1.1907.0.10
or
PS C:\> Get-AzsUpdate -Name northwest/Microsoft1.1907.0.10


Location        DisplayName                    Name                                     State                Publisher
--------        -----------                    ----                                     -----                ---------
northwest       AzS Update - 1.1907.0.10       northwest/Microsoft1.1907.0.10           Installed            Microsoft

Haalt alle updates op die overeenkomen met de opgegeven naam

Voorbeeld 3: Alle Updates op locatie ophalen

PS C:\> Get-AzsUpdate -Location northwest

Location        DisplayName                    Name                                     State                Publisher
--------        -----------                    ----                                     -----                ---------
northwest       AzS Update - 1.1907.0.10       northwest/Microsoft1.1907.0.10           Installed            Microsoft
northwest       AzS Update - 1.1907.0.13       northwest/Microsoft1.1907.0.13           Installed            Microsoft
northwest       AzS Update - 1.1907.0.20       northwest/Microsoft1.1907.0.20           Installed            Microsoft

Alle updates binnen een opgegeven locatie worden opgehaald. Momenteel wordt slechts één locatie ondersteund, dus dit is het equivalent als alleen Get-AzsUpdate

Parameters

-DefaultProfile

De referenties, het account, de tenant en het abonnement dat wordt gebruikt voor communicatie met Azure.

Type:PSObject
Aliases:AzureRMContext, AzureCredential
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-InputObject

Identiteitsparameter Om te maken, raadpleegt u de sectie NOTES voor INPUTOBJECT-eigenschappen en maakt u een hash-tabel.

Type:Microsoft.Azure.PowerShell.Cmdlets.UpdateAdmin.Models.IUpdateAdminIdentity
Position:Named
Default value:None
Accept pipeline input:True
Accept wildcard characters:False
-Location

De naam van de updatelocatie.

Type:String
Position:Named
Default value:(Get-AzLocation)[0].Location
Accept pipeline input:False
Accept wildcard characters:False
-Name

Naam van de update.

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

Naam van de resourcegroep.

Type:String
Position:Named
Default value:-join("System.",(Get-AzLocation)[0].Location)
Accept pipeline input:False
Accept wildcard characters:False
-SubscriptionId

Abonnementsreferenties die het Microsoft Azure-abonnement uniek identificeren. De abonnements-id maakt deel uit van de URI voor elke serviceoproep.

Type:String[]
Position:Named
Default value:(Get-AzContext).Subscription.Id
Accept pipeline input:False
Accept wildcard characters:False

Invoerwaarden

Microsoft.Azure.PowerShell.Cmdlets.UpdateAdmin.Models.IUpdateAdminIdentity

Uitvoerwaarden

Microsoft.Azure.PowerShell.Cmdlets.UpdateAdmin.Models.Api20160501.IUpdate

Notities

COMPLEXE PARAMETEREIGENSCHAPPEN Om de hieronder beschreven parameters te maken, maakt u een hash-tabel met de juiste eigenschappen. Voer Get-Help about_Hash_Tables uit voor informatie over hashtabellen.

INPUTOBJECT <IUpdateAdminIdentity>: Identiteitsparameter

  • [Id <String>]: Pad naar resource-id
  • [ResourceGroupName <String>]: Naam van resourcegroep.
  • [RunName <String>]: Uitvoerings-id bijwerken.
  • [SubscriptionId <String>]: Abonnementsreferenties die het Microsoft Azure-abonnement uniek identificeren. De abonnements-id maakt deel uit van de URI voor elke serviceoproep.
  • [UpdateLocation <String>]: De naam van de updatelocatie.
  • [UpdateName <String>]: Naam van de update.