|
|
Data ONTAP® PowerShell Toolkit
|
Cmdlet: Add-NaLicense
NAME
Add-NaLicense
SYNOPSIS
Enable license for a Data ONTAP service.
SYNTAX
Add-NaLicense [-Codes] <String[]> [-Controller <NaController>] [-WarningActi
on <ActionPreference>] [-WarningVariable <String>] [<CommonParameters>]
DESCRIPTION
Enable license for a Data ONTAP service.
PARAMETERS
-Codes <String[]>
One or more license codes of a Data ONTAP service to be enabled.
Required? true
Position? 1
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-Controller <NaController>
The DataONTAP controller object, embodied by an NaController object. Th
is parameter is returned by the Connect-NaController cmdlet. If not spe
cified, the value in the global variable CurrentNaController is used.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-WarningAction <ActionPreference>
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-WarningVariable <String>
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
NetApp.Ontapi.Filer.License.LicenseInfo
NOTES
Category: license
API: license-add
-------------- Example 1 --------------
C:\PS>Add-NaLicense XXXXXXX YYYYYYY
Add licenses for two DataONTAP services, for which the license codes are 'XX
XXXXX' and 'YYYYYYY'.
Code : XXXXXXX
Count : 0
ExpirationTimestamp : 0
InstallationTimestamp : 1265297895
IsDemo : False
IsExpired : False
IsLicensed : True
IsSite : True
Length : 0
NodeCount : 0
Platform :
Service : snapmirror
StorageCount :
ExpirationTimestampSpecified : True
InstallationTimestampSpecified : True
LengthSpecified : True
NodeCountSpecified : True
StorageCountSpecified : False
Code : YYYYYYY
Count : 0
ExpirationTimestamp : 0
InstallationTimestamp : 1265297895
IsDemo : False
IsExpired : False
IsLicensed : True
IsSite : True
Length : 0
NodeCount : 0
Platform :
Service : snaprestore
StorageCount :
ExpirationTimestampSpecified : True
InstallationTimestampSpecified : True
LengthSpecified : True
NodeCountSpecified : True
StorageCountSpecified : False
-------------- Example 2 --------------
C:\PS>Import-Clixml C:\OntapLicenses.xml | Add-NaLicense
Add all licenses that were previously written to an XML file.
RELATED LINKS
Get-NaLicense
Remove-NaLicense
| Copyright © 2010 NetApp. All rights reserved. Use is subject to license terms. |
|
Data ONTAP® PowerShell Toolkit
|