Create a PowerShell script to export the user and status on a Domain Controller.
1. Create a PowerShell script file. By creating a new text document and pasting the script below,
Import-Module ActiveDirectory
$OutputPath = "C:\Temp\AD_Users_Export.csv"
$PropertiesToExport = @(
"SamAccountName",
"GivenName",
"