How to export in CSV all users with special attributes, members of a domain (PowerShell)

Well, this one is really simple:

Get-QADUser * -SizeLimit 0 | select name,displayname,email,company,stateorprovince,city,streetaddress,office | Export-Csv C:\temp\ExportUsers.csv

You can type Get-QADUser username | select * and all user attributes will be shown on screen. You can insert these attributes in the 1st command, as a replacement for name, displayname, email, company, stateorprovince, city, streetaddress or office 😉

Advertisement
About

Victor an End User Computing Consultant. You find him most of the time on Twitter (@01004753) but also on LinkedIn evangelizing new technologies and processes that can change in good, the world we live in. Victor has expertise in Server & Client Virtualization, Client Management, GPU Virtualization, HyperConvergence and Enterprise Security

Posted in HowTo, PowerShell

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Follow Victor Homocea on WordPress.com
My Gravatar

CormacHogan.com

Storage, Virtualization, Container Orchestration

Marius Sandbu

msandbu.org

Trafictube.ro

cu camera pe bord

Ingmar Verheij

About Citrix, Remote Desktop, Performance, Workspace, Monitoring and more...

Carl Stalhood

Filling gaps in EUC vendor documentation

Stéphane Thirion

Don't Follow the Trend

Victor Homocea

blog.ogs.ro

Ray Heffer

Enterprise Technologies

Elvis Apostol

Calatorind prin lumi indepartate, pictez in cuvinte, lacrimi de culori.

%d bloggers like this: