< Back

Remove-PSFLicense

Sun Jan 19, 2020 6:43 pm

NAME Remove-PSFLicense



SYNOPSIS

Removes a registered license from the license store





SYNTAX

Remove-PSFLicense [-License] <License[]> [-EnableException] [-WhatIf] [-Confirm] [<CommonParameters>]





DESCRIPTION

Removes a registered license from the license store





PARAMETERS

-License <License[]>

The license to remove



Required? true

Position? 1

Default value

Accept pipeline input? true (ByValue)

Accept wildcard characters? false



-EnableException [<SwitchParameter>]

This parameters disables user-friendly warnings and enables the throwing of exceptions.

This is less user friendly, but allows catching exceptions in calling scripts.



Required? false

Position? named

Default value False

Accept pipeline input? false

Accept wildcard characters? false



-WhatIf [<SwitchParameter>]

If this switch is enabled, no actions are performed but informational messages will be displayed that explain

what would happen if the command were to run.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Confirm [<SwitchParameter>]

If this switch is enabled, you will be prompted for confirmation before executing any operations that change

state.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS



-------------------------- EXAMPLE 1 --------------------------



PS C:\\>Get-PSFLicense "FooBar" | Remove-PSFLicense



Removes the license for the product "FooBar" from the license store.











RELATED LINKS