Closed rebelinux closed 1 year ago
PSScriptAnalyzer results:
``` RuleName : PSUseCmdletCorrectly Severity : Warning ScriptName : Get-VbrServerConnection.ps1 Line : 40 Message : Cmdlet 'Write-Output' may be used incorrectly. Please check that all mandatory parameters are supplied. RuleName : PSUseCmdletCorrectly Severity : Warning ScriptName : Get-VbrServerConnection.ps1 Line : 52 Message : Cmdlet 'Write-Output' may be used incorrectly. Please check that all mandatory parameters are supplied. RuleName : PSUseCmdletCorrectly Severity : Warning ScriptName : Get-VbrServerConnection.ps1 Line : 59 Message : Cmdlet 'Write-Output' may be used incorrectly. Please check that all mandatory parameters are supplied. RuleName : PSUseShouldProcessForStateChangingFunctions Severity : Warning ScriptName : SharedUtilsFunctions.ps1 Line : 2 Message : Function 'Remove-SpecialChars' has verb that could change system state. Therefore, the function has to support 'ShouldProcess'. RuleName : PSUseSingularNouns Severity : Warning ScriptName : SharedUtilsFunctions.ps1 Line : 2 Message : The cmdlet 'Remove-SpecialChars' uses a plural noun. A singular noun should be used instead. RuleName : PSUseOutputTypeCorrectly Severity : Information ScriptName : New-VeeamDiagram.ps1 Line : 424 Message : The cmdlet 'New-VeeamDiagram' returns an object of type 'System.String' but this type is not declared in the OutputType attribute. RuleName : PSUseOutputTypeCorrectly Severity : Information ScriptName : New-VeeamDiagram.ps1 Line : 466 Message : The cmdlet 'New-VeeamDiagram' returns an object of type 'System.String' but this type is not declared in the OutputType attribute. ```
Description
v[0.5.0] - 2022-12.07
Fixed
How Has This Been Tested?
Types of changes
Checklist: