Skip to content

Commit 9de1e5b

Browse files
authored
Merge pull request #6 from AsBuiltReport/dev
v1.1.3 release
2 parents 07c13e4 + 498a12a commit 9de1e5b

File tree

4 files changed

+38
-3
lines changed

4 files changed

+38
-3
lines changed

.github/workflows/Release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
with:
3131
# GitHub event payload
3232
# https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#release
33-
tweet-message: "[New Release] ${{ github.event.repository.name }} ${{ github.event.release.tag_name }}! Check out what's new! ${{ github.event.release.html_url }} #VMware #ESXi #AsBuiltReport # #vExpert"
33+
tweet-message: "[New Release] ${{ github.event.repository.name }} ${{ github.event.release.tag_name }}! Check out what's new! ${{ github.event.release.html_url }} #VMware #ESXi #AsBuiltReport #vExpert"
3434
env:
3535
TWITTER_CONSUMER_API_KEY: ${{ secrets.TWITTER_CONSUMER_API_KEY }}
3636
TWITTER_CONSUMER_API_SECRET: ${{ secrets.TWITTER_CONSUMER_API_SECRET }}

AsBuiltReport.VMware.ESXi.psd1

0 Bytes
Binary file not shown.

CHANGELOG.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
1-
# :arrows_counterclockwise: AsBuiltReport.VMware.ESXi Changelog
1+
# :arrows_clockwise: AsBuiltReport.VMware.ESXi Changelog
2+
3+
## [[1.1.3](https://github.com/AsBuiltReport/AsBuiltReport.VMware.ESXi/releases/tag/v1.1.2)] - 2022-04-21
4+
5+
### Added
6+
- Added VMHost IPMI / BMC configuration information
27

38
## [[1.1.2](https://github.com/AsBuiltReport/AsBuiltReport.VMware.ESXi/releases/tag/v1.1.2)] - 2022-03-24
49

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

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

171+
#region ESXi IPMI/BMC Settings
172+
Try {
173+
$VMHostIPMI = $esxcli.hardware.ipmi.bmc.get.invoke()
174+
} Catch {
175+
Write-PScriboMessage -IsWarning "Unable to collect IPMI / BMC configuration from $($VMHost.ExtensionData.Name)"
176+
}
177+
if ($VMHostIPMI) {
178+
Section -Style Heading3 'IPMI / BMC' {
179+
$VMHostIPMIInfo = [PSCustomObject]@{
180+
'Manufacturer' = $VMHostIPMI.Manufacturer
181+
'MAC Address' = $VMHostIPMI.MacAddress
182+
'IP Address' = $VMHostIPMI.IPv4Address
183+
'Subnet Mask' = $VMHostIPMI.IPv4Subnet
184+
'Gateway' = $VMHostIPMI.IPv4Gateway
185+
'Firmware Version' = $VMHostIPMI.BMCFirmwareVersion
186+
}
187+
188+
$TableParams = @{
189+
Name = "IPMI / BMC - $($VMHost.ExtensionData.Name)"
190+
List = $true
191+
ColumnWidths = 50, 50
192+
}
193+
if ($Report.ShowTableCaptions) {
194+
$TableParams['Caption'] = "- $($TableParams.Name)"
195+
}
196+
$VMHostIPMIInfo | Table @TableParams
197+
}
198+
}
199+
#endregion ESXi IPMI/BMC Settings
200+
171201
#region ESXi Host Boot Device
172202
Section -Style Heading3 'Boot Device' {
173203
$ESXiBootDevice = Get-ESXiBootDevice -VMHost $VMHost

0 commit comments

Comments
 (0)