|
|
Data ONTAP® PowerShell Toolkit
|
Cmdlet: Get-NaLicense
NAME
Get-NaLicense
SYNOPSIS
Returns information about the current list of licensed Data ONTAP services.
SYNTAX
Get-NaLicense [[-Names] <String[]>] [-Installed] [-Controller <NaController>
] [<CommonParameters>]
DESCRIPTION
Returns information about the current list of licensed Data ONTAP services,
their codes, the type of license, and, if it is a time limited license, the
expiration date. It also tells the services that are not licensed for your a
ppliance, or if a time limited licensed service has expired.
PARAMETERS
-Names <String[]>
The names of the licenses desired, or blank to list them all.
Required? false
Position? 1
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false
-Installed
Specify to retrieve only installed licenses.
Required? false
Position? named
Default value
Accept pipeline input? false
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-list-info
-------------- Example 1 --------------
C:\PS>Get-NaLicense
List all Data ONTAP licenses.
-------------- Example 2 --------------
C:\PS>Get-NaLicense | ? {$_.Code -ne $null} | Export-Clixml c:\OntapLicenses
.xml
Get all valid licenses and store in an XML file.
-------------- Example 3 --------------
C:\PS>Get-NaLicense snapman* -Installed
Get all installed SnapManager licenses.
Code : XXXXXXX
Count : 0
ExpirationTimestamp : 0
ExpirationTimestampDT :
InstallationTimestamp : 1265913914
InstallationTimestampDT : 2/11/2010 6:45:14 PM
IsDemo : False
IsExpired : False
IsLicensed : True
IsSite : True
Length : 0
LengthTS : 00:00:00
NodeCount : 0
Platform :
Service : snapmanager_hyperv
StorageCount :
ExpirationTimestampSpecified : True
InstallationTimestampSpecified : True
LengthSpecified : True
NodeCountSpecified : True
StorageCountSpecified : False
RELATED LINKS
Add-NaLicense
Remove-NaLicense
| Copyright © 2012 NetApp. All rights reserved. Use is subject to license terms. |
|
Data ONTAP® PowerShell Toolkit
|