Hey guys. I made a small script to pull all users and filter them with attribute ‘employeeType’ that equals ‘e’. Now i have a need to pull all that are ‘e’ and ‘c’, only. How do i accomplish this in my script, for different inputs to the ‘employeeType’ attribute?
Import-Module ActiveRolesManagementShell Connect-QADService -Service OGBDARS01 -Proxy Set-QADPSSnapinSettings -DefaultSizeLimit 0 Get-QADUser -Enabled -IncludedProperties employeeID -LdapFilter '(employeeType=e)' | Select-Object -Property samAccountName, Name, employeeID, employeeType | Export-Csv -Path .\Enabled_CORP_Employees.csv -NoTypeInformation