Get-HcsUpdateAvailability
Get-HcsUpdateAvailability
Scans for updates.
Syntax
Parameter Set: Default
Get-HcsUpdateAvailability [-UpdateId <String> ] [ <CommonParameters>]
Detaillierte Beschreibung
The Get-HcsUpdateAvailability cmdlet scans for updates. The cmdlet tells you which updates are maintenance mode updates and which are normal updates. A maintenance mode update requires maintenance mode.
Parameter
-UpdateId<String>
Specifies an update ID.
Aliasse |
Keiner |
Erforderlich? |
false |
Position? |
named |
Standardwert |
Keiner |
Pipelineeingaben akzeptieren? |
false |
Platzhalterzeichen akzeptieren? |
false |
<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.HCSUpdateSearchResults
The HCSUpdateSearchResults object has the following properties:
-- RegularUpdates
-- MaintenanceModeUpdates
Beispiele
Example 1: Check for updates
This command checks for available updates for your device.
PS C:\> Get-HcsUpdateAvailability