Get-SCUpdate

Gets one or more updates.

Syntax

Get-SCUpdate [-ID <Guid>] [-VMMServer <ServerConnection>] [<CommonParameters>]
Get-SCUpdate [-KBArticle <String>] [-VMMServer <ServerConnection>] [<CommonParameters>]
Get-SCUpdate [-Name <String>] [-VMMServer <ServerConnection>] [<CommonParameters>]
Get-SCUpdate [-Newest <Int32>] [-VMMServer <ServerConnection>] [<CommonParameters>]
Get-SCUpdate [-SecurityBulletinId <String>] [-VMMServer <ServerConnection>] [<CommonParameters>]

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.

Examples

Example 1: Get a specific update by its bulletin identification number

PS C:\> Get-SCUpdate -SecurityBulletinID "MS05-051"

This command gets the security bulletin update named MS05-51.

Example 2: Get a specific update by its KB article number

PS C:\> Get-SCUpdate -KBArticle "93051"

This command gets the updated identified by KBArticle 93051.

Parameters

-ID

Specifies the numerical identifier as a globally unique identifier, or GUID, for a specific object.

Type:Guid
Required:False
Position:Named
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False
-KBArticle

Specifies the KB article ID number for an update.

Type:String
Required:False
Position:Named
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False
-Name

Specifies the name of a Virtual Machine Manager (VMM) object.

Type:String
Required:False
Position:Named
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False
-Newest

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 the 10 newest updates: Get-SCUpdate -Newest 10

Type:Int32
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-SecurityBulletinId

Specifies the Microsoft Security Response Center (MSRC) Security Bulletin ID for an update.

Example format: -SecurityBulletinId "MS05-045"

Type:String
Required:False
Position:Named
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False
-VMMServer

Specifies a VMM server object.

Type:ServerConnection
Required:False
Position:Named
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False

Outputs

Update

This cmdlet returns an **Update** object.