Start-HcsUpdate
Start-HcsUpdate
Installs updates.
Sintassi
Parameter Set: Default
Start-HcsUpdate [-Force] [-UpdateId <String> ] [-Confirm] [-WhatIf] [ <CommonParameters>]
Descrizione dettagliata
The Start-HcsUpdate cmdlet installs updates on a device. If the device is in maintenance mode, the cmdlet installs only disruptive updates. If the device is not in maintenance mode, the cmdlet installs only normal updates.
For updates that do not require maintenance mode, this cmdlet installs the update on both controllers.
For all updates that require maintenance mode, run this cmdlet on each controller. If you do not to run this cmdlet on each controller, data may become corrupted.
Parametri
-Force
Forza l'esecuzione del comando senza chiedere conferma all'utente.
Alias |
nessuno |
Obbligatorio? |
false |
Posizione? |
named |
Valore predefinito |
nessuno |
Accetta input da pipeline? |
false |
Accetta caratteri jolly? |
false |
-UpdateId<String>
Specifies an update ID. The cmdlet installs the particular update specified by the ID.
Alias |
nessuno |
Obbligatorio? |
false |
Posizione? |
named |
Valore predefinito |
nessuno |
Accetta input da pipeline? |
false |
Accetta caratteri jolly? |
false |
-Confirm
Richiede conferma prima di eseguire il cmdlet.
Obbligatorio? |
false |
Posizione? |
named |
Valore predefinito |
False |
Accetta input da pipeline? |
false |
Accetta caratteri jolly? |
false |
-WhatIf
Mostra gli effetti dell'esecuzione del cmdlet. Il cmdlet non viene eseguito.
Obbligatorio? |
false |
Posizione? |
named |
Valore predefinito |
False |
Accetta input da pipeline? |
false |
Accetta caratteri jolly? |
false |
<CommonParameters>
Questo cmdlet supporta i parametri comuni: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer e -OutVariable. Per altre informazioni, vedere about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).
Input
Il tipo di input è il tipo degli oggetti che è possibile reindirizzare al cmdlet.
Output
Il tipo di output corrisponde al tipo di oggetti generati dal cmdlet.
Boolean
This cmdlet generates a value of $True if it starts installing an update or a value of $False if there are no updates available.
Esempi
Example 1: Install updates
This command installs available updates.
PS C:\> Start-HcsUpdate