Get-SCUpdate

Gets one or more updates.

Syntax

Get-SCUpdate
   [-VMMServer <ServerConnection>]
   [-ID <Guid>]
   [<CommonParameters>]
Get-SCUpdate
   [-VMMServer <ServerConnection>]
   [-Name <String>]
   [<CommonParameters>]
Get-SCUpdate
   [-VMMServer <ServerConnection>]
   [-KBArticle <String>]
   [<CommonParameters>]
Get-SCUpdate
   [-VMMServer <ServerConnection>]
   [-SecurityBulletinId <String>]
   [<CommonParameters>]
Get-SCUpdate
   [-VMMServer <ServerConnection>]
   [-Newest <Int32>]
   [<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
Position:Named
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False

-KBArticle

Specifies the KB article ID number for an update.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False

-Name

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

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:True
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
Position:Named
Default value:None
Required:False
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
Position:Named
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False

-VMMServer

Specifies a VMM server object.

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

Outputs

Update

This cmdlet returns an Update object.