Skip to content

Commit 9ae707d

Browse files
authored
Merge pull request #25 from AsBuiltReport/dev
v0.4.4 public release
2 parents 228d025 + 4aabf77 commit 9ae707d

File tree

6 files changed

+17
-10
lines changed

6 files changed

+17
-10
lines changed

.github/workflows/PSScriptAnalyzer.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ jobs:
55
name: Run PSScriptAnalyzer
66
runs-on: ubuntu-latest
77
steps:
8-
- uses: actions/checkout@v2
8+
- uses: actions/checkout@v3
99
- name: lint
1010
uses: devblackops/github-action-psscriptanalyzer@master
1111
with:

.github/workflows/Release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
publish-to-gallery:
99
runs-on: ubuntu-latest
1010
steps:
11-
- uses: actions/checkout@v2
11+
- uses: actions/checkout@v3
1212
- name: Set PSRepository to Trusted for PowerShell Gallery
1313
shell: pwsh
1414
run: |

AsBuiltReport.VMware.SRM.psd1

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

1414
# Version number of this module.
15-
ModuleVersion = '0.4.3'
15+
ModuleVersion = '0.4.4'
1616

1717
# Supported PSEditions
1818
# CompatiblePSEditions = @()

CHANGELOG.md

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

3+
## [0.4.4] - 2023-08-25
4+
5+
### Fixed
6+
7+
- Fix [#23](https://github.com/AsBuiltReport/AsBuiltReport.VMware.SRM/issues/23)
8+
- Fix product edition health check
9+
310
## [0.4.3] - 2023-08-23
411

512
### Fixed

Src/Private/Get-AbrSRMLicense.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ function Get-AbrSRMLicense {
55
.DESCRIPTION
66
Documents the configuration of VMware SRM in Word/HTML/Text formats using PScribo.
77
.NOTES
8-
Version: 0.4.3
8+
Version: 0.4.4
99
Author: Jonathan Colon & Tim Carman
1010
Twitter: @jcolonfzenpr / @tpcarman
1111
Github: @rebelinux / @tpcarman
@@ -79,7 +79,7 @@ function Get-AbrSRMLicense {
7979
}
8080

8181
if ($Healthcheck.Licensing) {
82-
$OutObj | Where-Object { $_.'Product Edition' -like 'Enterprise Edition' } | Set-Style -Style Warning
82+
$OutObj | Where-Object { $_.'Product Edition' -like 'Evaluation' } | Set-Style -Style Warning
8383
}
8484

8585
$TableParams = @{

Src/Private/Get-AbrSRMRecoveryPlan.ps1

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ function Get-AbrSRMRecoveryPlan {
55
.DESCRIPTION
66
Documents the configuration of VMware SRM in Word/HTML/Text formats using PScribo.
77
.NOTES
8-
Version: 0.4.3
8+
Version: 0.4.4
99
Author: Jonathan Colon & Tim Carman
1010
Twitter: @jcolonfzenpr / @tpcarman
1111
Github: @rebelinux / @tpcarman
@@ -41,7 +41,7 @@ function Get-AbrSRMRecoveryPlan {
4141
$RecoveryPlanPG.GetInfo().Name
4242
}
4343

44-
Write-PScriboMessage "Discovered Protection Group $($RecoveryPlanInfo.Name)."
44+
Write-PScriboMessage "Discovered Recovery Plan $($RecoveryPlanInfo.Name)."
4545
$inObj = [ordered] @{
4646
'Name' = $RecoveryPlanInfo.Name
4747
'Description' = ConvertTo-EmptyToFiller $RecoveryPlanInfo.Description
@@ -165,11 +165,11 @@ function Get-AbrSRMRecoveryPlan {
165165
}
166166
}
167167

168-
if ($InfoLevel.RecoveryPlan -eq 2 -and (-Not [string]::IsNullOrEmpty($OutObj))) {
168+
if ($InfoLevel.RecoveryPlan -eq 2 -and (($OutObj | Measure-Object).Count -gt 0)) {
169169
$TableParams = @{
170170
Name = "VM Recovery Settings - $($VM.VmName)"
171171
List = $False
172-
ColumnWidths = 16, 10, 12, 12, 12, 12, 12, 14s
172+
ColumnWidths = 16, 10, 12, 12, 12, 12, 12, 14
173173
}
174174
if ($Report.ShowTableCaptions) {
175175
$TableParams['Caption'] = "- $($TableParams.Name)"
@@ -191,4 +191,4 @@ function Get-AbrSRMRecoveryPlan {
191191
}
192192
}
193193
end {}
194-
}
194+
}

0 commit comments

Comments
 (0)