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

How to export user membeship and Attribute values to CSV

$
0
0

Hi

I have these simple script to pull the attribute values:

import-module ActiveDirectory
Get-ADUser -filter {objectclass -eq "user"} -Properties extensionattribute5| select name, extensionattribute1 | Export-Csv Attributes_Result.csv

I need to add the user membership to these report on another column.

How can I do this?

Maelito


Maelito


Viewing all articles
Browse latest Browse all 21975

Trending Articles



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