< Back

Get-iBMCLicense

Tue Jan 14, 2020 2:49 am

NAME Get-iBMCLicense



SYNOPSIS

Get iBMC License Service infomation.





SYNTAX

Get-iBMCLicense [-Session] <RedfishSession[]> [<CommonParameters>]





DESCRIPTION

Get iBMC License Service infomation.

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



<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 iBMC License Object 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:\\> $License = Get-iBMCLicense -Session $session

PS C:\\> $License



Host : 10.1.1.2

Id : LicenseService

Name : License Service

Capability : {Local, Remote}

DeviceESN : A5A7D970F13580158FBBCA5009F17234D1A6C5CB

InstalledStatus : Installed

RevokeTicket :

LicenseClass : Advanced

LicenseStatus : Normal

LicenseInfo : @{FileFormatVersion=3.10; GeneralInfo=; CustomerInfo=; NodeInfo=; SaleInfo=}

AlarmInfo : @{RemainGraceDay=0; RemainCommissioningDay=0; ProductESNValidState=Valid; FileState=Normal;

ProductESNMatchState=Matched; ProductVersionM

atchState=Matched}



PS C:\\> $License.LicenseInfo.GeneralInfo



CopyRight : Huawei Technologies Co., Ltd. All rights reserved.

LSN : LIC20180911LXWZ5C

LicenseType : Commercial

GraceDay : 60

Creator : Huawei Technologies Co., Ltd.

Issuer : License Distribution Center

CreateTime : 2018-09-11 11:42:02











RELATED LINKS

https://github.com/Huawei/Huawei-iBMC-Cmdlets



Get-iBMCLicense

Install-iBMCLicense

Export-iBMCLicense

Delete-iBMCLicense

Connect-iBMC

Disconnect-iBMC