Get-SCUpdate
Gets one or more updates.
Syntax
ID (Default)
Get-SCUpdate
[-VMMServer <ServerConnection>]
[-ID <Guid>]
[<CommonParameters>]
Name
Get-SCUpdate
[-VMMServer <ServerConnection>]
[-Name <String>]
[<CommonParameters>]
KBArticle
Get-SCUpdate
[-VMMServer <ServerConnection>]
[-KBArticle <String>]
[<CommonParameters>]
BulletinId
Get-SCUpdate
[-VMMServer <ServerConnection>]
[-SecurityBulletinId <String>]
[<CommonParameters>]
Newest
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.
Parameter properties
Type: | Guid |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
ID
Position: | Named |
Mandatory: | False |
Value from pipeline: | True |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-KBArticle
Specifies the KB article ID number for an update.
Parameter properties
Type: | String |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
KBArticle
Position: | Named |
Mandatory: | False |
Value from pipeline: | True |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-Name
Specifies the name of a Virtual Machine Manager (VMM) object.
Parameter properties
Type: | String |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
Name
Position: | Named |
Mandatory: | False |
Value from pipeline: | True |
Value from pipeline by property name: | False |
Value from remaining arguments: | 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
Parameter properties
Type: | Int32 |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
Newest
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-SecurityBulletinId
Specifies the Microsoft Security Response Center (MSRC) Security Bulletin ID for an update.
Example format: -SecurityBulletinId "MS05-045"
Parameter properties
Type: | String |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
BulletinId
Position: | Named |
Mandatory: | False |
Value from pipeline: | True |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-VMMServer
Specifies a VMM server object.
Parameter properties
Type: | ServerConnection |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | Named |
Mandatory: | False |
Value from pipeline: | True |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
Outputs
Update
This cmdlet returns an Update object.