Get-SCUpdate

Applies To: System Center 2012 - Virtual Machine Manager

Get-SCUpdate

Gets one or more updates.

Syntax

Parameter Set: ID
Get-SCUpdate [-ID <Guid> ] [-VMMServer <ServerConnection> ] [ <CommonParameters>]

Parameter Set: BulletinId
Get-SCUpdate [-SecurityBulletinId <String> ] [-VMMServer <ServerConnection> ] [ <CommonParameters>]

Parameter Set: KBArticle
Get-SCUpdate [-KBArticle <String> ] [-VMMServer <ServerConnection> ] [ <CommonParameters>]

Parameter Set: Name
Get-SCUpdate [-Name <String> ] [-VMMServer <ServerConnection> ] [ <CommonParameters>]

Parameter Set: Newest
Get-SCUpdate [-Newest <Int32> ] [-VMMServer <ServerConnection> ] [ <CommonParameters>]

Detailed 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

-ID<Guid>

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

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

true (ByValue)

Accept Wildcard Characters?

false

-KBArticle<String>

Specifies the KB article ID number for an update.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

true (ByValue)

Accept Wildcard Characters?

false

-Name<String>

Specifies the name of a VMM object.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

true (ByValue)

Accept Wildcard Characters?

false

-Newest<Int32>

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

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-SecurityBulletinId<String>

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

Example format: -SecurityBulletinId "MS05-045"

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

true (ByValue)

Accept Wildcard Characters?

false

-VMMServer<ServerConnection>

Specifies a VMM server object.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

true (ByValue)

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see about_CommonParameters.

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

Outputs

The output type is the type of the objects that the cmdlet emits.

  • Update

Examples

1: Get a specfic update by its bulletin identification number.

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

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

2: Get a specific update by its KBArticle number.

This command gets the updated identified by KBArticle 93051.

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

Set-SCUpdate