Get-CMSoftwareUpdateLicense

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

Syntax

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

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
Position:Named
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False

Optional Parameters

-DisableWildcardHandling

DisableWildcardHandling treats wildcard characters as literal character values. Cannot be combined with ForceWildcardHandling.

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

ForceWildcardHandling processes wildcard characters and may lead to unexpected behavior (not recommended). Cannot be combined with DisableWildcardHandling.

Type:SwitchParameter
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
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-PassThru

Returns the current working object. By default, this cmdlet does not generate any output.

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