"In this video, I'll show you how to easily export a list of Active Directory users to a CSV file using a simple PowerShell script. With just one line of code, you can quickly and easily get the user information you need. This script is perfect for administrators who need to keep track of user accounts or export user data for reporting purposes. Whether you're a PowerShell beginner or an experienced pro, this script is a valuable tool to have in your toolkit. Check out the video to see how it works!
Script:
import-Module ActiveDirectory
Get-ADUser -Filter * -Properties * | Export-Csv "C:\Users\Administrator\Desktop\export\ADUsers.csv" -NoTypeInformation
Ещё видео!