Quantcast
Channel: The Official Scripting Guys Forum! forum
Viewing all articles
Browse latest Browse all 15028

How to find users from a container with a included property in Quest Powershell?

$
0
0

Hi guys

I need to get users' EmployeeID (which is an included property in my company) from a container but I don't know how to make it work, this is what I got:

Get-Content C:\Users.txt | Get-QADuser -IncludedProperties EmployeeID | Select EmployeeID,DisplayName,SamAccountName | Export-CSV C:\IDs.csv

In the container are only the numbers of each user (company IDs), I need the script to gather those numbers and bring me the DisplayName, EmployeeID and the SamAccountName. When I run that script it doesn't do anything, no error, nothing.

Thanks all!


Viewing all articles
Browse latest Browse all 15028

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>