Skip to content

Commit f521811

Browse files
authored
Merge pull request #3 from AsBuiltReport/dev
v1.1.0 Release
2 parents 5eb0c5f + a9f5a28 commit f521811

20 files changed

+2435
-1817
lines changed

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,16 @@ A clear and concise description of what you expected to happen.
2020
**Screenshots**
2121
If applicable, add screenshots to help explain your problem.
2222

23-
**System (please provide the following information about the system from which you are trying to generate a report):**
24-
- OS: [e.g. Windows 10]
25-
- Windows PowerShell version [Provide output from the following command: `$PSVersionTable.PSVersion`]
26-
- 3rd party PowerShell module name and version [e.g. VMware PowerCLI 11.2]
27-
- AsBuiltReport Core module version [e.g. 1.0.0]
28-
- AsBuiltReport Report module name and version [e.g. AsBuiltReport.VMware.vSphere 1.0.0]
23+
**Desktop (please complete the following information):**
24+
- OS: [e.g. iOS]
25+
- Browser [e.g. chrome, safari]
26+
- Version [e.g. 22]
27+
28+
**Smartphone (please complete the following information):**
29+
- Device: [e.g. iPhone6]
30+
- OS: [e.g. iOS8.1]
31+
- Browser [e.g. stock browser, safari]
32+
- Version [e.g. 22]
2933

3034
**Additional context**
31-
Add any other context about the problem here.
35+
Add any other context about the problem here.
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: PSScriptAnalyzer
2+
on: [push, pull_request]
3+
jobs:
4+
lint:
5+
name: Run PSScriptAnalyzer
6+
runs-on: ubuntu-latest
7+
steps:
8+
- uses: actions/checkout@v2
9+
- name: lint
10+
uses: devblackops/github-action-psscriptanalyzer@master
11+
with:
12+
sendComment: true
13+
failOnErrors: true
14+
failOnWarnings: false
15+
failOnInfos: false
16+
repoToken: ${{ secrets.GITHUB_TOKEN }}
17+
settingsPath: .github/workflows/PSScriptAnalyzerSettings.psd1
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
@{
2+
ExcludeRules = @(
3+
'PSUseToExportFieldsInManifest',
4+
'PSReviewUnusedParameter',
5+
'PSUseDeclaredVarsMoreThanAssignments',
6+
'PSAvoidGlobalVars'
7+
)
8+
}

.github/workflows/Release.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: Publish PowerShell Module
2+
3+
on:
4+
release:
5+
types: [published]
6+
7+
jobs:
8+
publish-to-gallery:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v2
12+
- name: Publish
13+
shell: pwsh
14+
run: |
15+
Publish-Module -Path ./ -NuGetApiKey ${{ secrets.PSGALLERY_API_KEY }} -Verbose

.vscode/settings.json

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,25 @@
11
{
22
"powershell.codeFormatting.preset": "Custom",
3+
"powershell.codeFormatting.useCorrectCasing": true,
4+
"powershell.codeFormatting.autoCorrectAliases": true,
35
"powershell.codeFormatting.whitespaceBeforeOpenBrace": true,
46
"powershell.codeFormatting.whitespaceBeforeOpenParen": true,
57
"powershell.codeFormatting.whitespaceAroundOperator": true,
68
"powershell.codeFormatting.whitespaceAfterSeparator": true,
9+
"powershell.codeFormatting.addWhitespaceAroundPipe": true,
710
"powershell.codeFormatting.ignoreOneLineBlock": true,
811
"powershell.codeFormatting.newLineAfterCloseBrace": false,
912
"powershell.codeFormatting.newLineAfterOpenBrace": true,
1013
"powershell.codeFormatting.openBraceOnSameLine": true,
14+
"powershell.codeFormatting.alignPropertyValuePairs": false,
1115
"powershell.codeFolding.enable": true,
12-
"powershell.codeFormatting.alignPropertyValuePairs": false,
13-
"powershell.bugReporting.project": "https://github.com/AsBuiltReport/AsBuiltReport.VMware.vSphere/",
16+
"powershell.scriptAnalysis.enable": true,
17+
"powershell.scriptAnalysis.settingsPath": ".github/workflows/PSScriptAnalyzerSettings.psd1",
1418
"editor.tabSize": 4,
1519
"editor.insertSpaces": true,
1620
"editor.detectIndentation": false,
1721
"editor.rulers": [
1822
115
19-
]
23+
],
24+
"files.trimTrailingWhitespace": true
2025
}

