{"id":249,"date":"2018-04-12T14:37:56","date_gmt":"2018-04-12T13:37:56","guid":{"rendered":"http:\/\/www.dbonline.se\/?p=249"},"modified":"2018-05-03T10:39:34","modified_gmt":"2018-05-03T09:39:34","slug":"powershell-for-att-kontrollera-losenord","status":"publish","type":"post","link":"https:\/\/www.dbonline.se\/index.php\/2018\/04\/12\/powershell-for-att-kontrollera-losenord\/","title":{"rendered":"Powershell f\u00f6r att kontrollera l\u00f6senord"},"content":{"rendered":"<p>Ett kort och bra kommando f\u00f6r att lista alla anv\u00e4ndare vid namn som aldrig har sedan anv\u00e4ndaren skapades \u00e4ndrat sitt namn.<\/p>\n<p>import-module activedirectory<br \/>\nGet-ADUser -Filter * -Properties PasswordLastSet, WhenCreated | Where-Object { $_.Enabled -and ( $_.PasswordLastSet.DateTime -eq $_.WhenCreated.DateTime ) } | select name<\/p>\n\n","protected":false},"excerpt":{"rendered":"<p>Ett kort och bra kommando f\u00f6r att lista alla anv\u00e4ndare vid namn som aldrig har sedan anv\u00e4ndaren skapades \u00e4ndrat sitt namn. import-module activedirectory Get-ADUser -Filter * -Properties PasswordLastSet, WhenCreated | Where-Object { $_.Enabled -and ( $_.PasswordLastSet.DateTime -eq $_.WhenCreated.DateTime ) }<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"enabled":false},"version":2}},"categories":[1],"tags":[],"class_list":["post-249","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p8vDvB-41","jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/www.dbonline.se\/index.php\/wp-json\/wp\/v2\/posts\/249","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.dbonline.se\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.dbonline.se\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.dbonline.se\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.dbonline.se\/index.php\/wp-json\/wp\/v2\/comments?post=249"}],"version-history":[{"count":2,"href":"https:\/\/www.dbonline.se\/index.php\/wp-json\/wp\/v2\/posts\/249\/revisions"}],"predecessor-version":[{"id":261,"href":"https:\/\/www.dbonline.se\/index.php\/wp-json\/wp\/v2\/posts\/249\/revisions\/261"}],"wp:attachment":[{"href":"https:\/\/www.dbonline.se\/index.php\/wp-json\/wp\/v2\/media?parent=249"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.dbonline.se\/index.php\/wp-json\/wp\/v2\/categories?post=249"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.dbonline.se\/index.php\/wp-json\/wp\/v2\/tags?post=249"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}