Skip to content

Commit b4b61aa

Browse files
committed
v1.5.1
### Changed - `OutputFolderPath` parameter is now optional. If not specified, the report will be saved to the current folder location.
1 parent b6d0edb commit b4b61aa

File tree

4 files changed

+10
-5
lines changed

4 files changed

+10
-5
lines changed

AsBuiltReport.Core/AsBuiltReport.Core.psd1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
# Version number of this module.
1515

16-
ModuleVersion = '1.5.0'
16+
ModuleVersion = '1.5.1'
1717

1818
# Supported PSEditions
1919
CompatiblePSEditions = @('Desktop', 'Core')

AsBuiltReport.Core/Src/Public/New-AsBuiltReport.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -266,12 +266,12 @@ function New-AsBuiltReport {
266266
[String] $Orientation = 'Portrait',
267267

268268
[Parameter(
269-
Mandatory = $true,
269+
Mandatory = $false,
270270
HelpMessage = 'Please provide the path to the document output file'
271271
)]
272272
[ValidateNotNullOrEmpty()]
273273
[Alias('OutputPath')]
274-
[String] $OutputFolderPath,
274+
[String] $OutputFolderPath = (Get-Location).Path,
275275

276276
[Parameter(
277277
Mandatory = $false,

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [1.5.1] - 2025-11-17
9+
10+
### Changed
11+
- `OutputFolderPath` parameter is now optional. If not specified, the report will be saved to the current folder location. Resolves [#65](https://github.com/AsBuiltReport/AsBuiltReport.Core/issues/65).
12+
813
## [1.5.0] - 2025-10-21
914

1015
### Added

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -262,8 +262,8 @@ Get-Help New-AsBuiltReportConfig -Full
262262
Here are some examples to get you going.
263263

264264
```powershell
265-
# Generate a VMware vSphere AsBuiltReport in HTML & Word formats. Perform a health check to highlight particular issues which exist within the VMware vSphere environment. Save the report to the 'H:\Documents\' folder.
266-
New-AsBuiltReport -Report 'VMware.vSphere' -Target '192.168.1.100' -Username 'admin' -Password 'admin' -Format HTML,Word -EnableHealthCheck -OutputFolderPath 'H:\Documents\'
265+
# Generate a VMware vSphere AsBuiltReport in HTML & Word formats. Perform a health check to highlight particular issues which exist within the VMware vSphere environment. Save the report to the current folder.
266+
New-AsBuiltReport -Report 'VMware.vSphere' -Target '192.168.1.100' -Username 'admin' -Password 'admin' -Format HTML,Word -EnableHealthCheck
267267
268268
# Generate a Nutanix Prism Element AsBuiltReport using specified username and password credentials. Specify the report configuration file to be used. Export report to Text, HTML & DOCX formats. Use the default report style. Save the report to the '/Users/Tim/Documents' folder. Display verbose messages to the console.
269269
New-AsBuiltReport -Report 'Nutanix.PrismElement' -Target 'prism.nutanix.local' -Username 'demo' -Password 'demo' -Format Text,Html,Word -OutputFolderPath '/Users/Tim/Documents' -ReportConfigFilePath '/Users/Tim/AsBuiltReport/AsBuiltReport.Nutanix.PrismElement.json' -Verbose

0 commit comments

Comments
 (0)