Get-ADUser to see password last set and expiry information and more

06/08/2015

Open Active Directory Module for Windows PowerShell To Run as administrator

help Get-ADUser

Get-ADUser -identity yaniv -properties *

get-aduser -filter * -properties passwordlastset, passwordneverexpires |ft Name, passwordlastset, Passwordneverexpires

get-aduser -filter * -properties passwordlastset, passwordneverexpires | sort name | ft Name, passwordlastset, Passwordneverexpires

Get-ADUser -filter * -properties passwordlastset, passwordneverexpires | sort-object name | select-object Name, passwordlastset, passwordneverexpires | Export-csv -path c:\yaniv.csv

Get-ADUser can be found here: http://technet.microsoft.com/en-us/library/ee617241.aspx

הוסף תגובה
facebook linkedin twitter email

כתיבת תגובה

האימייל לא יוצג באתר. שדות החובה מסומנים *