Closed rebelinux closed 2 years 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 : 410 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 : 452 Message : The cmdlet 'New-VeeamDiagram' returns an object of type 'System.String' but this type is not declared in the OutputType attribute. ```
Description
[0.4.0] - 2022-10.31
Added
Related Issue
Motivation and Context
How Has This Been Tested?
Screenshots (if appropriate):
Types of changes
Checklist: