Copy regular expressions to a single click

List of users Active Directory Users with no Email address

Regular expressions to monitor the list of users without an email address from Microsoft Active Directory.

# Windows PowerShell

Get-ADUser -Filter * -Properties EmailAddress | where -Property EmailAddress -eq $null

out-gridview -title "Without mail address" – Output to window
Export-Csv -NoTypeInformation -encoding UTF8 "C:\file.csv" – Output to File