Get-CMSoftwareUpdateLicense

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

Syntax

Get-CMSoftwareUpdateLicense
   [-DisableWildcardHandling]
   [-EulaAcceptance <EulaAcceptance>]
   [-ForceWildcardHandling]
   -InputObject <IResultObject>
   [-PassThru]
   [<CommonParameters>]
Get-CMSoftwareUpdateLicense [-DisableWildcardHandling] [-EulaAcceptance ]
 [-ForceWildcardHandling] [-Name ] [-PassThru] []

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

Examples

Example 1: Get a EULA or SLT for a software update

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

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

Required Parameters

-InputObject

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

Type:IResultObject
Required:True
Position:Named
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False

Optional Parameters

-DisableWildcardHandling

Indicates that wildcard handling is disabled.

Type:SwitchParameter
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-EulaAcceptance
Type:EulaAcceptance
Parameter Sets:Declined, Accepted, Unknown
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-ForceWildcardHandling

Indicates that wildcard handling is enabled.

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

Specifies an array of names of software updates.

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

Returns an object representing the item with which you are working. By default, this cmdlet does not generate any output.

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