AsBuiltReport / AsBuiltReport.VMware.vSphere

Repository for AsBuiltReport VMware vSphere module
https://www.asbuiltreport.com
MIT License
110 stars 39 forks source link

v1.3.3.1 release #95

Closed tpcarman closed 2 years ago

tpcarman commented 2 years ago

Fixed

Types of changes

Checklist:

github-actions[bot] commented 2 years ago

PSScriptAnalyzer results:

Errors: [0], Warnings: [11], Information: [16]

``` RuleName : PSAvoidUsingCmdletAliases Severity : Warning ScriptName : Invoke-AsBuiltReport.VMware.vSphere.ps1 Line : 2224 Message : 'foreach' is an alias of 'ForEach-Object'. Alias can introduce possible problems and make scripts hard to maintain. Please consider changing alias to its full content. RuleName : PSUseProcessBlockForPipelineCommand Severity : Warning ScriptName : Get-RequiredModule.ps1 Line : 18 Message : Command accepts pipeline input but has not defined a process block. RuleName : PSUseProcessBlockForPipelineCommand Severity : Warning ScriptName : Get-RequiredModule.ps1 Line : 22 Message : Command accepts pipeline input but has not defined a process block. RuleName : PSAvoidOverwritingBuiltInCmdlets Severity : Warning ScriptName : Get-Uptime.ps1 Line : 1 Message : 'Get-Uptime' is a cmdlet that is included with PowerShell (version core-6.1.0-windows) whose definition should not be overridden RuleName : PSUseProcessBlockForPipelineCommand Severity : Warning ScriptName : Get-Uptime.ps1 Line : 6 Message : Command accepts pipeline input but has not defined a process block. RuleName : PSUseSingularNouns Severity : Warning ScriptName : Get-vCenterStats.ps1 Line : 1 Message : The cmdlet 'Get-vCenterStats' uses a plural noun. A singular noun should be used instead. RuleName : PSUseProcessBlockForPipelineCommand Severity : Warning ScriptName : Get-License.ps1 Line : 35 Message : Command accepts pipeline input but has not defined a process block. RuleName : PSUseProcessBlockForPipelineCommand Severity : Warning ScriptName : Get-License.ps1 Line : 38 Message : Command accepts pipeline input but has not defined a process block. RuleName : PSPossibleIncorrectComparisonWithNull Severity : Warning ScriptName : Get-License.ps1 Line : 59 Message : $null should be on the left side of equality comparisons. RuleName : PSPossibleIncorrectComparisonWithNull Severity : Warning ScriptName : Get-License.ps1 Line : 81 Message : $null should be on the left side of equality comparisons. RuleName : PSPossibleIncorrectComparisonWithNull Severity : Warning ScriptName : Get-License.ps1 Line : 109 Message : $null should be on the left side of equality comparisons. RuleName : PSAvoidTrailingWhitespace Severity : Information ScriptName : Get-Uptime.ps1 Line : 9 Message : Line has trailing whitespace RuleName : PSAvoidTrailingWhitespace Severity : Information ScriptName : Get-License.ps1 Line : 35 Message : Line has trailing whitespace RuleName : PSAvoidTrailingWhitespace Severity : Information ScriptName : Get-License.ps1 Line : 39 Message : Line has trailing whitespace RuleName : PSAvoidTrailingWhitespace Severity : Information ScriptName : Get-License.ps1 Line : 47 Message : Line has trailing whitespace RuleName : PSAvoidTrailingWhitespace Severity : Information ScriptName : Get-License.ps1 Line : 55 Message : Line has trailing whitespace RuleName : PSAvoidTrailingWhitespace Severity : Information ScriptName : Get-License.ps1 Line : 56 Message : Line has trailing whitespace RuleName : PSAvoidTrailingWhitespace Severity : Information ScriptName : Get-License.ps1 Line : 60 Message : Line has trailing whitespace RuleName : PSAvoidTrailingWhitespace Severity : Information ScriptName : Get-License.ps1 Line : 72 Message : Line has trailing whitespace RuleName : PSAvoidTrailingWhitespace Severity : Information ScriptName : Get-License.ps1 Line : 77 Message : Line has trailing whitespace RuleName : PSAvoidTrailingWhitespace Severity : Information ScriptName : Get-License.ps1 Line : 82 Message : Line has trailing whitespace RuleName : PSAvoidTrailingWhitespace Severity : Information ScriptName : Get-License.ps1 Line : 100 Message : Line has trailing whitespace RuleName : PSAvoidTrailingWhitespace Severity : Information ScriptName : Get-License.ps1 Line : 108 Message : Line has trailing whitespace RuleName : PSAvoidTrailingWhitespace Severity : Information ScriptName : Get-PciDeviceDetail.ps1 Line : 42 Message : Line has trailing whitespace RuleName : PSAvoidTrailingWhitespace Severity : Information ScriptName : Get-PciDeviceDetail.ps1 Line : 47 Message : Line has trailing whitespace RuleName : PSAvoidTrailingWhitespace Severity : Information ScriptName : Get-PciDeviceDetail.ps1 Line : 54 Message : Line has trailing whitespace RuleName : PSAvoidTrailingWhitespace Severity : Information ScriptName : Get-PciDeviceDetail.ps1 Line : 78 Message : Line has trailing whitespace ```