Get-HcsUpdateStatus

Get-HcsUpdateStatus

Gets the current status of updates.

구문

Get-HcsUpdateStatus [ <CommonParameters>]

자세한 설명

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.

매개 변수

<CommonParameters>

이 cmdlet은 일반 매개 변수 -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer 및 -OutVariable을 지원합니다. 자세한 내용은 다음을 참조하세요. about_CommonParameters(https://go.microsoft.com/fwlink/p/?LinkID=113216).

입력

입력 유형은 cmdlet에 파이프할 수 있는 개체의 유형입니다.

출력

출력 유형은 cmdlet이 내보내는 개체의 유형입니다.

  • Microsoft.HCS.Management.Patching.HcsUpdateStatus

    The HcsUpdateStatus object has the following properties:

    -- RunInprogress
    -- DateTime LastHotfixTimestamp
    -- DateTime LastUpdateTimestamp
    -- IEnumerable<HcsUpdateEvent> Controller0Events
    -- IEnumerable<HcsUpdateEvent> Controller1Events

예제

Example 1: Get status of updates

This command gets the current status of updates on your device.

PS C:\> Get-HcsUpdateStatus

관련 항목

Get-HcsUpdateAvailability

Start-HcsUpdate

Start-HcsHotfix