Skip to content

Commit f067ff3

Browse files
authored
Merge pull request #199 from rebelinux/dev
v0.8.14
2 parents de4997c + 9f23a1b commit f067ff3

28 files changed

+188
-133
lines changed

AsBuiltReport.Veeam.VBR.psd1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
RootModule = 'AsBuiltReport.Veeam.VBR.psm1'
1313

1414
# Version number of this module.
15-
ModuleVersion = '0.8.13'
15+
ModuleVersion = '0.8.14'
1616

1717
# Supported PSEditions
1818
# CompatiblePSEditions = @()
@@ -55,7 +55,7 @@
5555
RequiredModules = @(
5656
@{
5757
ModuleName = 'AsBuiltReport.Core';
58-
ModuleVersion = '1.4.1'
58+
ModuleVersion = '1.4.2'
5959
}
6060
@{
6161
ModuleName = 'PScriboCharts';

AsBuiltreport.Veeam.VBR.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@
2121
"EnableDiagramSignature": false,
2222
"SignatureAuthorName": "",
2323
"SignatureCompanyName": "",
24-
"PSDefaultAuthentication": "Default"
24+
"PSDefaultAuthentication": "Default",
25+
"RoundUnits": 1
2526
},
2627
"InfoLevel": {
2728
"_comment_": "Please refer to the AsBuiltReport project contributing guide for information about how to define InfoLevels.",

CHANGELOG.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,23 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
##### This project is community maintained and has no sponsorship from Veeam, its employees or any of its affiliates.
99

10+
## [0.8.14] - 2025-01-30
11+
12+
### Added
13+
14+
- Add support for vMWare Cloud Director backup jobs
15+
- Add option to set the RoundUnits of the storage usages
16+
17+
### Changed
18+
19+
- Storage units in the report are set to 1 round by default
20+
- Increase AsBuiltReport.Core to v1.4.2
21+
22+
### Fixed
23+
24+
- Fix [#197](https://github.com/AsBuiltReport/AsBuiltReport.Veeam.VBR/issues/197)
25+
- Fix [#198](https://github.com/AsBuiltReport/AsBuiltReport.Veeam.VBR/issues/198)
26+
1027
## [0.8.13] - 2024-12-11
1128

1229
### Added

README.md

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -155,21 +155,22 @@ The **Report** schema provides configuration of the Veeam VBR report information
155155

156156
The **Options** schema allows certain options within the report to be toggled on or off.
157157

158-
| Sub-Schema | Setting | Default | Description |
159-
| ----------------------- | ------------------- | ------- | ------------------------------------------------------------------------------ |
160-
| BackupServerPort | TCP Port | 9392 | Set the backup server service's custom port. |
161-
| PSDefaultAuthentication | Negotiate/Kerberos | Default | Set the PSRemoting authentication method |
162-
| EnableHardwareInventory | true / false | false | Toggle to enable/disable of Hardware information |
163-
| ReportStyle | Veeam/AsBuiltReport | Veeam | Allow to set report style template. |
164-
| EnableDiagrams | true / false | false | Toggle to enable/disable of Infrastructure Diagrams |
165-
| EnableDiagramsDebug | true/false | false | Toggle to enable/disable diagram debug option. |
166-
| DiagramTheme | string | White | Used to set the diagram theme. (Black/White/Neon) |
167-
| DiagramWaterMark | string | empty | Used to set the diagram waterMark. |
168-
| ExportDiagrams | true/false | true | Toggle to enable/disable diagram export option. |
169-
| ExportDiagramsFormat | string array | png | Set the format used to export the infrastructure diagram. (dot, png, pdf, svg) |
170-
| EnableDiagramSignature | true/false | false | Toggle to enable/disable diagram signature (button right corner) |
171-
| SignatureAuthorName | string | empty | Toggle to set signature author name. |
172-
| SignatureCompanyName | string | empty | Toggle to set signature company name. |
158+
| Sub-Schema | Setting | Default | Description |
159+
| ----------------------- | -------------------------- | ------- | ------------------------------------------------------------------------------ |
160+
| BackupServerPort | TCP Port | 9392 | Set the backup server service's custom port. |
161+
| PSDefaultAuthentication | Default/Kerberos/Negotiate | Default | Set the PSRemoting authentication method |
162+
| EnableHardwareInventory | true / false | false | Toggle to enable/disable of Hardware information |
163+
| ReportStyle | Veeam/AsBuiltReport | Veeam | Allow to set report style template. |
164+
| EnableDiagrams | true / false | false | Toggle to enable/disable of Infrastructure Diagrams |
165+
| EnableDiagramsDebug | true/false | false | Toggle to enable/disable diagram debug option. |
166+
| DiagramTheme | string | White | Used to set the diagram theme. (Black/White/Neon) |
167+
| DiagramWaterMark | string | empty | Used to set the diagram waterMark. |
168+
| ExportDiagrams | true/false | true | Toggle to enable/disable diagram export option. |
169+
| ExportDiagramsFormat | string array | png | Set the format used to export the infrastructure diagram. (dot, png, pdf, svg) |
170+
| EnableDiagramSignature | true/false | false | Toggle to enable/disable diagram signature (button right corner) |
171+
| SignatureAuthorName | string | empty | Toggle to set signature author name. |
172+
| SignatureCompanyName | string | empty | Toggle to set signature company name. |
173+
| RoundUnits | int | 1 | Set value to round the storage unit. |
173174

174175
### InfoLevel
175176

Src/Private/Get-AbrVbrBackupCopyjobConf.ps1

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ function Get-AbrVbrBackupCopyjobConf {
66
.DESCRIPTION
77
Documents the configuration of Veeam VBR in Word/HTML/Text formats using PScribo.
88
.NOTES
9-
Version: 0.8.12
9+
Version: 0.8.14
1010
Author: Jonathan Colon
1111
Twitter: @jcolonfzenpr
1212
Github: rebelinux
@@ -98,7 +98,7 @@ function Get-AbrVbrBackupCopyjobConf {
9898
$inObj = [ordered] @{
9999
'Name' = $LinkedBkJob.Name
100100
'Type' = $LinkedBkJob.TypeToString
101-
'Size' = ConvertTo-FileSizeString -Size $LinkedBkJob.Info.IncludedSize
101+
'Size' = ConvertTo-FileSizeString -RoundUnits $Options.RoundUnits -Size $LinkedBkJob.Info.IncludedSize
102102
'Repository' = $LinkedBkJob.GetTargetRepository().Name
103103
}
104104
$OutObj += [pscustomobject](ConvertTo-HashToYN $inObj)
@@ -132,13 +132,13 @@ function Get-AbrVbrBackupCopyjobConf {
132132
$inObj = [ordered] @{
133133
'Name' = $LinkedRepository.Name
134134
'Type' = "ScaleOut"
135-
'Size' = ConvertTo-FileSizeString -Size $LinkedRepository.GetContainer().CachedTotalSpace.InBytesAsUInt64
135+
'Size' = ConvertTo-FileSizeString -RoundUnits $Options.RoundUnits -Size $LinkedRepository.GetContainer().CachedTotalSpace.InBytesAsUInt64
136136
}
137137
} else {
138138
$inObj = [ordered] @{
139139
'Name' = $LinkedRepository.Name
140140
'Type' = "Standard"
141-
'Size' = ConvertTo-FileSizeString -Size $LinkedRepository.GetContainer().CachedTotalSpace.InBytesAsUInt64
141+
'Size' = ConvertTo-FileSizeString -RoundUnits $Options.RoundUnits -Size $LinkedRepository.GetContainer().CachedTotalSpace.InBytesAsUInt64
142142
}
143143
}
144144
$OutObj += [pscustomobject](ConvertTo-HashToYN $inObj)

Src/Private/Get-AbrVbrBackupJobsRP.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ function Get-AbrVbrBackupJobsRP {
55
.DESCRIPTION
66
Documents the configuration of Veeam VBR in Word/HTML/Text formats using PScribo.
77
.NOTES
8-
Version: 0.8.12
8+
Version: 0.8.14
99
Author: Jonathan Colon
1010
Twitter: @jcolonfzenpr
1111
Github: rebelinux
@@ -43,7 +43,7 @@ function Get-AbrVbrBackupJobsRP {
4343
$inObj = [ordered] @{
4444
'VM Name' = $RestorePoint.VMName
4545
'Backup Type' = $RestorePoint.Algorithm
46-
'Backup Size' = (ConvertTo-FileSizeString -Size $RestorePoint.GetStorage().stats.BackupSize)
46+
'Backup Size' = (ConvertTo-FileSizeString -RoundUnits $Options.RoundUnits -Size $RestorePoint.GetStorage().stats.BackupSize)
4747
'Dedub Ratio' = [Math]::Round($DedupRatio, 2)
4848
'Compress Ratio' = [Math]::Round($CompressRatio, 2)
4949
'Reduction' = [Math]::Round(($DedupRatio * $CompressRatio), 2)

Src/Private/Get-AbrVbrBackupProxy.ps1

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ function Get-AbrVbrBackupProxy {
66
.DESCRIPTION
77
Documents the configuration of Veeam VBR in Word/HTML/Text formats using PScribo.
88
.NOTES
9-
Version: 0.8.12
9+
Version: 0.8.14
1010
Author: Jonathan Colon
1111
Twitter: @jcolonfzenpr
1212
Github: rebelinux
@@ -159,7 +159,7 @@ function Get-AbrVbrBackupProxy {
159159
'Processor Model' = $HWCPU[0].Name
160160
'Number of CPU Cores' = $HWCPU[0].NumberOfCores
161161
'Number of Logical Cores' = $HWCPU[0].NumberOfLogicalProcessors
162-
'Physical Memory (GB)' = ConvertTo-FileSizeString -Size $HW.CsTotalPhysicalMemory
162+
'Physical Memory (GB)' = ConvertTo-FileSizeString -RoundUnits $Options.RoundUnits -Size $HW.CsTotalPhysicalMemory
163163
}
164164
$OutObj += [pscustomobject](ConvertTo-HashToYN $inObj)
165165

@@ -193,7 +193,7 @@ function Get-AbrVbrBackupProxy {
193193
'Model' = $Disk.Model
194194
'Serial Number' = $Disk.SerialNumber
195195
'Partition Style' = $Disk.PartitionStyle
196-
'Disk Size' = ConvertTo-FileSizeString -Size $Disk.Size
196+
'Disk Size' = ConvertTo-FileSizeString -RoundUnits $Options.RoundUnits -Size $Disk.Size
197197
}
198198
$LocalDiskReport += $TempLocalDiskReport
199199
} catch {
@@ -229,7 +229,7 @@ function Get-AbrVbrBackupProxy {
229229
'Model' = $Disk.Model
230230
'Serial Number' = $Disk.SerialNumber
231231
'Partition Style' = $Disk.PartitionStyle
232-
'Disk Size' = ConvertTo-FileSizeString -Size $Disk.Size
232+
'Disk Size' = ConvertTo-FileSizeString -RoundUnits $Options.RoundUnits -Size $Disk.Size
233233
}
234234
$SanDiskReport += $TempSanDiskReport
235235
} catch {
@@ -262,8 +262,8 @@ function Get-AbrVbrBackupProxy {
262262
'Drive Letter' = $HostVolume.DriveLetter
263263
'File System Label' = $HostVolume.FileSystemLabel
264264
'File System' = $HostVolume.FileSystem
265-
'Size' = ConvertTo-FileSizeString -Size $HostVolume.Size
266-
'Free Space' = ConvertTo-FileSizeString -Size $HostVolume.SizeRemaining
265+
'Size' = ConvertTo-FileSizeString -RoundUnits $Options.RoundUnits -Size $HostVolume.Size
266+
'Free Space' = ConvertTo-FileSizeString -RoundUnits $Options.RoundUnits -Size $HostVolume.SizeRemaining
267267
'Health Status' = $HostVolume.HealthStatus
268268
}
269269
$HostVolumeReport += $TempHostVolumeReport
@@ -611,7 +611,7 @@ function Get-AbrVbrBackupProxy {
611611
'Processor Model' = $HWCPU[0].Name
612612
'Number of CPU Cores' = $HWCPU[0].NumberOfCores
613613
'Number of Logical Cores' = $HWCPU[0].NumberOfLogicalProcessors
614-
'Physical Memory (GB)' = ConvertTo-FileSizeString -Size $HW.CsTotalPhysicalMemory
614+
'Physical Memory (GB)' = ConvertTo-FileSizeString -RoundUnits $Options.RoundUnits -Size $HW.CsTotalPhysicalMemory
615615
}
616616
$OutObj += [pscustomobject](ConvertTo-HashToYN $inObj)
617617

@@ -645,7 +645,7 @@ function Get-AbrVbrBackupProxy {
645645
'Model' = $Disk.Model
646646
'Serial Number' = $Disk.SerialNumber
647647
'Partition Style' = $Disk.PartitionStyle
648-
'Disk Size' = ConvertTo-FileSizeString -Size $Disk.Size
648+
'Disk Size' = ConvertTo-FileSizeString -RoundUnits $Options.RoundUnits -Size $Disk.Size
649649
}
650650
$LocalDiskReport += $TempLocalDiskReport
651651
} catch {
@@ -681,7 +681,7 @@ function Get-AbrVbrBackupProxy {
681681
'Model' = $Disk.Model
682682
'Serial Number' = $Disk.SerialNumber
683683
'Partition Style' = $Disk.PartitionStyle
684-
'Disk Size' = ConvertTo-FileSizeString -Size $Disk.Size
684+
'Disk Size' = ConvertTo-FileSizeString -RoundUnits $Options.RoundUnits -Size $Disk.Size
685685
}
686686
$SanDiskReport += $TempSanDiskReport
687687
} catch {
@@ -717,8 +717,8 @@ function Get-AbrVbrBackupProxy {
717717
'Drive Letter' = $HostVolume.DriveLetter
718718
'File System Label' = $HostVolume.FileSystemLabel
719719
'File System' = $HostVolume.FileSystem
720-
'Size' = ConvertTo-FileSizeString -Size $HostVolume.Size
721-
'Free Space' = ConvertTo-FileSizeString -Size $HostVolume.SizeRemaining
720+
'Size' = ConvertTo-FileSizeString -RoundUnits $Options.RoundUnits -Size $HostVolume.Size
721+
'Free Space' = ConvertTo-FileSizeString -RoundUnits $Options.RoundUnits -Size $HostVolume.SizeRemaining
722722
'Health Status' = $HostVolume.HealthStatus
723723
}
724724
$HostVolumeReport += $TempHostVolumeReport

0 commit comments

Comments
 (0)