AsBuiltReport.VMware.ESXi.Style.ps1

Lines changed: 55 additions & 21 deletions
Large diffs are not rendered by default.

AsBuiltReport.VMware.ESXi.json

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,21 @@
22
"Report": {
33
"Name": "VMware ESXi As Built Report",
44
"Version": "1.0",
5-
"Status": "Released"
5+
"Status": "Released",
6+
"ShowCoverPageImage": true,
7+
"ShowTableOfContents": true,
8+
"ShowHeaderFooter": true,
9+
"ShowTableCaptions": true
610
},
711
"Options": {
812
"ShowLicenseKeys": false,
913
"ShowVMSnapshots": true
1014
},
1115
"InfoLevel": {
12-
"_comment_": "0 = Disabled, 1 = Summary, 2 = Informative, 3 = Detailed, 4 = Adv Detailed, 5 = Comprehensive",
16+
"_comment_": "0 = Disabled, 1 = Enabled / Summary, 2 = Adv Summary, 3 = Detailed, 4 = Adv Detailed, 5 = Comprehensive",
1317
"VMHost": 3,
1418
"Network": 3,
15-
"Datastore": 3,
19+
"Storage": 3,
1620
"VM": 3
1721
},
1822
"HealthCheck": {

AsBuiltReport.VMware.ESXi.psd1

268 Bytes
Binary file not shown.

AsBuiltReport.VMware.ESXi.psm1

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
1-
# Get public function definition files and dot source them
2-
$Public = @(Get-ChildItem -Path $PSScriptRoot\Src\Public\*.ps1)
1+
# Get public and private function definition files and dot source them
2+
$Public = @(Get-ChildItem -Path $PSScriptRoot\Src\Public\*.ps1 -ErrorAction SilentlyContinue)
3+
$Private = @(Get-ChildItem -Path $PSScriptRoot\Src\Private\*.ps1 -ErrorAction SilentlyContinue)
34

4-
foreach ($Module in $Public) {
5+
foreach ($Module in @($Public + $Private)) {
56
try {
67
. $Module.FullName
78
} catch {
89
Write-Error -Message "Failed to import function $($Module.FullName): $_"
910
}
1011
}
1112

12-
Export-ModuleMember -Function $Public.BaseName
13+
Export-ModuleMember -Function $Public.BaseName
14+
Export-ModuleMember -Function $Private.BaseName

CHANGELOG.md

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,23 @@
1-
# AsBuiltReport.VMware.ESXi Changelog
1+
# :arrows_counterclockwise: AsBuiltReport.VMware.ESXi Changelog
22

3-
## [1.0.0] 2020-04-02
3+
## [[1.1.0](https://github.com/AsBuiltReport/AsBuiltReport.VMware.ESXi/releases/tag/v1.1.0)] - 2021-10-09
4+
5+
### Added
6+
- PowerShell 7 compatibility
7+
- PSScriptAnalyzer & PublishPSModule GitHub Action workflows
8+
- VMHost network adapter LLDP reporting
9+
- NSX TCP/IP stacks for VMkernel Adpater reporting
10+
- Include release and issue links in `CHANGELOG.md`
11+
12+
### Changed
13+
- VMkernel Adapter reporting for enabled services
14+
15+
### Fixed
16+
- Display issues with highlights in `README.md`
17+
18+
## [[1.0.0](https://github.com/AsBuiltReport/AsBuiltReport.VMware.ESXi/releases/tag/v1.1.0)] - 2020-04-02
419
### Added
520
- Initial release of VMware ESXi As Built Report
621

722
### Fixed
8-
- Created new VMware ESXi As Built Report (Fix #1)
23+
- Created new VMware ESXi As Built Report ([Fix #1](https://github.com/AsBuiltReport/AsBuiltReport.VMware.ESXi/issues/1))

0 commit comments

Comments
 (0)