Get-CMSoftwareUpdateGroup
Get-CMSoftwareUpdateGroup
Gets software update groups.
Syntax
Parameter Set: SearchByName
Get-CMSoftwareUpdateGroup [-Name <String[]> ] [-SecuredScopeNames <String> ] [ <CommonParameters>]
Parameter Set: SearchByIdMandatory
Get-CMSoftwareUpdateGroup -Id <String[]> [-SecuredScopeNames <String> ] [ <CommonParameters>]
Detailed Description
The Get-CMSoftwareUpdateGroup cmdlet gets one or more software update groups in Microsoft System Center 2012 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 System Center 2012 Configuration Manager automatically deploys them.
Parameters
-Id<String[]>
Specifies an array of IDs of software update groups.
Aliases |
CIId |
Required? |
true |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
false |
-Name<String[]>
Specifies an array of names of software update groups.
Aliases |
LocalizedDisplayName |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
false |
-SecuredScopeNames<String>
Specifies a security scope name. A security scope name can be either Default or the name of a custom security scope.
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
false |
<CommonParameters>
This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).
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.
Examples
Example 1: Get software update groups
This command gets all software update groups.
PS C:\> Get-CMSoftwareUpdateGroup
Example 2: Get a software update group by using an ID
This command gets a software update group that has the ID ST10000D.
PS C:\> Get-CMSoftwareUpdateGroup -Id "ST10000D"
Example 3: Get a software update group by using a name
This command gets a software update group object named SUGroupD01.
PS C:\> Get-CMSoftwareUpdateGroup CMSoftwareUpdateGroup -Name "SUGroupD01"