Get-SCUpdate

Gets one or more updates.

Description

The Get--SCUpdate cmdlet gets one or more updates. An update contains metadata that enables the ability to determine the applicability and installation status of an update that is assigned to a target computer using a baseline. 

For more information about Get-SCUpdate, type: "Get-Help Get-SCUpdate -online".

Parameters

SecurityBulletinId

Required? false
Accept Pipeline Input? true (ByValue)
Position? named
Specifies the Microsoft Security Response Center (MSRC) Security Bulletin ID for an update.  

Example format: -SecurityBulletinId "MS05-045"

VMMServer

Required? false
Accept Pipeline Input? true (ByValue)
Position? named
Specifies a VMM server object.

ID

Required? false
Accept Pipeline Input? true (ByValue)
Position? named
Specifies the numerical identifier (as a globally unique identifier, or GUID) for a specific object.

VMMServer

Required? false
Accept Pipeline Input? true (ByValue)
Position? named
Specifies a VMM server object.

KBArticle

Required? false
Accept Pipeline Input? true (ByValue)
Position? named
Specifies the KB article ID number for an update.

VMMServer

Required? false
Accept Pipeline Input? true (ByValue)
Position? named
Specifies a VMM server object.

Name

Required? false
Accept Pipeline Input? true (ByValue)
Position? named
Specifies the name of a VMM object.

VMMServer

Required? false
Accept Pipeline Input? true (ByValue)
Position? named
Specifies a VMM server object.

Newest

Required? false
Accept Pipeline Input? false
Position? named
Returns all jobs created in the last specified number of hours, or returns the specified number of most recent software updates.

Example format to return all jobs created in the last 48 hours: Get-SCJob -Newest 48
Example format to return the 10 newest updates: Get-SCUpdate -Newest 10

VMMServer

Required? false
Accept Pipeline Input? true (ByValue)
Position? named
Specifies a VMM server object.

Examples

1: Get a specfic update by its bulletin identification number.
PS C:\> Get-SCUpdate -SecurityBulletinID "MS05-051"
This command gets the security bulletin update named MS05-51.
2: Get a specific update by its KBArticle number.
PS C:\> Get-SCUpdate -KBArticle "93051"
This command gets the updated identified by KBArticle 93051.

See Also