Closed rebelinux closed 1 year ago
PSScriptAnalyzer results:
``` 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 : 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 : PSUseOutputTypeCorrectly Severity : Information ScriptName : New-VeeamDiagram.ps1 Line : 432 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 : 474 Message : The cmdlet 'New-VeeamDiagram' returns an object of type 'System.String' but this type is not declared in the OutputType attribute. ```
Description
[0.5.1] - 2023-05.17
Fixed