Data ONTAP® PowerShell Toolkit

Switch to Data ONTAP 7-mode documentation.

Cmdlet: Remove-NcLicense


NAME
Remove-NcLicense

SYNOPSIS
Removes license for a Data ONTAP service.

SYNTAX
Remove-NcLicense [-Package] <String> [[-SerialNumber] <String>] [-Controller
<NcController[]>] [<CommonParameters>]

Remove-NcLicense -Unused [-Controller <NcController[]>] [<CommonParameters>]

Remove-NcLicense -Expired [-Controller <NcController[]>] [<CommonParameters>
]


DESCRIPTION
Removes license for a Data ONTAP service.


PARAMETERS
-Package <String>
Package to remove.

Possible values:
"base" - Cluster Base License
"nfs" - NFS License
"cifs" - CIFS License
"iscsi" - iSCSI License
"fcp" - FCP License
"cdmi" - CDMI License
"snaprestore" - SnapRestore License
"snapmirror" - SnapMirror License
"flexclone" - FlexClone License
"snapvault" - SnapVault License
"snaplock" - SnapLock License
"snapmanagersuite" - SnapManagerSuite License
"snapprotectapps" - SnapProtectApp License
"v_storageattach" - Virtual Attached Storage License

Required? true
Position? 1
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false

-SerialNumber <String>
Serial number of the node associated with the license. If this parameter
is not provided, the default serial number used is the cluster serial n
umber.

Required? false
Position? 2
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false

-Controller <NcController[]>
A clustered Data ONTAP controller to receive this cmdlet, as embodied by
an NcController object. This parameter is returned by the Connect-NcCo
ntroller cmdlet. If not specified, the value in the global variable Cur
rentNcController is used. In the latter case, if CurrentNcController co
ntains a collection of NcController objects, this cmdlet is invoked on e
ach controller in succession.

Required? false
Position? named
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false

-Unused
If specified, licenses that have no controller affiliation in the cluste
r will be removed.

Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false

-Expired
If specified, licenses that have expired in the cluster will be removed.

Required? true
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 and OutVariable. For more information, type,
"get-help about_commonparameters".

INPUTS



OUTPUTS



NOTES


Category: license
API: license-v2-delete,license-v2-delete-unused,license-v2-delete-expire
d
Family: cluster

-------------- Example 1 --------------

C:\PS>Remove-NcLicense fcp


Remove the fcp license.






RELATED LINKS
Get-NcLicense
Add-NcLicense







 Data ONTAP® PowerShell Toolkit