Quantcast
Channel: Windows PowerShell forum
Viewing all articles
Browse latest Browse all 21975

Can someone please help me extract all users, but properties of one AD attribute?

$
0
0

Hi everyone. We use the pager field in AD for printer pins. I'd like to extract a list of all the users, with the properties of the pager field to a csv file. The reason is that we can't duplicated pins, so need to keep track of which ones are used and then ensure we always assign a unique one to new users.

the powershell;

get-aduser sbryan -properties *| select -property pager
lists it for me, in the powershell window, but if anyone can help me with the command for all users, plus list the value of that pager field, that would be great.

thanks in advance, Shane.


 

Viewing all articles
Browse latest Browse all 21975

Trending Articles



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