-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
### Added - PowerShell 7 compatibility - PSScriptAnalyzer & PublishPSModule GitHub Action workflows - VMHost network adapter LLDP reporting - NSX TCP/IP stacks for VMkernel Adpater reporting - Include release and issue links in `CHANGELOG.md` ### Changed - VMkernel Adapter reporting for enabled services ### Fixed - Display issues with highlights in `README.md`
- Loading branch information
Showing
20 changed files
with
2,435 additions
and
1,817 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
name: PSScriptAnalyzer | ||
on: [push, pull_request] | ||
jobs: | ||
lint: | ||
name: Run PSScriptAnalyzer | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: lint | ||
uses: devblackops/github-action-psscriptanalyzer@master | ||
with: | ||
sendComment: true | ||
failOnErrors: true | ||
failOnWarnings: false | ||
failOnInfos: false | ||
repoToken: ${{ secrets.GITHUB_TOKEN }} | ||
settingsPath: .github/workflows/PSScriptAnalyzerSettings.psd1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
@{ | ||
ExcludeRules = @( | ||
'PSUseToExportFieldsInManifest', | ||
'PSReviewUnusedParameter', | ||
'PSUseDeclaredVarsMoreThanAssignments', | ||
'PSAvoidGlobalVars' | ||
) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
name: Publish PowerShell Module | ||
|
||
on: | ||
release: | ||
types: [published] | ||
|
||
jobs: | ||
publish-to-gallery: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Publish | ||
shell: pwsh | ||
run: | | ||
Publish-Module -Path ./ -NuGetApiKey ${{ secrets.PSGALLERY_API_KEY }} -Verbose |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,25 @@ | ||
{ | ||
"powershell.codeFormatting.preset": "Custom", | ||
"powershell.codeFormatting.useCorrectCasing": true, | ||
"powershell.codeFormatting.autoCorrectAliases": true, | ||
"powershell.codeFormatting.whitespaceBeforeOpenBrace": true, | ||
"powershell.codeFormatting.whitespaceBeforeOpenParen": true, | ||
"powershell.codeFormatting.whitespaceAroundOperator": true, | ||
"powershell.codeFormatting.whitespaceAfterSeparator": true, | ||
"powershell.codeFormatting.addWhitespaceAroundPipe": true, | ||
"powershell.codeFormatting.ignoreOneLineBlock": true, | ||
"powershell.codeFormatting.newLineAfterCloseBrace": false, | ||
"powershell.codeFormatting.newLineAfterOpenBrace": true, | ||
"powershell.codeFormatting.openBraceOnSameLine": true, | ||
"powershell.codeFormatting.alignPropertyValuePairs": false, | ||
"powershell.codeFolding.enable": true, | ||
"powershell.codeFormatting.alignPropertyValuePairs": false, | ||
"powershell.bugReporting.project": "https://github.com/AsBuiltReport/AsBuiltReport.VMware.vSphere/", | ||
"powershell.scriptAnalysis.enable": true, | ||
"powershell.scriptAnalysis.settingsPath": ".github/workflows/PSScriptAnalyzerSettings.psd1", | ||
"editor.tabSize": 4, | ||
"editor.insertSpaces": true, | ||
"editor.detectIndentation": false, | ||
"editor.rulers": [ | ||
115 | ||
] | ||
], | ||
"files.trimTrailingWhitespace": true | ||
} |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,14 @@ | ||
# Get public function definition files and dot source them | ||
$Public = @(Get-ChildItem -Path $PSScriptRoot\Src\Public\*.ps1) | ||
# Get public and private function definition files and dot source them | ||
$Public = @(Get-ChildItem -Path $PSScriptRoot\Src\Public\*.ps1 -ErrorAction SilentlyContinue) | ||
$Private = @(Get-ChildItem -Path $PSScriptRoot\Src\Private\*.ps1 -ErrorAction SilentlyContinue) | ||
|
||
foreach ($Module in $Public) { | ||
foreach ($Module in @($Public + $Private)) { | ||
try { | ||
. $Module.FullName | ||
} catch { | ||
Write-Error -Message "Failed to import function $($Module.FullName): $_" | ||
} | ||
} | ||
|
||
Export-ModuleMember -Function $Public.BaseName | ||
Export-ModuleMember -Function $Public.BaseName | ||
Export-ModuleMember -Function $Private.BaseName |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,23 @@ | ||
# AsBuiltReport.VMware.ESXi Changelog | ||
# :arrows_counterclockwise: AsBuiltReport.VMware.ESXi Changelog | ||
|
||
## [1.0.0] 2020-04-02 | ||
## [[1.1.0](https://github.com/AsBuiltReport/AsBuiltReport.VMware.ESXi/releases/tag/v1.1.0)] - 2021-10-09 | ||
|
||
### Added | ||
- PowerShell 7 compatibility | ||
- PSScriptAnalyzer & PublishPSModule GitHub Action workflows | ||
- VMHost network adapter LLDP reporting | ||
- NSX TCP/IP stacks for VMkernel Adpater reporting | ||
- Include release and issue links in `CHANGELOG.md` | ||
|
||
### Changed | ||
- VMkernel Adapter reporting for enabled services | ||
|
||
### Fixed | ||
- Display issues with highlights in `README.md` | ||
|
||
## [[1.0.0](https://github.com/AsBuiltReport/AsBuiltReport.VMware.ESXi/releases/tag/v1.1.0)] - 2020-04-02 | ||
### Added | ||
- Initial release of VMware ESXi As Built Report | ||
|
||
### Fixed | ||
- Created new VMware ESXi As Built Report (Fix #1) | ||
- Created new VMware ESXi As Built Report ([Fix #1](https://github.com/AsBuiltReport/AsBuiltReport.VMware.ESXi/issues/1)) |
Oops, something went wrong.