knowledge base


Administration Active Directory


AD export

csvde -m -n -u -f "C:\export-%date%.csv"



Get-ADUser -Filter {(mail -ne "null") -and (Enabled -eq "true")} -Properties * | Select-Object



PasswordLastSet,SamAccountName,mail | export-csv %adexport% -Encoding:UTF8



Import-Module ServerManager Add-WindowsFeature RSAT-AD-PowerShell import-module activedirectory Get-ADUser -searchbase "ou=Users,dc=technidata,dc=local" -LDAPFilter "(SamAccountName=FRICKE)" -properties "PasswordExpired, PasswordLastSet, PasswordNeverExpires" | Export-Csv C:\Users.txt