< Back
Install-iBMCLicense
Post
NAME Install-iBMCLicense
SYNOPSIS
Install iBMC License.
SYNTAX
Install-iBMCLicense [-Session] <RedfishSession[]> [-LicenseFileURI] <String[]> [[-LicenseSource] {iBMC |
FusionDirector | eSight}] [<CommonParameters>]
DESCRIPTION
Install iBMC License.
V3 servers and some V5 servers do not support this function. For details, see the iBMC User Guide.
PARAMETERS
-Session <RedfishSession[]>
iBMC redfish session object which is created by Connect-iBMC cmdlet.
A session object identifies an iBMC server to which this cmdlet will be executed.
Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false
-LicenseFileURI <String[]>
Indicates the file path of license file.
It supports HTTPS, SFTP, NFS, SCP, CIFS and FILE file transfer protocols.
For examples:
- local path: C:\\LIC2288H_V5_2_20180905LTM65C.xml or \\\\192.168.1.2\\LIC2288H_V5_2_20180905LTM65C.xml
- ibmc local temporary path: /tmp/LIC2288H_V5_2_20180905LTM65C.xml
- remote path: protocol://username:password@hostname/directory/LIC2288H_V5_2_20180905LTM65C.xml
Required? true
Position? 2
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false
-LicenseSource
Indicates the source of the license file.
Support value set: "iBMC", "FusionDirector", "eSight".
If not configured, iBMC is used by default.
Required? false
Position? 3
Default value iBMC
Accept pipeline input? true (ByValue, ByPropertyName)
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 (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
PSObject[]
Returns null if cmdlet executes successfully.
In case of an error or warning, exception will be returned.
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>$credential = Get-Credential
PS C:\\> $session = Connect-iBMC -Address 10.1.1.2 -Credential $credential -TrustCert
PS C:\\> Install-iBMCLicense -Session $session `
-LicenseFileURI "E:\\huawei\\PowerShell\\LIC2288H_V5_2_20180905LTM65C.xml" `
-LicenseSource iBMC
This example shows how to install iBMC license from local file
-------------------------- EXAMPLE 2 --------------------------
PS C:\\>$credential = Get-Credential
PS C:\\> $session = Connect-iBMC -Address 10.1.1.2 -Credential $credential -TrustCert
PS C:\\> Install-iBMCLicense -Session $session `
-LicenseFileURI "/tmp/LIC2288H_V5_2_20180905LTM65C.xml"
This example shows how to install iBMC license from ibmc temp file
-------------------------- EXAMPLE 3 --------------------------
PS C:\\>$credential = Get-Credential
PS C:\\> $session = Connect-iBMC -Address 10.1.1.2 -Credential $credential -TrustCert
PS C:\\> Install-iBMCLicense -Session $session `
-LicenseFileURI "nfs://10.10.10.2/data/nfs/LIC2288H_V5_2_20180905LTM65C.xml"
This example shows how to install iBMC license from NFS network file
RELATED LINKS
https://github.com/Huawei/Huawei-iBMC-Cmdlets
Get-iBMCLicense
Install-iBMCLicense
Export-iBMCLicense
Delete-iBMCLicense
Connect-iBMC
Disconnect-iBMC
SYNOPSIS
Install iBMC License.
SYNTAX
Install-iBMCLicense [-Session] <RedfishSession[]> [-LicenseFileURI] <String[]> [[-LicenseSource] {iBMC |
FusionDirector | eSight}] [<CommonParameters>]
DESCRIPTION
Install iBMC License.
V3 servers and some V5 servers do not support this function. For details, see the iBMC User Guide.
PARAMETERS
-Session <RedfishSession[]>
iBMC redfish session object which is created by Connect-iBMC cmdlet.
A session object identifies an iBMC server to which this cmdlet will be executed.
Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false
-LicenseFileURI <String[]>
Indicates the file path of license file.
It supports HTTPS, SFTP, NFS, SCP, CIFS and FILE file transfer protocols.
For examples:
- local path: C:\\LIC2288H_V5_2_20180905LTM65C.xml or \\\\192.168.1.2\\LIC2288H_V5_2_20180905LTM65C.xml
- ibmc local temporary path: /tmp/LIC2288H_V5_2_20180905LTM65C.xml
- remote path: protocol://username:password@hostname/directory/LIC2288H_V5_2_20180905LTM65C.xml
Required? true
Position? 2
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false
-LicenseSource
Indicates the source of the license file.
Support value set: "iBMC", "FusionDirector", "eSight".
If not configured, iBMC is used by default.
Required? false
Position? 3
Default value iBMC
Accept pipeline input? true (ByValue, ByPropertyName)
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 (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
PSObject[]
Returns null if cmdlet executes successfully.
In case of an error or warning, exception will be returned.
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>$credential = Get-Credential
PS C:\\> $session = Connect-iBMC -Address 10.1.1.2 -Credential $credential -TrustCert
PS C:\\> Install-iBMCLicense -Session $session `
-LicenseFileURI "E:\\huawei\\PowerShell\\LIC2288H_V5_2_20180905LTM65C.xml" `
-LicenseSource iBMC
This example shows how to install iBMC license from local file
-------------------------- EXAMPLE 2 --------------------------
PS C:\\>$credential = Get-Credential
PS C:\\> $session = Connect-iBMC -Address 10.1.1.2 -Credential $credential -TrustCert
PS C:\\> Install-iBMCLicense -Session $session `
-LicenseFileURI "/tmp/LIC2288H_V5_2_20180905LTM65C.xml"
This example shows how to install iBMC license from ibmc temp file
-------------------------- EXAMPLE 3 --------------------------
PS C:\\>$credential = Get-Credential
PS C:\\> $session = Connect-iBMC -Address 10.1.1.2 -Credential $credential -TrustCert
PS C:\\> Install-iBMCLicense -Session $session `
-LicenseFileURI "nfs://10.10.10.2/data/nfs/LIC2288H_V5_2_20180905LTM65C.xml"
This example shows how to install iBMC license from NFS network file
RELATED LINKS
https://github.com/Huawei/Huawei-iBMC-Cmdlets
Get-iBMCLicense
Install-iBMCLicense
Export-iBMCLicense
Delete-iBMCLicense
Connect-iBMC
Disconnect-iBMC