Others Generating Password Change Reports Office 365 and AD February 1, 2020 by sumit Office 365: Connect-MsolService (To connect with office 365)Get-MsolUser -EnabledFilter EnabledOnly | select DisplayName,UserPrincipalName, LastPasswordChangeTimeStamp,isLicensed | Export-CSV C:\Users\Admin\Desktop\NRateBoard\abc1fev.csv (To Export the file) AD: Login to the AD Server Open Poweshell and use this command. Get-ADUser -filter * -properties passwordlastset, passwordneverexpires | sort-object name | select-object Name, passwordlastset, passwordneverexpires | Export-csv -path c:\temp\user-password-info-20131119.csv