Skip to content

Commit e62880f

Browse files
committed
v1.0.6 patch
* Fixe code errors which prevented a report from being generated * Improve code and report readability * Update VMware default style to more closely align with Clarity
1 parent 001d77a commit e62880f

File tree

4 files changed

+202
-146
lines changed

4 files changed

+202
-146
lines changed

AsBuiltReport.VMware.vSphere.Style.ps1

Lines changed: 31 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,41 @@
11
# VMware Default Document Style
22

33
# Configure document options
4-
DocumentOption -EnableSectionNumbering -PageSize A4 -DefaultFont Arial -MarginLeftAndRight 71 -MarginTopAndBottom 71 -Orientation $Orientation
4+
DocumentOption -EnableSectionNumbering -PageSize A4 -DefaultFont 'Century Gothic' -MarginLeftAndRight 71 -MarginTopAndBottom 71 -Orientation $Orientation
55

66
# Configure Heading and Font Styles
7-
Style -Name 'Title' -Size 24 -Color '002538' -Align Center
8-
Style -Name 'Title 2' -Size 18 -Color '007CBB' -Align Center
9-
Style -Name 'Title 3' -Size 12 -Color '007CBB' -Align Left
10-
Style -Name 'Heading 1' -Size 16 -Color '007CBB'
11-
Style -Name 'Heading 2' -Size 14 -Color '007CBB'
12-
Style -Name 'Heading 3' -Size 12 -Color '007CBB'
13-
Style -Name 'Heading 4' -Size 11 -Color '007CBB'
14-
Style -Name 'Heading 5' -Size 10 -Color '007CBB'
15-
Style -Name 'H1 Exclude TOC' -Size 16 -Color '007CBB'
16-
Style -Name 'Normal' -Size 10 -Color '565656' -Default
17-
Style -Name 'TOC' -Size 16 -Color '007CBB'
18-
Style -Name 'TableDefaultHeading' -Size 10 -Color 'FAF7EE' -BackgroundColor '002538'
19-
Style -Name 'TableDefaultRow' -Size 10
20-
Style -Name 'TableDefaultAltRow' -Size 10 -BackgroundColor 'D9E4EA'
21-
Style -Name 'Critical' -Size 10 -BackgroundColor 'FFB38F'
22-
Style -Name 'Warning' -Size 10 -BackgroundColor 'FFE860'
23-
Style -Name 'Info' -Size 10 -BackgroundColor 'A6D8E7'
24-
Style -Name 'OK' -Size 10 -BackgroundColor 'AADB1E'
7+
Style -Name 'Title' -Size 24 -Color '485969' -Align Center
8+
Style -Name 'Title 2' -Size 18 -Color '006A91' -Align Center
9+
Style -Name 'Title 3' -Size 12 -Color '006A91' -Align Left
10+
Style -Name 'Heading 1' -Size 16 -Color '006A91'
11+
Style -Name 'Heading 2' -Size 14 -Color '006A91'
12+
Style -Name 'Heading 3' -Size 12 -Color '006A91'
13+
Style -Name 'Heading 4' -Size 11 -Color '006A91'
14+
Style -Name 'Heading 5' -Size 10 -Color '006A91'
15+
Style -Name 'Normal' -Size 10 -Color '313131' -Default
16+
Style -Name 'TOC' -Size 16 -Color '006A91'
17+
Style -Name 'TableDefaultHeading' -Size 10 -Color 'FAFAFA' -BackgroundColor '485969'
18+
Style -Name 'TableDefaultRow' -Size 10 -Color '313131'
19+
Style -Name 'Critical' -Size 10 -BackgroundColor 'F5DBD9'
20+
Style -Name 'Warning' -Size 10 -BackgroundColor 'FEF3B5'
21+
Style -Name 'Info' -Size 10 -BackgroundColor 'E1F1F6'
22+
Style -Name 'OK' -Size 10 -BackgroundColor 'DFF0D0'
2523

2624
# Configure Table Styles
27-
TableStyle -Id 'TableDefault' -HeaderStyle 'TableDefaultHeading' -RowStyle 'TableDefaultRow' -AlternateRowStyle 'TableDefaultAltRow' -BorderColor '002538' -Align Left -BorderWidth 0.5 -Default
25+
$TableDefaultProperties = @{
26+
Id = 'TableDefault'
27+
HeaderStyle = 'TableDefaultHeading'
28+
RowStyle = 'TableDefaultRow'
29+
BorderColor = '485969'
30+
Align = 'Left'
31+
BorderWidth = 0.25
32+
PaddingTop = 1
33+
PaddingBottom = 1.5
34+
PaddingLeft = 2
35+
PaddingRight = 2
36+
}
37+
38+
TableStyle @TableDefaultProperties -Default
2839
TableStyle -Id 'Borderless' -BorderWidth 0
2940

