AsBuiltReport / AsBuiltReport.Microsoft.Windows

Repository for AsBuiltReport Microsoft Windows module
MIT License
29 stars 12 forks source link

Initial support for Server 2025 #39

Closed rebelinux closed 1 week ago

rebelinux commented 1 week ago
github-actions[bot] commented 1 week ago

PSScriptAnalyzer results:

Errors: [0], Warnings: [7], Information: [3]

``` RuleName : PSPossibleIncorrectComparisonWithNull Severity : Warning ScriptName : SharedUtilsFunctions.ps1 Line : 276 Message : $null should be on the left side of equality comparisons. RuleName : PSPossibleIncorrectComparisonWithNull Severity : Warning ScriptName : SharedUtilsFunctions.ps1 Line : 286 Message : $null should be on the left side of equality comparisons. RuleName : PSPossibleIncorrectComparisonWithNull Severity : Warning ScriptName : SharedUtilsFunctions.ps1 Line : 496 Message : $null should be on the left side of equality comparisons. RuleName : PSPossibleIncorrectComparisonWithNull Severity : Warning ScriptName : SharedUtilsFunctions.ps1 Line : 276 Message : $null should be on the left side of equality comparisons. RuleName : PSPossibleIncorrectComparisonWithNull Severity : Warning ScriptName : SharedUtilsFunctions.ps1 Line : 286 Message : $null should be on the left side of equality comparisons. RuleName : PSUseUsingScopeModifierInNewRunspaces Severity : Warning ScriptName : Invoke-AsBuiltReport.Microsoft.Windows.ps1 Line : 122 Message : The variable '$ScriptContent' is not declared within this ScriptBlock, and is missing the 'Using:' scope modifier. RuleName : PSUseUsingScopeModifierInNewRunspaces Severity : Warning ScriptName : Invoke-AsBuiltReport.Microsoft.Windows.ps1 Line : 125 Message : The variable '$ScriptContent' is not declared within this ScriptBlock, and is missing the 'Using:' scope modifier. RuleName : PSUseOutputTypeCorrectly Severity : Information ScriptName : SharedUtilsFunctions.ps1 Line : 334 Message : The cmdlet 'Get-LocalGroupMemberObj' returns an object of type 'System.String' but this type is not declared in the OutputType attribute. RuleName : PSAvoidUsingPositionalParameters Severity : Information ScriptName : SharedUtilsFunctions.ps1 Line : 363 Message : Cmdlet 'Get-DomainGroupMember' has positional parameter. Please use named parameters instead of positional parameters when calling a command. RuleName : PSAvoidUsingPositionalParameters Severity : Information ScriptName : SharedUtilsFunctions.ps1 Line : 422 Message : Cmdlet 'Get-DomainGroupMember' has positional parameter. Please use named parameters instead of positional parameters when calling a command. ```