{"id":223,"date":"2020-02-01T13:08:02","date_gmt":"2020-02-01T13:08:02","guid":{"rendered":"http:\/\/sumitjangid.com\/?p=223"},"modified":"2020-02-01T13:08:02","modified_gmt":"2020-02-01T13:08:02","slug":"generating-password-change-reports-office-365-and-ad","status":"publish","type":"post","link":"http:\/\/sumitjangid.com\/index.php\/2020\/02\/01\/generating-password-change-reports-office-365-and-ad\/","title":{"rendered":"Generating Password Change Reports Office 365 and AD"},"content":{"rendered":"\n<h2>Office 365:<\/h2>\n\n\n\n<ol><li>Connect-MsolService (To connect with office 365)<\/li><li>Get-MsolUser -EnabledFilter EnabledOnly | select DisplayName,UserPrincipalName, LastPasswordChangeTimeStamp,isLicensed | Export-CSV C:\\Users\\Admin\\Desktop\\NRateBoard\\abc1fev.csv   (To Export the file)<\/li><\/ol>\n\n\n\n<h2>AD:<\/h2>\n\n\n\n<ol><li>Login to the AD Server <\/li><li>Open Poweshell and use this command. <br><strong>Get-ADUser -filter * -properties passwordlastset, passwordneverexpires | sort-object name | select-object Name, passwordlastset, passwordneverexpires | Export-csv -path c:\\temp\\user-password-info-20131119.csv<\/strong> <\/li><\/ol>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>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&hellip; <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"http:\/\/sumitjangid.com\/index.php\/wp-json\/wp\/v2\/posts\/223"}],"collection":[{"href":"http:\/\/sumitjangid.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/sumitjangid.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/sumitjangid.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/sumitjangid.com\/index.php\/wp-json\/wp\/v2\/comments?post=223"}],"version-history":[{"count":1,"href":"http:\/\/sumitjangid.com\/index.php\/wp-json\/wp\/v2\/posts\/223\/revisions"}],"predecessor-version":[{"id":224,"href":"http:\/\/sumitjangid.com\/index.php\/wp-json\/wp\/v2\/posts\/223\/revisions\/224"}],"wp:attachment":[{"href":"http:\/\/sumitjangid.com\/index.php\/wp-json\/wp\/v2\/media?parent=223"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/sumitjangid.com\/index.php\/wp-json\/wp\/v2\/categories?post=223"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/sumitjangid.com\/index.php\/wp-json\/wp\/v2\/tags?post=223"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}