Get-HcsUpdateStatus
Gets the current status of updates.
Syntax
Get-HcsUpdateStatus []
Description
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.
Examples
Example 1: Get status of updates
PS C:\>Get-HcsUpdateStatus
This command gets the current status of updates on your device.
Outputs
Microsoft.HCS.Management.Patching.HcsUpdateStatus
The HcsUpdateStatus object has the following properties:
- RunInprogress
- DateTime LastHotfixTimestamp
- DateTime LastUpdateTimestamp
- IEnumerable<HcsUpdateEvent> Controller0Events
- IEnumerable<HcsUpdateEvent> Controller1Events
Related Links
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: Under hela 2024 kommer vi att fasa ut GitHub-problem som feedbackmekanism för innehåll och ersätta det med ett nytt feedbacksystem. Mer information finns i:Skicka och visa feedback för