Get-CMSoftwareUpdateGroup

Gets software update groups.

Syntax

Get-CMSoftwareUpdateGroup
   [-Name <String>]
   [-DisableWildcardHandling]
   [-ForceWildcardHandling]
   [<CommonParameters>]
Get-CMSoftwareUpdateGroup
   -Id <Int32[]>
   [-DisableWildcardHandling]
   [-ForceWildcardHandling]
   [<CommonParameters>]

Description

The Get-CMSoftwareUpdateGroup cmdlet gets one or more software update groups in Configuration Manager. A software update group is a collection of one or more software updates. You can add software updates to a software update group and then deploy the group to clients. After you deploy a software update group, you can add new software updates to the group and Configuration Manager automatically deploys them.

Note

Run Configuration Manager cmdlets from the Configuration Manager site drive, for example PS XYZ:\>. For more information, see getting started.

Examples

Example 1: Get software update groups

PS XYZ:\> Get-CMSoftwareUpdateGroup

This command gets all software update groups.

Example 2: Get a software update group by using an ID

PS XYZ:\> Get-CMSoftwareUpdateGroup -Id "ST10000D"

This command gets a software update group that has the ID ST10000D.

Example 3: Get a software update group by using a name

PS XYZ:\> Get-CMSoftwareUpdateGroup -Name "SUGroupD01"

This command gets a software update group object named SUGroupD01.

Parameters

-DisableWildcardHandling

This parameter treats wildcard characters as literal character values. You can't combine it with ForceWildcardHandling.

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

-ForceWildcardHandling

This parameter processes wildcard characters and may lead to unexpected behavior (not recommended). You can't combine it with DisableWildcardHandling.

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

-Id

Specifies an array of IDs of software update groups.

Type:Int32[]
Aliases:CIId, CI_ID
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-Name

Specifies an array of names of software update groups.

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

Inputs

None

Outputs

IResultObject[]

IResultObject