Skip to content

Huawei/Huawei-iBMC-Cmdlets

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Huawei iBMC Cmdlets

Description

Huawei iBMC cmdlets provide powershell Cmdlets to manage iBMC using Redfish API. These cmdlets contains the most commonly used features such as: information query, RAID configuration, OS deploy, firmware upgrade.

Supported Device

X86 Architecture:
    Huawei Blade Server:        RH1288 V3, RH2288 V3, RH2288H V3, 1288H V5, 2288H V5, 2288 V5, 2488H V5, 1288H V6, 2288H V6, 5288 V6, 2488H V6
    Huawei Rack Server:         CH121 V3, CH242 V3
    Huawei High-density Server: XH622 V3, XH321 V5
    
ARM Architecture:
	TaiShan 200 server (model 2180, 2280 VE, 5280 VE) 
	TaiShan 200Pro server (model 2480 Pro, 2280 Pro) 

Requirements

Install

  • Online installation

    Install-Module -Name Huawei-iBMC-Cmdlets -RequiredVersion 1.3.3
  • Local installation

    1、Decompress the Huawei-iBMC-Cmdlets v1.3.3.zip software packages to obtaion the Huawei-iBMC-Cmdlets folder
    2、Copy the Huawei-iBMC-Cmdlets folder to the PowerShell installation directory  
    3、Run the following command to install Huawei-iBMC-Cmdlets: Import-Module -Name Huawei-iBMC-Cmdlets -Force
    

Usage

This is a sample for get user accounts:

PS C:\> $credential = Get-Credential
PS C:\> $session = Connect-iBMC -Address 192.168.1.1 -Credential $credential -TrustCert
PS C:\> $Users = Get-iBMCUser -Session $session
PS C:\> $Users

Host     : 192.168.1.1
Id       : 2
Name     : User Account
UserName : Administrator
RoleId   : Administrator
Locked   : False
Enabled  : True
Oem      : @{Huawei=}

Host     : 192.168.1.1
Id       : 3
Name     : User Account
UserName : root
RoleId   : Administrator
Locked   : True
Enabled  : True
Oem      : @{Huawei=}

To get all available cmdlets provided by Huawei-iBMC-Cmdlets

PS C:\> Get-Command -Module Huawei-iBMC-Cmdlets

To get help for a specified cmdlet:

PS C:\> get-help Connect-iBMC -Full