Skip to content

Latest commit

 

History

History
32 lines (26 loc) · 1.63 KB

Set-CIPPExcludeLicense.md

File metadata and controls

32 lines (26 loc) · 1.63 KB

Set-CIPPExcludeLicense

SYNOPSIS

Sets the exclusion status of a license in CIPP.

DESCRIPTION

The Set-CIPPExcludeLicense function is used to set the exclusion status of a license in CIPP. It allows you to add or remove a license from the exclusion list.

PARAMETERS

-LicenseGUID

Foo Foo
Specifies the GUID of the license to be excluded or included.

-SKUName

Foo Foo
Specifies the SKU name of the license.

-RemoveExclusion

Foo Foo Foo
Indicates whether to remove the license from the exclusion list. This switch cannot be used together with the -AddExclusion switch.

-AddExclusion

Foo Foo Foo
Indicates whether to add the license to the exclusion list. This switch cannot be used together with the -RemoveExclusion switch.

EXAMPLE 1

PS > Set-CIPPExcludeLicense -LicenseGUID "12345678-1234-1234-1234-1234567890AB" -SKUName "ExampleSKU" -RemoveExclusion

EXAMPLE 2

PS > Set-CIPPExcludeLicense -LicenseGUID "12345678-1234-1234-1234-1234567890AB" -SKUName "ExampleSKU" -AddExclusion