Skip to content

Commit

Permalink
Merge pull request #189 from rebelinux/dev
Browse files Browse the repository at this point in the history
v0.8.12
  • Loading branch information
rebelinux authored Nov 11, 2024
2 parents 4884298 + 1c29506 commit 523c389
Show file tree
Hide file tree
Showing 77 changed files with 957 additions and 938 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [0.8.12] - Unreleased

### Changed

- Improve detection of empty fields in tables
- Improve detection of true/false elements in tables
- Improve support for Veeam B&R v11

### Fixed

- Fix [#187](https://github.com/AsBuiltReport/AsBuiltReport.Veeam.VBR/issues/187)
- Fix Cloud Connect tenant expiration date healthcheck

## [0.8.11] - 2024-10-30

Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,13 +56,14 @@ Below are the instructions on how to install, configure and generate a Veeam VBR
<!-- ********** Update supported Veeam versions ********** -->
The Veeam VBR As Built Report supports the following Veeam Backup & Replication version;

- Veeam Backup & Replication v11+ (Standard, Enterprise & Enterprise Plus Edition)
- Veeam Backup & Replication v12+ (Standard, Enterprise & Enterprise Plus Edition)

:exclamation:Community Edition is not supported:exclamation:

## :no_entry_sign: Unsupported Versions

The versions 10 and 11 are no longer supported by Veeam. So I will not be performing compatibility tests with those versions. The report may work on previous versions but I do not guarantee and will not address issues related to pre-v12.
The versions 10 are no longer supported by Veeam. So I will not be performing compatibility tests with these version. The report may work on previous versions but I do not guarantee and will not address issues related to pre-v11.

[Veeam Product Lifecycle Policy](https://www.veeam.com/product-lifecycle.html)

Expand Down
4 changes: 2 additions & 2 deletions Src/Private/Get-AbrVbrAgentBackupjob.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ function Get-AbrVbrAgentBackupjob {
.DESCRIPTION
Documents the configuration of Veeam VBR in Word/HTML/Text formats using PScribo.
.NOTES
Version: 0.8.7
Version: 0.8.12
Author: Jonathan Colon
Twitter: @jcolonfzenpr
Github: rebelinux
Expand Down Expand Up @@ -40,7 +40,7 @@ function Get-AbrVbrAgentBackupjob {
'OS Platform' = $ABkjob.OSPlatform
'Backup Object' = $ABkjob.BackupObject
}
$OutObj += [pscustomobject]$inobj
$OutObj += [pscustomobject](ConvertTo-HashToYN $inObj)
} catch {
Write-PScriboMessage -IsWarning "Agent Backup Jobs $($ABkjob.Name) Section: $($_.Exception.Message)"
}
Expand Down
106 changes: 53 additions & 53 deletions Src/Private/Get-AbrVbrAgentBackupjobConf.ps1

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions Src/Private/Get-AbrVbrBackupCopyjob .ps1
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ function Get-AbrVbrBackupCopyjob {
.DESCRIPTION
Documents the configuration of Veeam VBR in Word/HTML/Text formats using PScribo.
.NOTES
Version: 0.8.7
Version: 0.8.12
Author: Jonathan Colon
Twitter: @jcolonfzenpr
Github: rebelinux
Expand Down Expand Up @@ -44,7 +44,7 @@ function Get-AbrVbrBackupCopyjob {
'Latest Result' = $BkCopyjob.LastResult
'Scheduled?' = $BkCopyjob.ScheduleOptions.Type
}
$OutObj += [pscustomobject]$inobj
$OutObj += [pscustomobject](ConvertTo-HashToYN $inObj)
} catch {
Write-PScriboMessage -IsWarning "Backup Copy Jobs $($BkCopyjob.Name) Section: $($_.Exception.Message)"
}
Expand Down
78 changes: 39 additions & 39 deletions Src/Private/Get-AbrVbrBackupCopyjobConf.ps1

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions Src/Private/Get-AbrVbrBackupJobsRP.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ function Get-AbrVbrBackupJobsRP {
.DESCRIPTION
Documents the configuration of Veeam VBR in Word/HTML/Text formats using PScribo.
.NOTES
Version: 0.8.11
Version: 0.8.12
Author: Jonathan Colon
Twitter: @jcolonfzenpr
Github: rebelinux
Expand Down Expand Up @@ -48,7 +48,7 @@ function Get-AbrVbrBackupJobsRP {
'Compress Ratio' = [Math]::Round($CompressRatio, 2)
'Reduction' = [Math]::Round(($DedupRatio * $CompressRatio), 2)
}
$RestorePointInfo += [PSCustomObject]$InObj
$RestorePointInfo += [pscustomobject](ConvertTo-HashToYN $inObj)
} catch {
Write-PScriboMessage -IsWarning "Restore Point table: $($_.Exception.Message)"
}
Expand Down
44 changes: 22 additions & 22 deletions Src/Private/Get-AbrVbrBackupProxy.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ function Get-AbrVbrBackupProxy {
.DESCRIPTION
Documents the configuration of Veeam VBR in Word/HTML/Text formats using PScribo.
.NOTES
Version: 0.8.11
Version: 0.8.12
Author: Jonathan Colon
Twitter: @jcolonfzenpr
Github: rebelinux
Expand Down Expand Up @@ -43,14 +43,14 @@ function Get-AbrVbrBackupProxy {
'Name' = $BackupProxy.Name
'Type' = $BackupProxy.Type
'Max Tasks Count' = $BackupProxy.MaxTasksCount
'Disabled' = ConvertTo-TextYN $BackupProxy.IsDisabled
'Disabled' = $BackupProxy.IsDisabled
'Status' = Switch (($BackupProxy.Host).IsUnavailable) {
'False' { 'Available' }
'True' { 'Unavailable' }
default { ($BackupProxy.Host).IsUnavailable }
}
}
$OutObj += [pscustomobject]$inobj
$OutObj += [pscustomobject](ConvertTo-HashToYN $inObj)
}

if ($HealthCheck.Infrastructure.Proxy) {
Expand All @@ -75,21 +75,21 @@ function Get-AbrVbrBackupProxy {
'Name' = $BackupProxy.Name
'Host Name' = $BackupProxy.Host.Name
'Type' = $BackupProxy.Type
'Disabled' = ConvertTo-TextYN $BackupProxy.IsDisabled
'Disabled' = $BackupProxy.IsDisabled
'Max Tasks Count' = $BackupProxy.MaxTasksCount
'Use Ssl' = ConvertTo-TextYN $BackupProxy.UseSsl
'Failover To Network' = ConvertTo-TextYN $BackupProxy.FailoverToNetwork
'Use Ssl' = $BackupProxy.UseSsl
'Failover To Network' = $BackupProxy.FailoverToNetwork
'Transport Mode' = $BackupProxy.TransportMode
'Chassis Type' = $BackupProxy.ChassisType
'OS Type' = $BackupProxy.Host.Type
'Services Credential' = ConvertTo-EmptyToFiller $BackupProxy.Host.ProxyServicesCreds.Name
'Services Credential' = $BackupProxy.Host.ProxyServicesCreds.Name
'Status' = Switch (($BackupProxy.Host).IsUnavailable) {
'False' { 'Available' }
'True' { 'Unavailable' }
default { ($BackupProxy.Host).IsUnavailable }
}
}
$OutObj = [pscustomobject]$inobj
$OutObj = [pscustomobject](ConvertTo-HashToYN $inObj)

if ($HealthCheck.Infrastructure.Proxy) {
$OutObj | Where-Object { $_.'Status' -eq 'Unavailable' } | Set-Style -Style Warning -Property 'Status'
Expand Down Expand Up @@ -161,7 +161,7 @@ function Get-AbrVbrBackupProxy {
'Number of Logical Cores' = $HWCPU[0].NumberOfLogicalProcessors
'Physical Memory (GB)' = ConvertTo-FileSizeString -Size $HW.CsTotalPhysicalMemory
}
$OutObj += [pscustomobject]$inobj
$OutObj += [pscustomobject](ConvertTo-HashToYN $inObj)

if ($HealthCheck.Infrastructure.Server) {
$OutObj | Where-Object { $_.'Number of CPU Cores' -lt 4 } | Set-Style -Style Warning -Property 'Number of CPU Cores'
Expand Down Expand Up @@ -372,7 +372,7 @@ function Get-AbrVbrBackupProxy {
Write-PScriboMessage -IsWarning "VMware Backup Proxies Section: $($_.Exception.Message)"
}
} else {
Write-PScriboMessage -IsWarning "VMware Backup Proxies Section: Unable to connect to $($BackupProxies.Host.Name) throuth WinRM, disabling section"
Write-PScriboMessage -IsWarning "VMware Backup Proxies Section: Unable to connect to $($BackupProxies.Host.Name) throuth WinRM, removing server from Hardware Inventory section"
}
}
if ($vSphereVBProxyObj) {
Expand Down Expand Up @@ -421,7 +421,7 @@ function Get-AbrVbrBackupProxy {
'Short Name' = $Service.Name
'Status' = $Service.Status
}
$OutObj += [pscustomobject]$inobj
$OutObj += [pscustomobject](ConvertTo-HashToYN $inObj)
}

if ($HealthCheck.Infrastructure.Server) {
Expand All @@ -444,7 +444,7 @@ function Get-AbrVbrBackupProxy {
Write-PScriboMessage -IsWarning "VMware Backup Proxies $($BackupProxy.Host.Name) Services Status Section: $($_.Exception.Message)"
}
} else {
Write-PScriboMessage -IsWarning "VMware Backup Proxies Section: Unable to connect to $($BackupProxies.Host.Name) throuth WinRM, disabling section"
Write-PScriboMessage -IsWarning "VMware Backup Proxies Section: Unable to connect to $($BackupProxies.Host.Name) throuth WinRM, removing server from Veeam Services section"
}
}
}
Expand Down Expand Up @@ -490,14 +490,14 @@ function Get-AbrVbrBackupProxy {
'Name' = $BackupProxy.Name
'Type' = $BackupProxy.Type
'Max Tasks Count' = $BackupProxy.MaxTasksCount
'Disabled' = ConvertTo-TextYN $BackupProxy.IsDisabled
'Disabled' = $BackupProxy.IsDisabled
'Status' = Switch (($BackupProxy.Host).IsUnavailable) {
'False' { 'Available' }
'True' { 'Unavailable' }
default { ($BackupProxy.Host).IsUnavailable }
}
}
$OutObj += [pscustomobject]$inobj
$OutObj += [pscustomobject](ConvertTo-HashToYN $inObj)
} catch {
Write-PScriboMessage -IsWarning "Hyper-V Backup Proxies $($BackupProxy.Name) Section: $($_.Exception.Message)"
}
Expand Down Expand Up @@ -528,18 +528,18 @@ function Get-AbrVbrBackupProxy {
'Name' = $BackupProxy.Name
'Host Name' = $BackupProxy.Host.Name
'Type' = $BackupProxy.Type
'Disabled' = ConvertTo-TextYN $BackupProxy.IsDisabled
'Disabled' = $BackupProxy.IsDisabled
'Max Tasks Count' = $BackupProxy.MaxTasksCount
'AutoDetect Volumes' = ConvertTo-TextYN $BackupProxy.Options.IsAutoDetectVolumes
'AutoDetect Volumes' = $BackupProxy.Options.IsAutoDetectVolumes
'OS Type' = $BackupProxy.Host.Type
'Services Credential' = ConvertTo-EmptyToFiller $BackupProxy.Host.ProxyServicesCreds.Name
'Services Credential' = $BackupProxy.Host.ProxyServicesCreds.Name
'Status' = Switch (($BackupProxy.Host).IsUnavailable) {
'False' { 'Available' }
'True' { 'Unavailable' }
default { ($BackupProxy.Host).IsUnavailable }
}
}
$OutObj = [pscustomobject]$inobj
$OutObj = [pscustomobject](ConvertTo-HashToYN $inObj)