3041
# VMware Cover Page Layout

AsBuiltReport.VMware.vSphere.psd1

Lines changed: 26 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -8,29 +8,23 @@
88

99
@{
1010

11+
# Script module or binary module file associated with this manifest.
12+
RootModule = 'AsBuiltReport.VMware.vSphere.psm1'
13+
1114
# Version number of this module.
12-
ModuleVersion = '1.0.5'
15+
ModuleVersion = '1.0.6'
1316

1417
# Supported PSEditions
1518
CompatiblePSEditions = 'Desktop'
1619

1720
# ID used to uniquely identify this module
1821
GUID = 'e1cbf1ce-cf01-4b6e-9cc2-56323da3c351'
1922

20-
# Version number of this module.
21-
ModuleVersion = '1.0.0'
22-
23-
# Supported PSEditions
24-
CompatiblePSEditions = 'Desktop'
25-
26-
# ID used to uniquely identify this module
27-
GUID = 'e1cbf1ce-cf01-4b6e-9cc2-56323da3c351'
28-
29-
# Minimum version of the Windows PowerShell engine required by this module
30-
PowerShellVersion = '5.1'
23+
# Author of this module
24+
Author = 'Tim Carman'
3125

3226
# Company or vendor of this module
33-
CompanyName = ''
27+
# CompanyName = ''
3428

3529
# Copyright statement for this module
3630
Copyright = '(c) 2018 Tim Carman. All rights reserved.'
@@ -44,9 +38,6 @@ ModuleVersion = '1.0.0'
4438
# Name of the Windows PowerShell host required by this module
4539
# PowerShellHostName = ''
4640

47-
# Modules that must be imported into the global environment prior to importing this module
48-
RequiredModules = @('AsBuiltReport.Core')
49-
5041
# Minimum version of Microsoft .NET Framework required by this module. This prerequisite is valid for the PowerShell Desktop edition only.
5142
DotNetFrameworkVersion = '4.5'
5243

@@ -75,20 +66,32 @@ ModuleVersion = '1.0.0'
7566
# NestedModules = @()
7667

7768
# Functions to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no functions to export.
78-
FunctionsToExport = 'Invoke-AsBuiltReport.VMware.vSphere'
69+
FunctionsToExport = @('Invoke-AsBuiltReport.VMware.vSphere')
7970

8071
# Cmdlets to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no cmdlets to export.
81-
CmdletsToExport = @()
72+
# CmdletsToExport = @()
8273

8374
# Variables to export from this module
8475
# VariablesToExport = @()
8576

8677
# Aliases to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no aliases to export.
87-
AliasesToExport = @()
78+
# AliasesToExport = @()
79+
80+
# DSC resources to export from this module
81+
# DscResourcesToExport = @()
82+
83+
# List of all modules packaged with this module
84+
# ModuleList = @()
85+
86+
# List of all files packaged with this module
87+
# FileList = @()
88+
89+
# Private data to pass to the module specified in RootModule/ModuleToProcess. This may also contain a PSData hashtable with additional module metadata used by PowerShell.
90+
PrivateData = @{
8891

8992
PSData = @{
9093
# Tags applied to this module. These help with module discovery in online galleries.
91-
Tags = 'AsBuiltReport', 'Report', 'VMware', 'vSphere', 'Documentation', 'PScribo', 'PSEdition_Desktop'
94+
Tags = 'AsBuiltReport', 'Report', 'VMware', 'vSphere', 'Documentation', 'PScribo', 'PSEdition_Desktop', 'Windows'
9295

9396
# A URL to the license for this module.
9497
LicenseUri = 'https://raw.githubusercontent.com/AsBuiltReport/AsBuiltReport.VMware.vSphere/master/LICENSE'
@@ -113,11 +116,10 @@ ModuleVersion = '1.0.0'
113116

114117
} # End of PSData hashtable
115118

116-
# List of all modules packaged with this module
117-
# ModuleList = @()
119+
} # End of PrivateData hashtable
118120

119-
# List of all files packaged with this module
120-
# FileList = @()
121+
# HelpInfo URI of this module
122+
# HelpInfoURI = ''
121123

122124
# Default prefix for commands exported from this module. Override the default prefix using Import-Module -Prefix.
123125
# DefaultCommandPrefix = ''

CHANGELOG.md

Lines changed: 27 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,23 @@
11
# VMware vSphere As Built Report Changelog
22

3-
## [1.0.5] - 2019-05-15
3+
## [1.0.6] - 2019-05-16
44
### Changed
5-
- Fix errors in DRS rule code
6-
- Fix errors in DRS Vm Overrides code
7-
8-
## [1.0.4] - 2019-05-15
9-
### Changed
10-
- Fixed errors in Cluster permissions code
11-
- Fixed errors in VDS Traffic Shaping code
12-
- Improved report readability for ESXi firewall reporting
13-
- Improved report readability for DRS Groups & DRS Rules reporting
14-
15-
## [1.0.3] - 2019-05-14
16-
### Changed
17-
- Improvements to code and report readability
5+
- Fixed code errors which prevented a report from being generated
6+
- Improved code and report readability
187
- Fixed vCenter Server licensing reporting
198
- Fixed Datastore reporting when an empty datastore cluster exists
209
- Fixed DRS Cluster Group reporting when group does not contain any members
2110
- Fixed DRS Cluster Group sorting
2211
- Fixed VMHost reporting to exclude HCX Cloud Gateway host
12+
- Updated VMware default style to more closely align with Clarity
2313

2414
## [1.0.0] - 2019-03-27
2515
### Added
26-
- Update Manager Server name added to vCenter Server detailed information
16+
- Added Update Manager Server name to vCenter Server detailed information
2717

2818
### Changed
29-
- Corrected VMHost count for Distributed Virtual Switches
30-
- Corrected vCenter Server licensing for vCenter Server 5.5/6.0
19+
- Fixed VMHost count for Distributed Virtual Switches
20+
- Fixed vCenter Server licensing for vCenter Server 5.5/6.0
3121
- Fixed script termination where ESXi hosts do not have a datastore
3222

3323
## [0.4.0] - 2019-03-15
@@ -43,42 +33,46 @@
4333
- Added Cluster VM Overrides section
4434

4535
### Changed
46-
- Improvements to code structure & readability
47-
- Improvements to output formatting
48-
- Improvements to vSphere HA/DRS Cluster reporting and health checks
49-
- Improvements to VM reporting and health checks
50-
- Corrected sorting of numerous table entries
51-
- Corrected VMHost & VM uptime calculations
52-
- Corrected display of 3rd party Multipath Policy plugins
53-
- Corrected vSAN type & disk count
36+
- Improved code structure & readability
37+
- Improved output formatting
38+
- Improved vSphere HA/DRS Cluster reporting and health checks
39+
- Improved VM reporting and health checks
40+
- Fixed sorting of numerous table entries
41+
- Fixed VMHost & VM uptime calculations
42+
- Fixed display of 3rd party Multipath Policy plugins
43+
- Fixed vSAN type & disk count
5444
- Updated Get-Uptime & Get-License functions
5545

5646
## [0.2.2] - 2018-09-19
5747
### Added
5848
- Added new VM health checks for CPU Hot Add/Remove, Memory Hot Add & Change Block Tracking
59-
- Improvements to VM reporting for Guest OS, CPU Hot Add/Remove, Memory Hot Add & Change Block Tracking
49+
- Improved VM reporting for Guest OS, CPU Hot Add/Remove, Memory Hot Add & Change Block Tracking
6050
- Minor updates to section paragraph text
6151

6252
## 0.2.1
63-
### What's New
53+
### Added
6454
- Added SDRS VM Overrides to Datastore Cluster section
55+
56+
### Changed
6557
- SCSI LUN section rewritten to improve script performance
6658
- Fixed issues with current working directory paths
67-
- Changes to InfoLevel settings and definitions
59+
- Changed InfoLevel settings and definitions
6860
- Script formatting improvements to some sections to align with PowerShell best practice guidelines
6961
- vCenter Server SSL Certificate section removed temporarily
7062

7163
## 0.2.0
72-
### What's New
73-
- Requires PScribo module 0.7.24
64+
### Added
7465
- Added regions/endregions to all sections of script
75-
- Formatting improvements
7666
- Added Resource Pool summary information
7767
- Added vSAN summary information
7868
- Added vCenter Server mail settings health check
79-
- Datastore Clusters now has it's own dedicated section
8069
- Added DSCluster health checks
8170
- Added VM Power State health check
71+
- Added support for NSX-V reporting
72+
73+
### Changed
74+
- Updated about_Requires to PScribo module 0.7.24
75+
- Formatting improvements
76+
- Datastore Clusters now has it's own dedicated section
8277
- Renamed Storage section to Datastores
8378
- Renamed Storage health checks section to Datastore
84-
- Added support for NSX-V reporting

0 commit comments

Comments
 (0)