Data ONTAP® PowerShell Toolkit

Switch to clustered Data ONTAP documentation.

Cmdlet: Remove-NaLicense


NAME
Remove-NaLicense

SYNOPSIS
Disable license for a Data ONTAP service.

SYNTAX
Remove-NaLicense [[-Name] <String[]>] [-Controller <NaController>] [<CommonP
arameters>]


DESCRIPTION
Disable license for a Data ONTAP service.

Prior to Data ONTAP 8.2, the cmdlet will return the LicenseInfo of the licen
se that is disabled. For Data ONTAP 8.2 and up, if no error is written, the
license has been removed successfully.


PARAMETERS
-Name <String[]>
Names of the Data ONTAP services to be disabled.

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

-Controller <NaController>
The Data ONTAP controller object, embodied by an NaController object. T
his parameter is returned by the Connect-NaController cmdlet. If not sp
ecified, the value in the global variable CurrentNaController is used.

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

INPUTS



OUTPUTS
DataONTAP.Types.License.LicenseInfo


NOTES


Category: license
API: license-delete, license-v2-delete

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

C:\PS>Remove-NaLicense snaprestore


Remove SnapRestore license.


Code :
Count : 0
ExpirationTimestamp :
ExpirationTimestampDT :
InstallationTimestamp :
InstallationTimestampDT :
IsDemo : False
IsExpired : False
IsLicensed : False
IsSite : False
Length : 0
LengthTS : 00:00:00
NodeCount : 0
Platform :
Service : snaprestore
StorageCount :
ExpirationTimestampSpecified : False
InstallationTimestampSpecified : False
LengthSpecified : True
NodeCountSpecified : True
StorageCountSpecified : False



RELATED LINKS
Add-NaLicense
Get-NaLicense







 Data ONTAP® PowerShell Toolkit