Install-AzsUpdate

Een specifieke update toepassen op een updatelocatie.

Syntax

Install-AzsUpdate
       -Name <String>
       [-Location <String>]
       [-ResourceGroupName <String>]
       [-SubscriptionId <String>]
       [-DefaultProfile <PSObject>]
       [-AsJob]
       [-NoWait]
       [-Confirm]
       [-WhatIf]
       [<CommonParameters>]
Install-AzsUpdate
       -INPUTOBJECT \<IUpdateAdminIdentity>
       [-DefaultProfile <PSObject>]
       [-AsJob]
       [-NoWait]
       [-Confirm]
       [-WhatIf]
       [<CommonParameters>]

Description

Een specifieke update toepassen op een updatelocatie.

Voorbeelden

Voorbeeld 1: Install-AzsUpdate op naam

PS C:\> Install-AzsUpdate -Name Microsoft1.1907.0.10

Met Commandlet kunt u specifieke updates installeren op naam. Houd er rekening mee dat er een vereiste is dat de updateversie strikt groter is dan de huidige versie.

Parameters

-AsJob

Voer de opdracht uit als een taak

Type:SwitchParameter
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Confirm

Hiermee wordt u gevraagd om bevestiging voordat u de cmdlet uitvoert.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-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
-NoWait

Voer de opdracht asynchroon uit

Type:SwitchParameter
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
-WhatIf

Hiermee wordt weergegeven wat er zou gebeuren als u de cmdlet uitvoert. De cmdlet wordt niet uitgevoerd.

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Invoerwaarden

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

Uitvoerwaarden

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

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.