if ($HealthCheck.Infrastructure.Proxy) {
$OutObj | Where-Object { $_.'Status' -eq 'Unavailable' } | Set-Style -Style Warning -Property 'Status'
Expand Down Expand Up @@ -613,7 +613,7 @@ function Get-AbrVbrBackupProxy {
'Number of Logical Cores' = $HWCPU[0].NumberOfLogicalProcessors
'Physical Memory (GB)' = ConvertTo-FileSizeString -Size $HW.CsTotalPhysicalMemory
}
$OutObj += [pscustomobject]$inobj
$OutObj += [pscustomobject](ConvertTo-HashToYN $inObj)

if ($HealthCheck.Infrastructure.Server) {
$OutObj | Where-Object { $_.'Number of CPU Cores' -lt 4 } | Set-Style -Style Warning -Property 'Number of CPU Cores'
Expand Down Expand Up @@ -827,7 +827,7 @@ function Get-AbrVbrBackupProxy {
Write-PScriboMessage -IsWarning "Hyper-V Backup Proxies Hardware & Software Inventory Section: $($_.Exception.Message)"
}
} else {
Write-PScriboMessage -IsWarning "Hyper-V Backup Proxies Section: Unable to connect to $($BackupProxies.Host.Name) throuth WinRM, disabling section"
Write-PScriboMessage -IsWarning "Hyper-V Backup Proxies Section: Unable to connect to $($BackupProxies.Host.Name) throuth WinRM, removing server from Hardware Inventory section"
}
}
if ($HyperVBProxyObj) {
Expand Down Expand Up @@ -875,7 +875,7 @@ function Get-AbrVbrBackupProxy {
'Short Name' = $Service.Name
'Status' = $Service.Status
}
$OutObj += [pscustomobject]$inobj
$OutObj += [pscustomobject](ConvertTo-HashToYN $inObj)
}

if ($HealthCheck.Infrastructure.Server) {
Expand All @@ -898,7 +898,7 @@ function Get-AbrVbrBackupProxy {
Write-PScriboMessage -IsWarning "Hyper-V Backup Proxies Services Status - $($BackupProxy.Host.Name.Split(".")[0]) Section: $($_.Exception.Message)"
}
} else {
Write-PScriboMessage -IsWarning "Hyper-V Backup Proxies Section: Unable to connect to $($BackupProxies.Host.Name) throuth WinRM, disabling section"
Write-PScriboMessage -IsWarning "Hyper-V Backup Proxies Section: Unable to connect to $($BackupProxies.Host.Name) throuth WinRM, removing server from Veeam Services section"
}
}
}
Expand Down
Loading

0 comments on commit 523c389

Please sign in to comment.