Get-HcsUpdateStatus
Get-HcsUpdateStatus
Gets the current status of updates.
Syntax
Get-HcsUpdateStatus [ <CommonParameters>]
Detaillierte Beschreibung
The Get-HcsUpdateStatus cmdlet gets the current status of updates. The cmdlet provides the timestamp of the last update, indicates whether any updates are in progress, and provides any errors that occurred after the last successful update.
Parameter
<CommonParameters>
Dieses Cmdlet unterstützt die allgemeinen Parameter: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, -OutVariable. Weitere Informationen finden Sie unter about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).
Eingaben
Der Eingabetyp ist der Typ der Objekte, die über die Pipeline an das Cmdlet übergeben werden können.
Ausgaben
Der Ausgabetyp ist der Typ der Objekte, die vom Cmdlet ausgegeben werden.
Microsoft.HCS.Management.Patching.HcsUpdateStatus
The HcsUpdateStatus object has the following properties:
-- RunInprogress
-- DateTime LastHotfixTimestamp
-- DateTime LastUpdateTimestamp
-- IEnumerable<HcsUpdateEvent> Controller0Events
-- IEnumerable<HcsUpdateEvent> Controller1Events
Beispiele
Example 1: Get status of updates
This command gets the current status of updates on your device.
PS C:\> Get-HcsUpdateStatus