Get-AzsUpdate
Rufen Sie ein bestimmtes Update an einem Updatespeicherort ab.
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>]
Beschreibung
Rufen Sie ein bestimmtes Update an einem Updatespeicherort ab.
Beispiele
Beispiel 1: Abrufen aller Aktualisierungen
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
Ohne Parameter listet Get-AzsUpdate alle Updates auf, die der Stempel ermitteln kann.
Beispiel 2: Abrufen von Update nach Name
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
Ruft alle Updates ab, die dem angegebenen Namen entsprechen
Beispiel 3: Abrufen aller Aktualisierungen nach Speicherort
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
Ruft alle Updates innerhalb eines angegebenen Speicherorts ab. Derzeit wird nur ein Speicherort unterstützt, sodass dies genauso wie Get-AzsUpdate
Parameter
Anmeldeinformationen, Konto, Mandant und Abonnement für die Kommunikation mit Azure
| Type: | PSObject |
| Aliases: | AzureRMContext, AzureCredential |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
Identity Parameter To create, see NOTES section for INPUTOBJECT properties and create a hash table.
| Type: | Microsoft.Azure.PowerShell.Cmdlets.UpdateAdmin.Models.IUpdateAdminIdentity |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | True |
| Accept wildcard characters: | False |
Der Name des Aktualisierungsspeicherorts.
| Type: | String |
| Position: | Named |
| Default value: | (Get-AzLocation)[0].Location |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
Name des Updates.
| Type: | String |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
Ressourcengruppenname
| Type: | String |
| Position: | Named |
| Default value: | -join("System.",(Get-AzLocation)[0].Location) |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
Abonnementanmeldeinformationen, die Microsoft Azure-Abonnement eindeutig identifizieren. Die Abonnement-ID ist Teil des URI für jeden Dienstaufruf.
| Type: | String[] |
| Position: | Named |
| Default value: | (Get-AzContext).Subscription.Id |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
Eingaben
Microsoft.Azure.PowerShell.Cmdlets.UpdateAdmin.Models.IUpdateAdminIdentity
Ausgaben
Microsoft.Azure.PowerShell.Cmdlets.UpdateAdmin.Models.Api20160501.IUpdate
Hinweise
KOMPLEXE PARAMETEREIGENSCHAFTEN Zum Erstellen der unten beschriebenen Parameter erstellen Sie eine Hashtabelle mit den entsprechenden Eigenschaften. Führen Sie Get-Help about_Hash_Tables aus, um Informationen zu Hashtabellen zu erstellen.
INPUTOBJECT <IUpdateAdminIdentity>: Identitätsparameter
[Id <String>]: Ressourcenidentitätspfad[ResourceGroupName <String>]: Ressourcengruppenname.[RunName <String>]: Bezeichner des Ausführens aktualisieren.[SubscriptionId <String>]: Abonnementanmeldeinformationen, die Microsoft Azure-Abonnement eindeutig identifizieren. Die Abonnement-ID ist Teil des URI für jeden Dienstaufruf.[UpdateLocation <String>]: Der Name des Aktualisierungsspeicherorts.[UpdateName <String>]: Name des Updates.