I can't figure out how to get a list of users who don't have customattribute1 set to employee. I'm very new to scripting so be gentle. :)
My latest attempt
Get-ADUser -filter * -Properties * | ? {$_.customattribute1 -notlike employee}
Any ideas/help?
Thanks!!