Skip to content

Commit e4bfc85

Browse files
committed
v1.3.3 release
- Added VMHost IPMI / BMC configuration information
1 parent 7b7407f commit e4bfc85

File tree

3 files changed

+37
-2
lines changed

3 files changed

+37
-2
lines changed

AsBuiltReport.VMware.vSphere.psd1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
RootModule = 'AsBuiltReport.VMware.vSphere.psm1'
1313

1414
# Version number of this module.
15-
ModuleVersion = '1.3.2'
15+
ModuleVersion = '1.3.3'
1616

1717
# Supported PSEditions
1818
# CompatiblePSEditions = 'Desktop'

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# :arrows_clockwise: VMware vSphere As Built Report Changelog
22

3+
## [[1.3.3](https://github.com/AsBuiltReport/AsBuiltReport.VMware.vSphere/releases/tag/v1.3.3)] - 2022-04-21
4+
5+
### Added
6+
- Added VMHost IPMI / BMC configuration information
7+
38
## [[1.3.2](https://github.com/AsBuiltReport/AsBuiltReport.VMware.vSphere/releases/tag/v1.3.2)] - 2022-03-24
49

510
### Added

Src/Public/Invoke-AsBuiltReport.VMware.vSphere.ps1

Lines changed: 31 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ function Invoke-AsBuiltReport.VMware.vSphere {
55
.DESCRIPTION
66
Documents the configuration of VMware vSphere infrastucture in Word/HTML/Text formats using PScribo.
77
.NOTES
8-
Version: 1.3.1
8+
Version: 1.3.3
99
Author: Tim Carman
1010
Twitter: @tpcarman
1111
Github: tpcarman
@@ -1868,6 +1868,36 @@ function Invoke-AsBuiltReport.VMware.vSphere {
18681868
$VMHostDetail | Table @TableParams
18691869
#endregion ESXi Host Specifications
18701870

1871+
#region ESXi IPMI/BMC Settings
1872+
Try {
1873+
$VMHostIPMI = $esxcli.hardware.ipmi.bmc.get.invoke()
1874+
} Catch {
1875+
Write-PScriboMessage -IsWarning "Unable to collect IPMI / BMC configuration from $VMHost"
1876+
}
1877+
if ($VMHostIPMI) {
1878+
Section -Style Heading5 'IPMI / BMC' {
1879+
$VMHostIPMIInfo = [PSCustomObject]@{
1880+
'Manufacturer' = $VMHostIPMI.Manufacturer
1881+
'MAC Address' = $VMHostIPMI.MacAddress
1882+
'IP Address' = $VMHostIPMI.IPv4Address
1883+
'Subnet Mask' = $VMHostIPMI.IPv4Subnet
1884+
'Gateway' = $VMHostIPMI.IPv4Gateway
1885+
'Firmware Version' = $VMHostIPMI.BMCFirmwareVersion
1886+
}
1887+
1888+
$TableParams = @{
1889+
Name = "IPMI / BMC - $VMHost"
1890+
List = $true
1891+
ColumnWidths = 50, 50
1892+
}
1893+
if ($Report.ShowTableCaptions) {
1894+
$TableParams['Caption'] = "- $($TableParams.Name)"
1895+
}
1896+
$VMHostIPMIInfo | Table @TableParams
1897+
}
1898+
}
1899+
#endregion ESXi IPMI/BMC Settings
1900+
18711901
#region ESXi Host Boot Device
18721902
Section -Style Heading5 'Boot Device' {
18731903
$ESXiBootDevice = Get-ESXiBootDevice -VMHost $VMHost

0 commit comments

Comments
 (0)