{"id":232,"date":"2008-01-24T21:24:27","date_gmt":"2008-01-24T19:24:27","guid":{"rendered":"http:\/\/contoso.se\/blog\/?p=232"},"modified":"2008-01-24T21:27:27","modified_gmt":"2008-01-24T19:27:27","slug":"check-accounts-about-to-expire","status":"publish","type":"post","link":"http:\/\/contoso.se\/blog\/?p=232","title":{"rendered":"Check passwords about to expire"},"content":{"rendered":"<p>I have written a small script that check if account passwords are about to expire. If they are, you get a event in the local event viewer. You can pick up that event with Ops Mgr and MOM and then generate a alert for your operators and\/or administrators. You can download the script <a href=\"http:\/\/www.contoso.se\/files\/AD-Account-expire.vbs\">here<\/a>.<\/p>\n<p>Default settings are that you will get a event if the password will expire within 20 days and the script checks all user objects within this\u00c2\u00a0OU OU=Service Accounts,OU=Contoso EMEA,DC=emea,DC=corp,DC=contoso,DC=local\u00c2\u00a0<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I have written a small script that check if account passwords are about to expire. If they are, you get a event in the local event viewer. You can pick up that event with Ops Mgr and MOM and then generate a alert for your operators and\/or administrators. You can download the script here. Default &hellip; <a href=\"http:\/\/contoso.se\/blog\/?p=232\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0},"categories":[13,19],"tags":[],"_links":{"self":[{"href":"http:\/\/contoso.se\/blog\/index.php?rest_route=\/wp\/v2\/posts\/232"}],"collection":[{"href":"http:\/\/contoso.se\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/contoso.se\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/contoso.se\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/contoso.se\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=232"}],"version-history":[{"count":0,"href":"http:\/\/contoso.se\/blog\/index.php?rest_route=\/wp\/v2\/posts\/232\/revisions"}],"wp:attachment":[{"href":"http:\/\/contoso.se\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=232"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/contoso.se\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=232"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/contoso.se\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=232"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}