Get-CMSoftwareUpdateLicense

Get-CMSoftwareUpdateLicense

Gets a EULA or SLT for a software update in Configuration Manager.

Syntax

Parameter Set: SearchByName
Get-CMSoftwareUpdateLicense [-Name <String[]> ] [-SecuredScopeNames <String> ] [ <CommonParameters>]

Parameter Set: SearchByIdMandatory
Get-CMSoftwareUpdateLicense -Id <String[]> [-SecuredScopeNames <String> ] [ <CommonParameters>]

Parameter Set: SearchByValueMandatory
Get-CMSoftwareUpdateLicense -InputObject <IResultObject> [ <CommonParameters>]

Detailed Description

The Get-CMSoftwareUpdateLicense cmdlet gets an End User License Agreement (EULA) or Software License Terms (SLT) for a software update in Microsoft System Center 2012 SP1 Configuration Manager. You can specify a software update by ID or by name or use the Get-CMSoftwareUpdate cmdlet to obtain one. If you specify an ID or name, you can further specify a security scope membership.

Parameters

-Id<String[]>

Specifies an array of IDs for software updates.

Aliases

CIId

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-InputObject<IResultObject>

Specifies a software update object. To obtain a software update object, use the Get-CMSoftwareUpdate cmdlet.

Aliases

none

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 updates.

Aliases

LocalizedDisplayName

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-SecuredScopeNames<String>

Specifies a security scope membership.

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 a EULA or SLT for a software update

This command gets the EULA or SLT for a software update named UpdatePkg01 for the security scope named SecScope02.

PS C:\> Get-CMSoftwareUpdateLicense -Name "UpdatePkg01" -SecuredScopeNames "SecScope02"

Get-CMSoftwareUpdate