-
Notifications
You must be signed in to change notification settings - Fork 52
New HPOVLicense
Install license on the appliance
New-HPOVLicense [-LicenseKey] <String> [-ApplianceConnection] <Object> [<CommonParameters>]
New-HPOVLicense [-File] <String> [-ApplianceConnection] <Object> [<CommonParameters>]
This cmdlet will install licenses on the appliance.
-ApplianceConnection <Object>
Aliases [-Appliance]
Specify one HPOneView.Appliance.Connection object or Name property value.
Default Value: ${Global:ConnectedSessions} | ? Default
Aliases | Appliance |
Required? | true |
Position? | named |
Default value | (${Global:ConnectedSessions} | ? Default) |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-File <String>
A text file with each license key on a new line that will be installed on the appliance.
Aliases | None |
Required? | true |
Position? | named |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-LicenseKey <String>
Used for adding license keys one at a time, or if only a single license key needs to be added.
Aliases | None |
Required? | true |
Position? | named |
Default value | |
Accept pipeline input? | true (ByValue) |
Accept wildcard characters? | False |
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216)
System.String
License key in String Format, from Get-Content or an Array of String
System.Management.Automation.PSCustomObject
The License resource just added to the apliance
-------------------------- EXAMPLE 1 --------------------------$license = "FC9E D9MA H9PA GTVZ C7B5 HWWB Y9JL KHPL B89H MZVU DXAU 9CSM GHTG L762 2F25 HJF9 KJVT D5TM EFVW TZNJ FGTM NQ6G 2P2J 9G82 ZJKZ EWLR VW8A Y5A4 N2SK H1MQ XJJL LUQH ZUWD 9ATC NJ79 CEJC 5S86 FC4X EKSZ X4CP XZLU FSXS FKS6 KKCE 4NMU FPN5 N82E Z2RX 3QTM EFQC 29JK 29MC "ORDER_101613 E1Y94A HP_OV_3yr_24x7_Supp_Phys_1_Svr_Lic EONEJTCDT4FJ"_35HZP-CYMTH-W414S-2DGKZ-S6MPH" New-HPOVlicense $license
Install license on the appliance connection.
-------------------------- EXAMPLE 2 --------------------------New-HPOVlicense -file c:\licenses.txt Install licenses from a file. GC C:\licenses.txt | New-HPOVlicense
Install licenses read from a file by Get-Content.
Install license on the appliance
New-HPOVLicense [-LicenseKey] <String> [-ApplianceConnection] <Object> [<CommonParameters>]
New-HPOVLicense [-File] <String> [-ApplianceConnection] <Object> [<CommonParameters>]
This cmdlet will install licenses on the appliance.
-ApplianceConnection <Object>
Aliases [-Appliance]
Specify one HPOneView.Appliance.Connection object or Name property value.
Default Value: ${Global:ConnectedSessions} | ? Default
Aliases | Appliance |
Required? | true |
Position? | named |
Default value | (${Global:ConnectedSessions} | ? Default) |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-File <String>
A text file with each license key on a new line that will be installed on the appliance.
Aliases | None |
Required? | true |
Position? | named |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-LicenseKey <String>
Used for adding license keys one at a time, or if only a single license key needs to be added.
Aliases | None |
Required? | true |
Position? | named |
Default value | |
Accept pipeline input? | true (ByValue) |
Accept wildcard characters? | False |
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216)
System.String
License key in String Format, from Get-Content or an Array of String
System.Management.Automation.PSCustomObject
The License resource just added to the apliance
-------------------------- EXAMPLE 1 --------------------------$license = 'FC9E D9MA H9PA GTVZ C7B5 HWWB Y9JL KHPL B89H MZVU DXAU 9CSM GHTG L762 2F25 HJF9 KJVT D5TM EFVW TZNJ FGTM NQ6G 2P2J 9G82 ZJKZ EWLR VW8A Y5A4 N2SK H1MQ XJJL LUQH ZUWD 9ATC NJ79 CEJC 5S86 FC4X EKSZ X4CP XZLU FSXS FKS6 KKCE 4NMU FPN5 N82E Z2RX 3QTM EFQC 29JK 29MC "ORDER_101613 E1Y94A HP_OV_3yr_24x7_Supp_Phys_1_Svr_Lic EONEJTCDT4FJ"_35HZP-CYMTH-W414S-2DGKZ-S6MPH' New-HPOVlicense $license
Install license on the appliance connection.
-------------------------- EXAMPLE 2 --------------------------New-HPOVlicense -file c:\licenses.txt Install licenses from a file. GC C:\licenses.txt | New-HPOVlicense
Install licenses read from a file by Get-Content.