You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
($_.Message-ne"Undefined DSC resource 'LocalConfigurationManager'. Use Import-DSCResource to import the resource.") -and
53
+
($_.Message-ne"Undefined DSC resource 'Script'. Use Import-DSCResource to import the resource.") -and
54
+
($_.Message-ne"Undefined DSC resource 'User'. Use Import-DSCResource to import the resource.") -and
55
+
($_.Message-ne"Undefined DSC resource 'Group'. Use Import-DSCResource to import the resource.") -and
56
+
# it's getting confused - Group here is actually the DSC resource, not an alias.
57
+
($_.Message-ne"'Group' is an alias of 'Group-Object'. Alias can introduce possible problems and make scripts hard to maintain. Please consider changing alias to its full content.")
58
+
}
59
+
}
60
+
$results.length| Should Be 0
61
+
}
62
+
63
+
It "Should have zero PSScriptAnalyzer issues in Examples" {
0 commit comments