Skip to content

Latest commit

 

History

History
62 lines (42 loc) · 1.36 KB

Readme.md

File metadata and controls

62 lines (42 loc) · 1.36 KB

Huawei iBMC Cmdlets

Huawei iBMC cmdlets provide powershell Cmdlets to manage iBMC Redfish devices. These cmdlets contains the most commonly used features such as: information query, RAID configuration, OS deploy, firmware upgrade. Support devices include: RH1288 V3, RH2288 V3, RH2288H V3, 1288H V5, 2288H V5, 2288 V5, 2488H V5, CH121 V3, CH242 V3, XH622 V3.

Requirements

Install

Install-Module -Name Huawei-iBMC-Cmdlets -RequiredVersion 1.1.0

Usage

This is a sample for get user accounts:

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

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

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