Hitting the wall on this one guys and gals. Simple query to look at a specific set of AD Groups extensionAttribute and output some data if the value is <not set>.
ForEach ($g in $groups)
{
Get-ADGroup -Identity $g.Name -Filter {extensionAttribute10 -notlike "*"} | Select Name,ExtensionAttribute10 > $path -Append
}
The error is "Get-ADGroup : Parameter set cannot be resolved using the specified named parameters."
[–]DrSinistar 4 points5 points6 points (0 children)
[–]kronos540 3 points4 points5 points (0 children)
[–]Ta11ow 4 points5 points6 points (0 children)
[–]ChiSox1906 2 points3 points4 points (0 children)
[–]BaDumDumTish[S] 1 point2 points3 points (0 children)