|
|
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[]>] [-Controller <NaController>] [-WarningAc
tion <ActionPreference>] [-WarningVariable <String>] [<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
-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-list-info
-------------- Example 1 --------------
C:\PS>Get-NaLicense
List all DataONTAP 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*
Get all the various SnapManager licenses.
Code :
Count : 0
ExpirationTimestamp :
InstallationTimestamp :
IsDemo : False
IsExpired : False
IsLicensed : False
IsSite : False
Length : 0
NodeCount : 0
Platform :
Service : snapmanager_oracle
StorageCount :
ExpirationTimestampSpecified : False
InstallationTimestampSpecified : False
LengthSpecified : True
NodeCountSpecified : True
StorageCountSpecified : False
Code :
Count : 0
ExpirationTimestamp :
InstallationTimestamp :
IsDemo : False
IsExpired : False
IsLicensed : False
IsSite : False
Length : 0
NodeCount : 0
Platform :
Service : snapmanager_sap
StorageCount :
ExpirationTimestampSpecified : False
InstallationTimestampSpecified : False
LengthSpecified : True
NodeCountSpecified : True
StorageCountSpecified : False
Code :
Count : 0
ExpirationTimestamp :
InstallationTimestamp :
IsDemo : False
IsExpired : False
IsLicensed : False
IsSite : False
Length : 0
NodeCount : 0
Platform :
Service : snapmanager_sharepoint
StorageCount :
ExpirationTimestampSpecified : False
InstallationTimestampSpecified : False
LengthSpecified : True
NodeCountSpecified : True
StorageCountSpecified : False
Code :
Count : 0
ExpirationTimestamp :
InstallationTimestamp :
IsDemo : False
IsExpired : False
IsLicensed : False
IsSite : False
Length : 0
NodeCount : 0
Platform :
Service : snapmanagerexchange
StorageCount :
ExpirationTimestampSpecified : False
InstallationTimestampSpecified : False
LengthSpecified : True
NodeCountSpecified : True
StorageCountSpecified : False
RELATED LINKS
Add-NaLicense
Remove-NaLicense
| Copyright © 2010 NetApp. All rights reserved. Use is subject to license terms. |
|
Data ONTAP® PowerShell Toolkit
|