- Scan ID:
- 536cf669-0b6f-4ee4-bb16-fe8c49576476Finished
- Submitted URL:
- https://4sysops.com/archives/obtaining-the-password-expiry-date-with-powershell/
- Report Finished:
Links · 5 found
The outgoing links identified from the page
Link | Text |
---|---|
http://www.windowspro.de | Wolfgang Sommergut |
https://technet.microsoft.com/en-us/library/ff730948.aspx | calculated property |
https://twitter.com/4sysops/ | |
https://www.facebook.com/4sysops | |
https://www.linkedin.com/company/4sysops/ |
JavaScript Variables · 130 found
Global JavaScript variables loaded on the window object of a page, are variables declared outside of functions and accessible from anywhere in the code within the current scope
Name | Type |
---|---|
0 | object |
1 | object |
2 | object |
3 | object |
4 | object |
5 | object |
6 | object |
7 | object |
onbeforetoggle | object |
documentPictureInPicture | object |
Console log messages · 52 found
Messages logged to the web console
Type | Category | Log |
---|---|---|
log | other |
|
log | other |
|
warning | security |
|
log | other |
|
log | javascript |
|
log | other |
|
log | other |
|
log | other |
|
log | other |
|
log | other |
|
log | other |
|
log | other |
|
log | other |
|
log | other |
|
log | other |
|
verbose | dom |
|
verbose | dom |
|
log | other |
|
warning | other |
|
warning | other |
|
log | other |
|
log | other |
|
log | other |
|
log | other |
|
log | other |
|
log | other |
|
log | other |
|
log | other |
|
log | other |
|
log | other |
|
log | other |
|
log | other |
|
log | other |
|
log | other |
|
log | other |
|
log | other |
|
log | other |
|
log | other |
|
log | other |
|
log | other |
|
log | other |
|
log | other |
|
log | other |
|
log | other |
|
log | other |
|
log | other |
|
log | other |
|
log | other |
|
log | other |
|
log | other |
|
warning | other |
|
warning | other |
|
HTML
The raw HTML body of the page
<!DOCTYPE html><!--[if lt IE 7]>
<html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="en-US"><![endif]--><!--[if IE 7]>
<html class="no-js lt-ie9 lt-ie8" lang="en-US"><![endif]--><!--[if IE 8]>
<html class="no-js lt-ie9" lang="en-US"><![endif]--><!--[if IE 9]>
<html class="no-js lt-ie10" lang="en-US"><![endif]--><!--[if gt IE 9]><!--><html class=" js-active kleo-desktop kleo-transform js flexbox flexboxlegacy canvas canvastext webgl no-touch geolocation postmessage no-websqldatabase indexeddb hashchange history draganddrop websockets rgba hsla multiplebgs backgroundsize borderimage borderradius boxshadow textshadow opacity cssanimations csscolumns cssgradients cssreflections csstransforms csstransforms3d csstransitions fontface generatedcontent video audio localstorage sessionstorage webworkers no-applicationcache svg inlinesvg smil svgclippaths" lang="en-US"><!--<![endif]--><head>
<meta http-equiv="X-UA-Compatible" content="IE=9; IE=8; IE=7; IE=EDGE">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="profile" href="https://gmpg.org/xfn/11">
<link rel="pingback" href="https://4sysops.com/xmlrpc.php">
<!-- Fav and touch icons -->
<link rel="shortcut icon" href="https://4sysops.com/wp-content/uploads/2016/04/favicon-32x32.png">
<link rel="apple-touch-icon-precomposed" href="https://4sysops.com/wp-content/uploads/2016/04/apple-icon-57x57.png">
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="https://4sysops.com/wp-content/uploads/2016/02/apple-icon-72x72.png">
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="https://4sysops.com/wp-content/uploads/2016/04/apple-icon-114x114.png">
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="https://4sysops.com/wp-content/uploads/2016/04/apple-icon-144x144.png">
<!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
<!--[if lt IE 9]>
<script src="https://4sysops.com/wp-content/themes/kleo/assets/js/html5shiv.js"></script>
<![endif]-->
<!--[if IE 7]>
<link rel="stylesheet" href="https://4sysops.com/wp-content/themes/kleo/assets/css/fontello-ie7.css">
<![endif]-->
<link rel="alternate" type="application/rss+xml" title="4sysops | Site Wide Activity RSS Feed" href="https://4sysops.com/activity/feed/">
<title>Obtaining the password expiry date with PowerShell – 4sysops</title>
<meta name="robots" content="max-image-preview:large, max-snippet:-1, max-video-preview:-1">
<link rel="alternate" type="application/rss+xml" title="4sysops » Feed" href="https://4sysops.com/feed/">
<link rel="alternate" type="application/rss+xml" title="4sysops » Comments Feed" href="https://4sysops.com/comments/feed/">
<link rel="alternate" type="application/rss+xml" title="4sysops » Obtaining the password expiry date with PowerShell Comments Feed" href="https://4sysops.com/archives/obtaining-the-password-expiry-date-with-powershell/feed/">
<div class="fit-vids-style" id="fit-vids-style" style="display: none;"><style>.fluid-width-video-wrapper{width:100%;position:relative;padding:0;}.fluid-width-video-wrapper iframe,.fluid-width-video-wrapper object,.fluid-width-video-wrapper embed {position:absolute;top:0;left:0;width:100%;height:100%;}</style></div><script type="text/javascript" async="" src="https://www.googletagmanager.com/gtag/js?id=G-R3V0W8T6JX&l=dataLayer&cx=c&gtm=453e4bk0za200"></script><script type="text/javascript" async="" src="//4sysops.com/js/uni.js"></script><script type="text/javascript">
/* <![CDATA[ */
window._wpemojiSettings = {"baseUrl":"https:\/\/s.w.org\/images\/core\/emoji\/15.0.3\/72x72\/","ext":".png","svgUrl":"https:\/\/s.w.org\/images\/core\/emoji\/15.0.3\/svg\/","svgExt":".svg","source":{"concatemoji":"https:\/\/4sysops.com\/wp-includes\/js\/wp-emoji-release.min.js"}};
/*! This file is auto-generated */
!function(i,n){var o,s,e;function c(e){try{var t={supportTests:e,timestamp:(new Date).valueOf()};sessionStorage.setItem(o,JSON.stringify(t))}catch(e){}}function p(e,t,n){e.clearRect(0,0,e.canvas.width,e.canvas.height),e.fillText(t,0,0);var t=new Uint32Array(e.getImageData(0,0,e.canvas.width,e.canvas.height).data),r=(e.clearRect(0,0,e.canvas.width,e.canvas.height),e.fillText(n,0,0),new Uint32Array(e.getImageData(0,0,e.canvas.width,e.canvas.height).data));return t.every(function(e,t){return e===r[t]})}function u(e,t,n){switch(t){case"flag":return n(e,"\ud83c\udff3\ufe0f\u200d\u26a7\ufe0f","\ud83c\udff3\ufe0f\u200b\u26a7\ufe0f")?!1:!n(e,"\ud83c\uddfa\ud83c\uddf3","\ud83c\uddfa\u200b\ud83c\uddf3")&&!n(e,"\ud83c\udff4\udb40\udc67\udb40\udc62\udb40\udc65\udb40\udc6e\udb40\udc67\udb40\udc7f","\ud83c\udff4\u200b\udb40\udc67\u200b\udb40\udc62\u200b\udb40\udc65\u200b\udb40\udc6e\u200b\udb40\udc67\u200b\udb40\udc7f");case"emoji":return!n(e,"\ud83d\udc26\u200d\u2b1b","\ud83d\udc26\u200b\u2b1b")}return!1}function f(e,t,n){var r="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?new OffscreenCanvas(300,150):i.createElement("canvas"),a=r.getContext("2d",{willReadFrequently:!0}),o=(a.textBaseline="top",a.font="600 32px Arial",{});return e.forEach(function(e){o[e]=t(a,e,n)}),o}function t(e){var t=i.createElement("script");t.src=e,t.defer=!0,i.head.appendChild(t)}"undefined"!=typeof Promise&&(o="wpEmojiSettingsSupports",s=["flag","emoji"],n.supports={everything:!0,everythingExceptFlag:!0},e=new Promise(function(e){i.addEventListener("DOMContentLoaded",e,{once:!0})}),new Promise(function(t){var n=function(){try{var e=JSON.parse(sessionStorage.getItem(o));if("object"==typeof e&&"number"==typeof e.timestamp&&(new Date).valueOf()<e.timestamp+604800&&"object"==typeof e.supportTests)return e.supportTests}catch(e){}return null}();if(!n){if("undefined"!=typeof Worker&&"undefined"!=typeof OffscreenCanvas&&"undefined"!=typeof URL&&URL.createObjectURL&&"undefined"!=typeof Blob)try{var e="postMessage("+f.toString()+"("+[JSON.stringify(s),u.toString(),p.toString()].join(",")+"));",r=new Blob([e],{type:"text/javascript"}),a=new Worker(URL.createObjectURL(r),{name:"wpTestEmojiSupports"});return void(a.onmessage=function(e){c(n=e.data),a.terminate(),t(n)})}catch(e){}c(n=f(s,u,p))}t(n)}).then(function(e){for(var t in e)n.supports[t]=e[t],n.supports.everything=n.supports.everything&&n.supports[t],"flag"!==t&&(n.supports.everythingExceptFlag=n.supports.everythingExceptFlag&&n.supports[t]);n.supports.everythingExceptFlag=n.supports.everythingExceptFlag&&!n.supports.flag,n.DOMReady=!1,n.readyCallback=function(){n.DOMReady=!0}}).then(function(){return e}).then(function(){var e;n.supports.everything||(n.readyCallback(),(e=n.source||{}).concatemoji?t(e.concatemoji):e.wpemoji&&e.twemoji&&(t(e.twemoji),t(e.wpemoji)))}))}((window,document),window._wpemojiSettings);
/* ]]> */
</script>
<style id="wp-emoji-styles-inline-css" type="text/css">
img.wp-smiley, img.emoji {
display: inline !important;
border: none !important;
box-shadow: none !important;
height: 1em !important;
width: 1em !important;
margin: 0 0.07em !important;
vertical-align: -0.1em !important;
background: none !important;
padding: 0 !important;
}
</style>
<style id="bp-login-form-style-inline-css" type="text/css">
.widget_bp_core_login_widget .bp-login-widget-user-avatar{float:left}.widget_bp_core_login_widget .bp-login-widget-user-links{margin-left:70px}#bp-login-widget-form label{display:block;font-weight:600;margin:15px 0 5px;width:auto}#bp-login-widget-form input[type=password],#bp-login-widget-form input[type=text]{background-color:#fafafa;border:1px solid #d6d6d6;border-radius:0;font:inherit;font-size:100%;padding:.5em;width:100%}#bp-login-widget-form .bp-login-widget-register-link,#bp-login-widget-form .login-submit{display:inline;width:-moz-fit-content;width:fit-content}#bp-login-widget-form .bp-login-widget-register-link{margin-left:1em}#bp-login-widget-form .bp-login-widget-register-link a{filter:invert(1)}#bp-login-widget-form .bp-login-widget-pwd-link{font-size:80%}
</style>
<style id="bp-primary-nav-style-inline-css" type="text/css">
.buddypress_object_nav .bp-navs{background:#0000;clear:both;overflow:hidden}.buddypress_object_nav .bp-navs ul{margin:0;padding:0}.buddypress_object_nav .bp-navs ul li{list-style:none;margin:0}.buddypress_object_nav .bp-navs ul li a,.buddypress_object_nav .bp-navs ul li span{border:0;display:block;padding:5px 10px;text-decoration:none}.buddypress_object_nav .bp-navs ul li .count{background:#eaeaea;border:1px solid #ccc;border-radius:50%;color:#555;display:inline-block;font-size:12px;margin-left:2px;padding:3px 6px;text-align:center;vertical-align:middle}.buddypress_object_nav .bp-navs ul li a .count:empty{display:none}.buddypress_object_nav .bp-navs ul li.last select{max-width:185px}.buddypress_object_nav .bp-navs ul li.current a,.buddypress_object_nav .bp-navs ul li.selected a{color:#333;opacity:1}.buddypress_object_nav .bp-navs ul li.current a .count,.buddypress_object_nav .bp-navs ul li.selected a .count{background-color:#fff}.buddypress_object_nav .bp-navs ul li.dynamic a .count,.buddypress_object_nav .bp-navs ul li.dynamic.current a .count,.buddypress_object_nav .bp-navs ul li.dynamic.selected a .count{background-color:#5087e5;border:0;color:#fafafa}.buddypress_object_nav .bp-navs ul li.dynamic a:hover .count{background-color:#5087e5;border:0;color:#fff}.buddypress_object_nav .main-navs.dir-navs{margin-bottom:20px}.buddypress_object_nav .bp-navs.group-create-links ul li.current a{text-align:center}.buddypress_object_nav .bp-navs.group-create-links ul li:not(.current),.buddypress_object_nav .bp-navs.group-create-links ul li:not(.current) a{color:#767676}.buddypress_object_nav .bp-navs.group-create-links ul li:not(.current) a:focus,.buddypress_object_nav .bp-navs.group-create-links ul li:not(.current) a:hover{background:none;color:#555}.buddypress_object_nav .bp-navs.group-create-links ul li:not(.current) a[disabled]:focus,.buddypress_object_nav .bp-navs.group-create-links ul li:not(.current) a[disabled]:hover{color:#767676}
</style>
<style id="bp-member-style-inline-css" type="text/css">
[data-type="bp/member"] input.components-placeholder__input{border:1px solid #757575;border-radius:2px;flex:1 1 auto;padding:6px 8px}.bp-block-member{position:relative}.bp-block-member .member-content{display:flex}.bp-block-member .user-nicename{display:block}.bp-block-member .user-nicename a{border:none;color:currentColor;text-decoration:none}.bp-block-member .bp-profile-button{width:100%}.bp-block-member .bp-profile-button a.button{bottom:10px;display:inline-block;margin:18px 0 0;position:absolute;right:0}.bp-block-member.has-cover .item-header-avatar,.bp-block-member.has-cover .member-content,.bp-block-member.has-cover .member-description{z-index:2}.bp-block-member.has-cover .member-content,.bp-block-member.has-cover .member-description{padding-top:75px}.bp-block-member.has-cover .bp-member-cover-image{background-color:#c5c5c5;background-position:top;background-repeat:no-repeat;background-size:cover;border:0;display:block;height:150px;left:0;margin:0;padding:0;position:absolute;top:0;width:100%;z-index:1}.bp-block-member img.avatar{height:auto;width:auto}.bp-block-member.avatar-none .item-header-avatar{display:none}.bp-block-member.avatar-none.has-cover{min-height:200px}.bp-block-member.avatar-full{min-height:150px}.bp-block-member.avatar-full .item-header-avatar{width:180px}.bp-block-member.avatar-thumb .member-content{align-items:center;min-height:50px}.bp-block-member.avatar-thumb .item-header-avatar{width:70px}.bp-block-member.avatar-full.has-cover{min-height:300px}.bp-block-member.avatar-full.has-cover .item-header-avatar{width:200px}.bp-block-member.avatar-full.has-cover img.avatar{background:#fffc;border:2px solid #fff;margin-left:20px}.bp-block-member.avatar-thumb.has-cover .item-header-avatar{padding-top:75px}.entry .entry-content .bp-block-member .user-nicename a{border:none;color:currentColor;text-decoration:none}
</style>
<style id="bp-members-style-inline-css" type="text/css">
[data-type="bp/members"] .components-placeholder.is-appender{min-height:0}[data-type="bp/members"] .components-placeholder.is-appender .components-placeholder__label:empty{display:none}[data-type="bp/members"] .components-placeholder input.components-placeholder__input{border:1px solid #757575;border-radius:2px;flex:1 1 auto;padding:6px 8px}[data-type="bp/members"].avatar-none .member-description{width:calc(100% - 44px)}[data-type="bp/members"].avatar-full .member-description{width:calc(100% - 224px)}[data-type="bp/members"].avatar-thumb .member-description{width:calc(100% - 114px)}[data-type="bp/members"] .member-content{position:relative}[data-type="bp/members"] .member-content .is-right{position:absolute;right:2px;top:2px}[data-type="bp/members"] .columns-2 .member-content .member-description,[data-type="bp/members"] .columns-3 .member-content .member-description,[data-type="bp/members"] .columns-4 .member-content .member-description{padding-left:44px;width:calc(100% - 44px)}[data-type="bp/members"] .columns-3 .is-right{right:-10px}[data-type="bp/members"] .columns-4 .is-right{right:-50px}.bp-block-members.is-grid{display:flex;flex-wrap:wrap;padding:0}.bp-block-members.is-grid .member-content{margin:0 1.25em 1.25em 0;width:100%}@media(min-width:600px){.bp-block-members.columns-2 .member-content{width:calc(50% - .625em)}.bp-block-members.columns-2 .member-content:nth-child(2n){margin-right:0}.bp-block-members.columns-3 .member-content{width:calc(33.33333% - .83333em)}.bp-block-members.columns-3 .member-content:nth-child(3n){margin-right:0}.bp-block-members.columns-4 .member-content{width:calc(25% - .9375em)}.bp-block-members.columns-4 .member-content:nth-child(4n){margin-right:0}}.bp-block-members .member-content{display:flex;flex-direction:column;padding-bottom:1em;text-align:center}.bp-block-members .member-content .item-header-avatar,.bp-block-members .member-content .member-description{width:100%}.bp-block-members .member-content .item-header-avatar{margin:0 auto}.bp-block-members .member-content .item-header-avatar img.avatar{display:inline-block}@media(min-width:600px){.bp-block-members .member-content{flex-direction:row;text-align:left}.bp-block-members .member-content .item-header-avatar,.bp-block-members .member-content .member-description{width:auto}.bp-block-members .member-content .item-header-avatar{margin:0}}.bp-block-members .member-content .user-nicename{display:block}.bp-block-members .member-content .user-nicename a{border:none;color:currentColor;text-decoration:none}.bp-block-members .member-content time{color:#767676;display:block;font-size:80%}.bp-block-members.avatar-none .item-header-avatar{display:none}.bp-block-members.avatar-full{min-height:190px}.bp-block-members.avatar-full .item-header-avatar{width:180px}.bp-block-members.avatar-thumb .member-content{min-height:80px}.bp-block-members.avatar-thumb .item-header-avatar{width:70px}.bp-block-members.columns-2 .member-content,.bp-block-members.columns-3 .member-content,.bp-block-members.columns-4 .member-content{display:block;text-align:center}.bp-block-members.columns-2 .member-content .item-header-avatar,.bp-block-members.columns-3 .member-content .item-header-avatar,.bp-block-members.columns-4 .member-content .item-header-avatar{margin:0 auto}.bp-block-members img.avatar{height:auto;max-width:-moz-fit-content;max-width:fit-content;width:auto}.bp-block-members .member-content.has-activity{align-items:center}.bp-block-members .member-content.has-activity .item-header-avatar{padding-right:1em}.bp-block-members .member-content.has-activity .wp-block-quote{margin-bottom:0;text-align:left}.bp-block-members .member-content.has-activity .wp-block-quote cite a,.entry .entry-content .bp-block-members .user-nicename a{border:none;color:currentColor;text-decoration:none}
</style>
<style id="bp-dynamic-members-style-inline-css" type="text/css">
.bp-dynamic-block-container .item-options{font-size:.5em;margin:0 0 1em;padding:1em 0}.bp-dynamic-block-container .item-options a.selected{font-weight:600}.bp-dynamic-block-container ul.item-list{list-style:none;margin:1em 0;padding-left:0}.bp-dynamic-block-container ul.item-list li{margin-bottom:1em}.bp-dynamic-block-container ul.item-list li:after,.bp-dynamic-block-container ul.item-list li:before{content:" ";display:table}.bp-dynamic-block-container ul.item-list li:after{clear:both}.bp-dynamic-block-container ul.item-list li .item-avatar{float:left;width:60px}.bp-dynamic-block-container ul.item-list li .item{margin-left:70px}
</style>
<style id="bp-online-members-style-inline-css" type="text/css">
.widget_bp_core_whos_online_widget .avatar-block,[data-type="bp/online-members"] .avatar-block{display:flex;flex-flow:row wrap}.widget_bp_core_whos_online_widget .avatar-block img,[data-type="bp/online-members"] .avatar-block img{margin:.5em}
</style>
<style id="bp-active-members-style-inline-css" type="text/css">
.widget_bp_core_recently_active_widget .avatar-block,[data-type="bp/active-members"] .avatar-block{display:flex;flex-flow:row wrap}.widget_bp_core_recently_active_widget .avatar-block img,[data-type="bp/active-members"] .avatar-block img{margin:.5em}
</style>
<style id="bp-latest-activities-style-inline-css" type="text/css">
.bp-latest-activities .components-flex.components-select-control select[multiple]{height:auto;padding:0 8px}.bp-latest-activities .components-flex.components-select-control select[multiple]+.components-input-control__suffix svg{display:none}.bp-latest-activities-block a,.entry .entry-content .bp-latest-activities-block a{border:none;text-decoration:none}.bp-latest-activities-block .activity-list.item-list blockquote{border:none;padding:0}.bp-latest-activities-block .activity-list.item-list blockquote .activity-item:not(.mini){box-shadow:1px 0 4px #00000026;padding:0 1em;position:relative}.bp-latest-activities-block .activity-list.item-list blockquote .activity-item:not(.mini):after,.bp-latest-activities-block .activity-list.item-list blockquote .activity-item:not(.mini):before{border-color:#0000;border-style:solid;content:"";display:block;height:0;left:15px;position:absolute;width:0}.bp-latest-activities-block .activity-list.item-list blockquote .activity-item:not(.mini):before{border-top-color:#00000026;border-width:9px;bottom:-18px;left:14px}.bp-latest-activities-block .activity-list.item-list blockquote .activity-item:not(.mini):after{border-top-color:#fff;border-width:8px;bottom:-16px}.bp-latest-activities-block .activity-list.item-list blockquote .activity-item.mini .avatar{display:inline-block;height:20px;margin-right:2px;vertical-align:middle;width:20px}.bp-latest-activities-block .activity-list.item-list footer{align-items:center;display:flex}.bp-latest-activities-block .activity-list.item-list footer img.avatar{border:none;display:inline-block;margin-right:.5em}.bp-latest-activities-block .activity-list.item-list footer .activity-time-since{font-size:90%}.bp-latest-activities-block .widget-error{border-left:4px solid #0b80a4;box-shadow:1px 0 4px #00000026}.bp-latest-activities-block .widget-error p{padding:0 1em}
</style>
<style id="bp-friends-style-inline-css" type="text/css">
.bp-dynamic-block-container .item-options{font-size:.5em;margin:0 0 1em;padding:1em 0}.bp-dynamic-block-container .item-options a.selected{font-weight:600}.bp-dynamic-block-container ul.item-list{list-style:none;margin:1em 0;padding-left:0}.bp-dynamic-block-container ul.item-list li{margin-bottom:1em}.bp-dynamic-block-container ul.item-list li:after,.bp-dynamic-block-container ul.item-list li:before{content:" ";display:table}.bp-dynamic-block-container ul.item-list li:after{clear:both}.bp-dynamic-block-container ul.item-list li .item-avatar{float:left;width:60px}.bp-dynamic-block-container ul.item-list li .item{margin-left:70px}
</style>
<style id="bp-group-style-inline-css" type="text/css">
[data-type="bp/group"] input.components-placeholder__input{border:1px solid #757575;border-radius:2px;flex:1 1 auto;padding:6px 8px}.bp-block-group{position:relative}.bp-block-group .group-content{display:flex}.bp-block-group .group-description{width:100%}.bp-block-group .group-description-content{margin-bottom:18px;width:100%}.bp-block-group .bp-profile-button{overflow:hidden;width:100%}.bp-block-group .bp-profile-button a.button{margin:18px 0 0}.bp-block-group.has-cover .group-content,.bp-block-group.has-cover .group-description,.bp-block-group.has-cover .item-header-avatar{z-index:2}.bp-block-group.has-cover .group-content,.bp-block-group.has-cover .group-description{padding-top:75px}.bp-block-group.has-cover .bp-group-cover-image{background-color:#c5c5c5;background-position:top;background-repeat:no-repeat;background-size:cover;border:0;display:block;height:150px;left:0;margin:0;padding:0;position:absolute;top:0;width:100%;z-index:1}.bp-block-group img.avatar{height:auto;width:auto}.bp-block-group.avatar-none .item-header-avatar{display:none}.bp-block-group.avatar-full{min-height:150px}.bp-block-group.avatar-full .item-header-avatar{width:180px}.bp-block-group.avatar-full .group-description{padding-left:35px}.bp-block-group.avatar-thumb .item-header-avatar{width:70px}.bp-block-group.avatar-thumb .item-header-avatar img.avatar{margin-top:15px}.bp-block-group.avatar-none.has-cover{min-height:200px}.bp-block-group.avatar-none.has-cover .item-header-avatar{padding-top:75px}.bp-block-group.avatar-full.has-cover{min-height:300px}.bp-block-group.avatar-full.has-cover .item-header-avatar{width:200px}.bp-block-group.avatar-full.has-cover img.avatar{background:#fffc;border:2px solid #fff;margin-left:20px}.bp-block-group.avatar-thumb:not(.has-description) .group-content{align-items:center;min-height:50px}.bp-block-group.avatar-thumb.has-cover .item-header-avatar{padding-top:75px}.bp-block-group.has-description .bp-profile-button a.button{display:block;float:right}
</style>
<style id="bp-groups-style-inline-css" type="text/css">
[data-type="bp/groups"] .components-placeholder.is-appender{min-height:0}[data-type="bp/groups"] .components-placeholder.is-appender .components-placeholder__label:empty{display:none}[data-type="bp/groups"] .components-placeholder input.components-placeholder__input{border:1px solid #757575;border-radius:2px;flex:1 1 auto;padding:6px 8px}[data-type="bp/groups"].avatar-none .group-description{width:calc(100% - 44px)}[data-type="bp/groups"].avatar-full .group-description{width:calc(100% - 224px)}[data-type="bp/groups"].avatar-thumb .group-description{width:calc(100% - 114px)}[data-type="bp/groups"] .group-content{position:relative}[data-type="bp/groups"] .group-content .is-right{position:absolute;right:2px;top:2px}[data-type="bp/groups"] .columns-2 .group-content .group-description,[data-type="bp/groups"] .columns-3 .group-content .group-description,[data-type="bp/groups"] .columns-4 .group-content .group-description{padding-left:44px;width:calc(100% - 44px)}[data-type="bp/groups"] .columns-3 .is-right{right:-10px}[data-type="bp/groups"] .columns-4 .is-right{right:-50px}.bp-block-groups.is-grid{display:flex;flex-wrap:wrap;padding:0}.bp-block-groups.is-grid .group-content{margin:0 1.25em 1.25em 0;width:100%}@media(min-width:600px){.bp-block-groups.columns-2 .group-content{width:calc(50% - .625em)}.bp-block-groups.columns-2 .group-content:nth-child(2n){margin-right:0}.bp-block-groups.columns-3 .group-content{width:calc(33.33333% - .83333em)}.bp-block-groups.columns-3 .group-content:nth-child(3n){margin-right:0}.bp-block-groups.columns-4 .group-content{width:calc(25% - .9375em)}.bp-block-groups.columns-4 .group-content:nth-child(4n){margin-right:0}}.bp-block-groups .group-content{display:flex;flex-direction:column;padding-bottom:1em;text-align:center}.bp-block-groups .group-content .group-description,.bp-block-groups .group-content .item-header-avatar{width:100%}.bp-block-groups .group-content .item-header-avatar{margin:0 auto}.bp-block-groups .group-content .item-header-avatar img.avatar{display:inline-block}@media(min-width:600px){.bp-block-groups .group-content{flex-direction:row;text-align:left}.bp-block-groups .group-content .group-description,.bp-block-groups .group-content .item-header-avatar{width:auto}.bp-block-groups .group-content .item-header-avatar{margin:0}}.bp-block-groups .group-content time{color:#767676;display:block;font-size:80%}.bp-block-groups.avatar-none .item-header-avatar{display:none}.bp-block-groups.avatar-full{min-height:190px}.bp-block-groups.avatar-full .item-header-avatar{width:180px}.bp-block-groups.avatar-thumb .group-content{min-height:80px}.bp-block-groups.avatar-thumb .item-header-avatar{width:70px}.bp-block-groups.columns-2 .group-content,.bp-block-groups.columns-3 .group-content,.bp-block-groups.columns-4 .group-content{display:block;text-align:center}.bp-block-groups.columns-2 .group-content .item-header-avatar,.bp-block-groups.columns-3 .group-content .item-header-avatar,.bp-block-groups.columns-4 .group-content .item-header-avatar{margin:0 auto}.bp-block-groups img.avatar{height:auto;max-width:-moz-fit-content;max-width:fit-content;width:auto}.bp-block-groups .member-content.has-description{align-items:center}.bp-block-groups .member-content.has-description .item-header-avatar{padding-right:1em}.bp-block-groups .member-content.has-description .group-description-content{margin-bottom:0;text-align:left}
</style>
<style id="bp-dynamic-groups-style-inline-css" type="text/css">
.bp-dynamic-block-container .item-options{font-size:.5em;margin:0 0 1em;padding:1em 0}.bp-dynamic-block-container .item-options a.selected{font-weight:600}.bp-dynamic-block-container ul.item-list{list-style:none;margin:1em 0;padding-left:0}.bp-dynamic-block-container ul.item-list li{margin-bottom:1em}.bp-dynamic-block-container ul.item-list li:after,.bp-dynamic-block-container ul.item-list li:before{content:" ";display:table}.bp-dynamic-block-container ul.item-list li:after{clear:both}.bp-dynamic-block-container ul.item-list li .item-avatar{float:left;width:60px}.bp-dynamic-block-container ul.item-list li .item{margin-left:70px}
</style>
<style id="bp-sitewide-notices-style-inline-css" type="text/css">
.bp-sitewide-notice-block .bp-screen-reader-text,[data-type="bp/sitewide-notices"] .bp-screen-reader-text{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;word-wrap:normal!important}.bp-sitewide-notice-block [data-bp-tooltip]:after,[data-type="bp/sitewide-notices"] [data-bp-tooltip]:after{background-color:#fff;border:1px solid #737373;border-radius:1px;box-shadow:4px 4px 8px #0003;color:#333;content:attr(data-bp-tooltip);display:none;font-family:Helvetica Neue,Helvetica,Arial,san-serif;font-size:12px;font-weight:400;letter-spacing:normal;line-height:1.25;max-width:200px;opacity:0;padding:5px 8px;pointer-events:none;position:absolute;text-shadow:none;text-transform:none;transform:translateZ(0);transition:all 1.5s ease;visibility:hidden;white-space:nowrap;word-wrap:break-word;z-index:100000}.bp-sitewide-notice-block .bp-tooltip:after,[data-type="bp/sitewide-notices"] .bp-tooltip:after{left:50%;margin-top:7px;top:110%;transform:translate(-50%)}.bp-sitewide-notice-block{border-left:4px solid #ff853c;padding-left:1em;position:relative}.bp-sitewide-notice-block h2:before{background:none;border:none}.bp-sitewide-notice-block .dismiss-notice{background-color:#0000;border:1px solid #ff853c;color:#ff853c;display:block;padding:.2em .5em;position:absolute;right:.5em;top:.5em;width:-moz-fit-content;width:fit-content}.bp-sitewide-notice-block .dismiss-notice:hover{background-color:#ff853c;color:#fff}
</style>
<style id="classic-theme-styles-inline-css" type="text/css">
/*! This file is auto-generated */
.wp-block-button__link{color:#fff;background-color:#32373c;border-radius:9999px;box-shadow:none;text-decoration:none;padding:calc(.667em + 2px) calc(1.333em + 2px);font-size:1.125em}.wp-block-file__button{background:#32373c;color:#fff;text-decoration:none}
</style>
<style id="global-styles-inline-css" type="text/css">
:root{--wp--preset--aspect-ratio--square: 1;--wp--preset--aspect-ratio--4-3: 4/3;--wp--preset--aspect-ratio--3-4: 3/4;--wp--preset--aspect-ratio--3-2: 3/2;--wp--preset--aspect-ratio--2-3: 2/3;--wp--preset--aspect-ratio--16-9: 16/9;--wp--preset--aspect-ratio--9-16: 9/16;--wp--preset--color--black: #000000;--wp--preset--color--cyan-bluish-gray: #abb8c3;--wp--preset--color--white: #ffffff;--wp--preset--color--pale-pink: #f78da7;--wp--preset--color--vivid-red: #cf2e2e;--wp--preset--color--luminous-vivid-orange: #ff6900;--wp--preset--color--luminous-vivid-amber: #fcb900;--wp--preset--color--light-green-cyan: #7bdcb5;--wp--preset--color--vivid-green-cyan: #00d084;--wp--preset--color--pale-cyan-blue: #8ed1fc;--wp--preset--color--vivid-cyan-blue: #0693e3;--wp--preset--color--vivid-purple: #9b51e0;--wp--preset--gradient--vivid-cyan-blue-to-vivid-purple: linear-gradient(135deg,rgba(6,147,227,1) 0%,rgb(155,81,224) 100%);--wp--preset--gradient--light-green-cyan-to-vivid-green-cyan: linear-gradient(135deg,rgb(122,220,180) 0%,rgb(0,208,130) 100%);--wp--preset--gradient--luminous-vivid-amber-to-luminous-vivid-orange: linear-gradient(135deg,rgba(252,185,0,1) 0%,rgba(255,105,0,1) 100%);--wp--preset--gradient--luminous-vivid-orange-to-vivid-red: linear-gradient(135deg,rgba(255,105,0,1) 0%,rgb(207,46,46) 100%);--wp--preset--gradient--very-light-gray-to-cyan-bluish-gray: linear-gradient(135deg,rgb(238,238,238) 0%,rgb(169,184,195) 100%);--wp--preset--gradient--cool-to-warm-spectrum: linear-gradient(135deg,rgb(74,234,220) 0%,rgb(151,120,209) 20%,rgb(207,42,186) 40%,rgb(238,44,130) 60%,rgb(251,105,98) 80%,rgb(254,248,76) 100%);--wp--preset--gradient--blush-light-purple: linear-gradient(135deg,rgb(255,206,236) 0%,rgb(152,150,240) 100%);--wp--preset--gradient--blush-bordeaux: linear-gradient(135deg,rgb(254,205,165) 0%,rgb(254,45,45) 50%,rgb(107,0,62) 100%);--wp--preset--gradient--luminous-dusk: linear-gradient(135deg,rgb(255,203,112) 0%,rgb(199,81,192) 50%,rgb(65,88,208) 100%);--wp--preset--gradient--pale-ocean: linear-gradient(135deg,rgb(255,245,203) 0%,rgb(182,227,212) 50%,rgb(51,167,181) 100%);--wp--preset--gradient--electric-grass: linear-gradient(135deg,rgb(202,248,128) 0%,rgb(113,206,126) 100%);--wp--preset--gradient--midnight: linear-gradient(135deg,rgb(2,3,129) 0%,rgb(40,116,252) 100%);--wp--preset--font-size--small: 13px;--wp--preset--font-size--medium: 20px;--wp--preset--font-size--large: 36px;--wp--preset--font-size--x-large: 42px;--wp--preset--spacing--20: 0.44rem;--wp--preset--spacing--30: 0.67rem;--wp--preset--spacing--40: 1rem;--wp--preset--spacing--50: 1.5rem;--wp--preset--spacing--60: 2.25rem;--wp--preset--spacing--70: 3.38rem;--wp--preset--spacing--80: 5.06rem;--wp--preset--shadow--natural: 6px 6px 9px rgba(0, 0, 0, 0.2);--wp--preset--shadow--deep: 12px 12px 50px rgba(0, 0, 0, 0.4);--wp--preset--shadow--sharp: 6px 6px 0px rgba(0, 0, 0, 0.2);--wp--preset--shadow--outlined: 6px 6px 0px -3px rgba(255, 255, 255, 1), 6px 6px rgba(0, 0, 0, 1);--wp--preset--shadow--crisp: 6px 6px 0px rgba(0, 0, 0, 1);}:where(.is-layout-flex){gap: 0.5em;}:where(.is-layout-grid){gap: 0.5em;}body .is-layout-flex{display: flex;}.is-layout-flex{flex-wrap: wrap;align-items: center;}.is-layout-flex > :is(*, div){margin: 0;}body .is-layout-grid{display: grid;}.is-layout-grid > :is(*, div){margin: 0;}:where(.wp-block-columns.is-layout-flex){gap: 2em;}:where(.wp-block-columns.is-layout-grid){gap: 2em;}:where(.wp-block-post-template.is-layout-flex){gap: 1.25em;}:where(.wp-block-post-template.is-layout-grid){gap: 1.25em;}.has-black-color{color: var(--wp--preset--color--black) !important;}.has-cyan-bluish-gray-color{color: var(--wp--preset--color--cyan-bluish-gray) !important;}.has-white-color{color: var(--wp--preset--color--white) !important;}.has-pale-pink-color{color: var(--wp--preset--color--pale-pink) !important;}.has-vivid-red-color{color: var(--wp--preset--color--vivid-red) !important;}.has-luminous-vivid-orange-color{color: var(--wp--preset--color--luminous-vivid-orange) !important;}.has-luminous-vivid-amber-color{color: var(--wp--preset--color--luminous-vivid-amber) !important;}.has-light-green-cyan-color{color: var(--wp--preset--color--light-green-cyan) !important;}.has-vivid-green-cyan-color{color: var(--wp--preset--color--vivid-green-cyan) !important;}.has-pale-cyan-blue-color{color: var(--wp--preset--color--pale-cyan-blue) !important;}.has-vivid-cyan-blue-color{color: var(--wp--preset--color--vivid-cyan-blue) !important;}.has-vivid-purple-color{color: var(--wp--preset--color--vivid-purple) !important;}.has-black-background-color{background-color: var(--wp--preset--color--black) !important;}.has-cyan-bluish-gray-background-color{background-color: var(--wp--preset--color--cyan-bluish-gray) !important;}.has-white-background-color{background-color: var(--wp--preset--color--white) !important;}.has-pale-pink-background-color{background-color: var(--wp--preset--color--pale-pink) !important;}.has-vivid-red-background-color{background-color: var(--wp--preset--color--vivid-red) !important;}.has-luminous-vivid-orange-background-color{background-color: var(--wp--preset--color--luminous-vivid-orange) !important;}.has-luminous-vivid-amber-background-color{background-color: var(--wp--preset--color--luminous-vivid-amber) !important;}.has-light-green-cyan-background-color{background-color: var(--wp--preset--color--light-green-cyan) !important;}.has-vivid-green-cyan-background-color{background-color: var(--wp--preset--color--vivid-green-cyan) !important;}.has-pale-cyan-blue-background-color{background-color: var(--wp--preset--color--pale-cyan-blue) !important;}.has-vivid-cyan-blue-background-color{background-color: var(--wp--preset--color--vivid-cyan-blue) !important;}.has-vivid-purple-background-color{background-color: var(--wp--preset--color--vivid-purple) !important;}.has-black-border-color{border-color: var(--wp--preset--color--black) !important;}.has-cyan-bluish-gray-border-color{border-color: var(--wp--preset--color--cyan-bluish-gray) !important;}.has-white-border-color{border-color: var(--wp--preset--color--white) !important;}.has-pale-pink-border-color{border-color: var(--wp--preset--color--pale-pink) !important;}.has-vivid-red-border-color{border-color: var(--wp--preset--color--vivid-red) !important;}.has-luminous-vivid-orange-border-color{border-color: var(--wp--preset--color--luminous-vivid-orange) !important;}.has-luminous-vivid-amber-border-color{border-color: var(--wp--preset--color--luminous-vivid-amber) !important;}.has-light-green-cyan-border-color{border-color: var(--wp--preset--color--light-green-cyan) !important;}.has-vivid-green-cyan-border-color{border-color: var(--wp--preset--color--vivid-green-cyan) !important;}.has-pale-cyan-blue-border-color{border-color: var(--wp--preset--color--pale-cyan-blue) !important;}.has-vivid-cyan-blue-border-color{border-color: var(--wp--preset--color--vivid-cyan-blue) !important;}.has-vivid-purple-border-color{border-color: var(--wp--preset--color--vivid-purple) !important;}.has-vivid-cyan-blue-to-vivid-purple-gradient-background{background: var(--wp--preset--gradient--vivid-cyan-blue-to-vivid-purple) !important;}.has-light-green-cyan-to-vivid-green-cyan-gradient-background{background: var(--wp--preset--gradient--light-green-cyan-to-vivid-green-cyan) !important;}.has-luminous-vivid-amber-to-luminous-vivid-orange-gradient-background{background: var(--wp--preset--gradient--luminous-vivid-amber-to-luminous-vivid-orange) !important;}.has-luminous-vivid-orange-to-vivid-red-gradient-background{background: var(--wp--preset--gradient--luminous-vivid-orange-to-vivid-red) !important;}.has-very-light-gray-to-cyan-bluish-gray-gradient-background{background: var(--wp--preset--gradient--very-light-gray-to-cyan-bluish-gray) !important;}.has-cool-to-warm-spectrum-gradient-background{background: var(--wp--preset--gradient--cool-to-warm-spectrum) !important;}.has-blush-light-purple-gradient-background{background: var(--wp--preset--gradient--blush-light-purple) !important;}.has-blush-bordeaux-gradient-background{background: var(--wp--preset--gradient--blush-bordeaux) !important;}.has-luminous-dusk-gradient-background{background: var(--wp--preset--gradient--luminous-dusk) !important;}.has-pale-ocean-gradient-background{background: var(--wp--preset--gradient--pale-ocean) !important;}.has-electric-grass-gradient-background{background: var(--wp--preset--gradient--electric-grass) !important;}.has-midnight-gradient-background{background: var(--wp--preset--gradient--midnight) !important;}.has-small-font-size{font-size: var(--wp--preset--font-size--small) !important;}.has-medium-font-size{font-size: var(--wp--preset--font-size--medium) !important;}.has-large-font-size{font-size: var(--wp--preset--font-size--large) !important;}.has-x-large-font-size{font-size: var(--wp--preset--font-size--x-large) !important;}
:where(.wp-block-post-template.is-layout-flex){gap: 1.25em;}:where(.wp-block-post-template.is-layout-grid){gap: 1.25em;}
:where(.wp-block-columns.is-layout-flex){gap: 2em;}:where(.wp-block-columns.is-layout-grid){gap: 2em;}
:root :where(.wp-block-pullquote){font-size: 1.5em;line-height: 1.6;}
</style>
<link rel="stylesheet" id="stcr-style-css" href="https://4sysops.com/wp-content/plugins/subscribe-to-comments-reloaded/includes/css/stcr-style.css" type="text/css" media="all">
<link rel="stylesheet" id="wp-polls-css" href="https://4sysops.com/wp-content/plugins/wp-polls/polls-css.css" type="text/css" media="all">
<style id="wp-polls-inline-css" type="text/css">
.wp-polls .pollbar {
margin: 1px;
font-size: 8px;
line-height: 10px;
height: 10px;
background-image: url('https://4sysops.com/wp-content/plugins/wp-polls/images/default_gradient/pollbg.gif');
border: 1px solid #c8c8c8;
}
</style>
<link rel="stylesheet" id="mwai_chatbot_theme_chatgpt-css" href="https://4sysops.com/wp-content/plugins/ai-engine-pro/themes/chatgpt.css" type="text/css" media="all">
<link rel="stylesheet" id="mwai_chatbot_theme_messages-css" href="https://4sysops.com/wp-content/plugins/ai-engine-pro/themes/messages.css" type="text/css" media="all">
<link rel="stylesheet" id="mwai_chatbot_theme_timeless-css" href="https://4sysops.com/wp-content/plugins/ai-engine-pro/themes/timeless.css" type="text/css" media="all">
<link rel="stylesheet" id="kleo-combined-css" href="https://4sysops.com/wp-content/uploads/custom_styles/combined.css" type="text/css" media="all">
<link rel="stylesheet" id="kleo-colors-css" href="https://4sysops.com/wp-content/uploads/custom_styles/dynamic.css" type="text/css" media="all">
<link rel="stylesheet" id="kleo-fonts-css" href="https://4sysops.com/wp-content/themes/kleo/assets/css/fontello.css" type="text/css" media="all">
<link rel="stylesheet" id="enlighterjs-css" href="https://4sysops.com/wp-content/plugins/enlighter/cache/enlighterjs.min.css" type="text/css" media="all">
<link rel="stylesheet" id="kleo-style-css" href="https://4sysops.com/wp-content/themes/kleo-child/style.css" type="text/css" media="all">
<script type="text/javascript" src="https://4sysops.com/wp-includes/js/jquery/jquery.min.js" id="jquery-core-js"></script>
<script type="text/javascript" src="https://4sysops.com/wp-includes/js/jquery/jquery-migrate.min.js" id="jquery-migrate-js"></script>
<script type="text/javascript" src="https://4sysops.com/wp-includes/js/dist/vendor/react.min.js" id="react-js"></script>
<script type="text/javascript" src="https://4sysops.com/wp-includes/js/dist/vendor/react-dom.min.js" id="react-dom-js"></script>
<script type="text/javascript" src="https://4sysops.com/wp-includes/js/dist/escape-html.min.js" id="wp-escape-html-js"></script>
<script type="text/javascript" src="https://4sysops.com/wp-includes/js/dist/element.min.js" id="wp-element-js"></script>
<script type="text/javascript" defer="defer" src="https://4sysops.com/wp-content/plugins/ai-engine-pro/app/chatbot.js" id="mwai_chatbot-js"></script>
<script type="text/javascript" defer="defer" src="https://4sysops.com/wp-content/plugins/ai-engine-pro/vendor/highlightjs/highlight.min.js" id="mwai_highlight-js"></script>
<script type="text/javascript" async="async" src="https://4sysops.com/wp-content/themes/kleo/assets/js/modernizr.custom.46504.js" id="modernizr-js"></script>
<link rel="https://api.w.org/" href="https://4sysops.com/wp-json/"><link rel="alternate" title="JSON" type="application/json" href="https://4sysops.com/wp-json/wp/v2/posts/25874"><link rel="EditURI" type="application/rsd+xml" title="RSD" href="https://4sysops.com/xmlrpc.php?rsd">
<meta name="generator" content="WordPress 6.6.2">
<link rel="shortlink" href="https://4sysops.com/?p=25874">
<link rel="alternate" title="oEmbed (JSON)" type="application/json+oembed" href="https://4sysops.com/wp-json/oembed/1.0/embed?url=https%3A%2F%2F4sysops.com%2Farchives%2Fobtaining-the-password-expiry-date-with-powershell%2F">
<link rel="alternate" title="oEmbed (XML)" type="text/xml+oembed" href="https://4sysops.com/wp-json/oembed/1.0/embed?url=https%3A%2F%2F4sysops.com%2Farchives%2Fobtaining-the-password-expiry-date-with-powershell%2F&format=xml">
<script type="text/javascript">var ajaxurl = 'https://4sysops.com/wp-admin/admin-ajax.php';</script>
<!-- StarBox - the Author Box for Humans 3.5.2, visit: https://wordpress.org/plugins/starbox/ -->
<!-- /StarBox - the Author Box for Humans -->
<link rel="stylesheet" id="94913a9254-css" href="https://4sysops.com/wp-content/plugins/starbox/themes/business/css/frontend.min.css" type="text/css" media="all">
<script type="text/javascript" src="https://4sysops.com/wp-content/plugins/starbox/themes/business/js/frontend.min.js" id="738ef9aa6e-js"></script>
<link rel="stylesheet" id="7c25c21abf-css" href="https://4sysops.com/wp-content/plugins/starbox/themes/admin/css/hidedefault.min.css" type="text/css" media="all">
<meta name="robots" content="index, follow">
<meta property="og:title" content="Obtaining the password expiry date with PowerShell">
<meta property="og:type" content="article">
<meta property="og:url" content="https://4sysops.com/archives/obtaining-the-password-expiry-date-with-powershell/">
<meta property="og:image" content="https://4sysops.com/wp-content/uploads/2016/02/List-of-user-names-with-their-expiry-dates-672x263.png">
<meta property="og:description" content="When it comes to managing user accounts, the password expiry date and the time of the last password change are interesting information. You can retrieve both attributes easily with PowerShell.">
<meta property="og:site_name" content="4sysops">
<meta property="fb:app_id" content="1734742826748135">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:title" content="Obtaining the password expiry date with PowerShell">
<meta name="twitter:description" content="When it comes to managing user accounts, the password expiry date and the time of the last password change are interesting information. You can retrieve both attributes easily with PowerShell.">
<meta name="twitter:image" content="https://4sysops.com/wp-content/uploads/2016/02/List-of-user-names-with-their-expiry-dates-672x263.png">
<script>
var phpValue; // Declare phpValue in the global scope
var xhttpPhpValue = new XMLHttpRequest();
xhttpPhpValue.open('GET', '/wp-content/themes/kleo-child/get-news.php', true);
xhttpPhpValue.onreadystatechange = function() {
if (xhttpPhpValue.readyState === 4 && xhttpPhpValue.status === 200) {
phpValue = xhttpPhpValue.responseText; // Assign value to the global variable
console.log('Value from PHP:', phpValue);
}
};
xhttpPhpValue.send();
</script>
<link rel="preload" href="https://4sysops.com/wp-content/themes/kleo/assets/font/fontello.woff2?52140119&display=swap" as="font" type="font/woff2" crossorigin=""><link rel="preload" as="image" href="https://4sysops.com/img/cover-image.jpg"><script async="" type="text/javascript" src="https://4sysops.com/global/appear.js"></script>
<!-- googletags -->
<script async="" src="https://securepubads.g.doubleclick.net/tag/js/gpt.js"></script>
<script type="text/javascript">
window.googletag = window.googletag || {cmd: []};
googletag.cmd.push(function() {
var mapping1 = googletag.sizeMapping().
addSize([0, 0], [[300, 250], [300, 280], [300, 500]]).
addSize([1200, 200], [[300, 250], [600, 350], [675, 350], [675, 250]]). // Desktop
build();
var mapping2 = googletag.sizeMapping().
addSize([0, 0], [1, 1]).
addSize([1200, 200], [300, 250]). // Desktop
build();
googletag.defineSlot('/1012263/b-0', [1, 1], '1f366c1040db80a82fe4fc5ab71dda9cb').
setCollapseEmptyDiv(true).
addService(googletag.pubads());
googletag.defineSlot('/1012263/side-0', [300, 250], '1f366c1040db80a82fe4fc5ab71dda9cside0').
defineSizeMapping(mapping2).
setCollapseEmptyDiv(true).
addService(googletag.pubads());
googletag.defineSlot('/1012263/main-100', [1, 1], '1f366c1040db80a82fe4fc5ab71dda9c100').
defineSizeMapping(mapping1).
setCollapseEmptyDiv(true).
addService(googletag.pubads());
googletag.defineSlot('/1012263/main-0', [300, 250], '1f366c1040db80a82fe4fc5ab71dda9c0').
defineSizeMapping(mapping1).
setCollapseEmptyDiv(true).
addService(googletag.pubads());
googletag.defineSlot('/1012263/main-20', [300, 250], '1f366c1040db80a82fe4fc5ab71dda9c20').
defineSizeMapping(mapping1).
setCollapseEmptyDiv(true).
addService(googletag.pubads());
googletag.defineSlot('/1012263/main-1', [300, 250], '1f366c1040db80a82fe4fc5ab71dda9c1').
defineSizeMapping(mapping1).
setCollapseEmptyDiv(true).
addService(googletag.pubads());
googletag.defineSlot('/1012263/main-2', [300, 250], '1f366c1040db80a82fe4fc5ab71dda9c2').
defineSizeMapping(mapping1).
setCollapseEmptyDiv(true).
addService(googletag.pubads());
googletag.defineSlot('/1012263/main-3', [300, 250], '1f366c1040db80a82fe4fc5ab71dda9c3').
defineSizeMapping(mapping1).
setCollapseEmptyDiv(true).
addService(googletag.pubads());
googletag.defineSlot('/1012263/main-4', [300, 250], '1f366c1040db80a82fe4fc5ab71dda9c4').
defineSizeMapping(mapping1).
setCollapseEmptyDiv(true).
addService(googletag.pubads());
googletag.defineSlot('/1012263/main-5', [300, 250], '1f366c1040db80a82fe4fc5ab71dda9c5').
defineSizeMapping(mapping1).
setCollapseEmptyDiv(true).
addService(googletag.pubads());
googletag.defineSlot('/1012263/main-6', [300, 250], '1f366c1040db80a82fe4fc5ab71dda9c6').
defineSizeMapping(mapping1).
setCollapseEmptyDiv(true).
addService(googletag.pubads());
googletag.defineSlot('/1012263/main-7', [300, 250], '1f366c1040db80a82fe4fc5ab71dda9c7').
defineSizeMapping(mapping1).
setCollapseEmptyDiv(true).
addService(googletag.pubads());
googletag.defineSlot('/1012263/main-8', [300, 250], '1f366c1040db80a82fe4fc5ab71dda9c8').
defineSizeMapping(mapping1).
setCollapseEmptyDiv(true).
addService(googletag.pubads());
googletag.defineSlot('/1012263/main-9', [300, 250], '1f366c1040db80a82fe4fc5ab71dda9c9').
defineSizeMapping(mapping1).
setCollapseEmptyDiv(true).
addService(googletag.pubads());
googletag.defineSlot('/1012263/main-10', [300, 250], '1f366c1040db80a82fe4fc5ab71dda9c10').
defineSizeMapping(mapping1).
setCollapseEmptyDiv(true).
addService(googletag.pubads());
//googletag.pubads().enableSingleRequest();
//googletag.pubads().enableSyncRendering();
//googletag.pubads().collapseEmptyDivs();
googletag.pubads().setTargeting("tags",["general","security","powershell","AD"]).setTargeting("author","Wolfgang Sommergut").setTargeting("member","no").setTargeting("lazyload");
googletag.enableServices();
});
</script>
<!-- googletags -->
<script type="text/javascript">var $ = jQuery.noConflict();</script>
<meta http-equiv="origin-trial" content="AlK2UR5SkAlj8jjdEc9p3F3xuFYlF6LYjAML3EOqw1g26eCwWPjdmecULvBH5MVPoqKYrOfPhYVL71xAXI1IBQoAAAB8eyJvcmlnaW4iOiJodHRwczovL2RvdWJsZWNsaWNrLm5ldDo0NDMiLCJmZWF0dXJlIjoiV2ViVmlld1hSZXF1ZXN0ZWRXaXRoRGVwcmVjYXRpb24iLCJleHBpcnkiOjE3NTgwNjcxOTksImlzU3ViZG9tYWluIjp0cnVlfQ=="><meta http-equiv="origin-trial" content="Amm8/NmvvQfhwCib6I7ZsmUxiSCfOxWxHayJwyU1r3gRIItzr7bNQid6O8ZYaE1GSQTa69WwhPC9flq/oYkRBwsAAACCeyJvcmlnaW4iOiJodHRwczovL2dvb2dsZXN5bmRpY2F0aW9uLmNvbTo0NDMiLCJmZWF0dXJlIjoiV2ViVmlld1hSZXF1ZXN0ZWRXaXRoRGVwcmVjYXRpb24iLCJleHBpcnkiOjE3NTgwNjcxOTksImlzU3ViZG9tYWluIjp0cnVlfQ=="><meta http-equiv="origin-trial" content="A9wSqI5i0iwGdf6L1CERNdmsTPgVu44ewj8QxTBYgsv1LCPUVF7YmWOvTappqB1139jAymxUW/RO8zmMqo4zlAAAAACNeyJvcmlnaW4iOiJodHRwczovL2RvdWJsZWNsaWNrLm5ldDo0NDMiLCJmZWF0dXJlIjoiRmxlZGdlQmlkZGluZ0FuZEF1Y3Rpb25TZXJ2ZXIiLCJleHBpcnkiOjE3MzY4MTI4MDAsImlzU3ViZG9tYWluIjp0cnVlLCJpc1RoaXJkUGFydHkiOnRydWV9"><meta http-equiv="origin-trial" content="A+d7vJfYtay4OUbdtRPZA3y7bKQLsxaMEPmxgfhBGqKXNrdkCQeJlUwqa6EBbSfjwFtJWTrWIioXeMW+y8bWAgQAAACTeyJvcmlnaW4iOiJodHRwczovL2dvb2dsZXN5bmRpY2F0aW9uLmNvbTo0NDMiLCJmZWF0dXJlIjoiRmxlZGdlQmlkZGluZ0FuZEF1Y3Rpb25TZXJ2ZXIiLCJleHBpcnkiOjE3MzY4MTI4MDAsImlzU3ViZG9tYWluIjp0cnVlLCJpc1RoaXJkUGFydHkiOnRydWV9"><script src="https://securepubads.g.doubleclick.net/pagead/managed/js/gpt/m202411180101/pubads_impl.js" async=""></script><script src="https://4sysops.com/wp-includes/js/wp-emoji-release.min.js" defer=""></script></head><body class="bp-nouveau post-template-default single single-post postid-25874 single-format-standard wp-embed-responsive bp-rounded-avatar" itemscope="" itemtype="http://schema.org/WebPage"><div id="1f366c1040db80a82fe4fc5ab71dda9cb" data-google-query-id="CN7Rm6_1i4oDFfRf9ggdHikMyA"><div id="google_ads_iframe_/1012263/b-0_0__container__" style="border: 0pt none;"><iframe id="google_ads_iframe_/1012263/b-0_0" name="google_ads_iframe_/1012263/b-0_0" title="3rd party ad content" width="1" height="1" scrolling="no" marginwidth="0" marginheight="0" frameborder="0" aria-label="Advertisement" tabindex="0" allow="private-state-token-redemption" style="border: 0px; vertical-align: bottom;" data-load-complete="true" data-google-container-id="1"></iframe></div></div>
<script>
googletag.cmd.push(function() { googletag.display('1f366c1040db80a82fe4fc5ab71dda9cb'); });
</script>
<meta name="mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-capable" content="yes">
<script type="text/javascript">
/*
prevent dom flickering for elements hidden with js
*/
"use strict";
document.documentElement.className += ' js-active ';
document.documentElement.className += 'ontouchstart' in document.documentElement ? ' kleo-mobile ' : ' kleo-desktop ';
var prefix = ['-webkit-', '-o-', '-moz-', '-ms-', ""];
for (var i in prefix) {
if (prefix[i] + 'transform' in document.documentElement.style) document.documentElement.className += " kleo-transform ";
break;
}
</script>
<link rel="canonical" href="https://4sysops.com/archives/obtaining-the-password-expiry-date-with-powershell/">
<meta name="description" content="When it comes to managing user accounts, the password expiry date and the time of the last password change are interesting information. You can retrieve both at">
<meta property="og:title" content="Obtaining the password expiry date with PowerShell – 4sysops">
<meta property="og:type" content="article">
<meta property="og:image" content="https://4sysops.com/wp-content/uploads/2016/02/List-of-user-names-with-their-expiry-dates.png">
<meta property="og:image:width" content="1024">
<meta property="og:image:height" content="400">
<meta property="og:image:alt" content="List of user names with their expiry dates">
<meta property="og:description" content="When it comes to managing user accounts, the password expiry date and the time of the last password change are interesting information. You can retrieve both at">
<meta property="og:url" content="https://4sysops.com/archives/obtaining-the-password-expiry-date-with-powershell/">
<meta property="og:locale" content="en_US">
<meta property="og:site_name" content="4sysops">
<meta property="article:published_time" content="2016-02-23T17:00:06+00:00">
<meta property="article:modified_time" content="2023-07-28T15:59:00+00:00">
<meta property="og:updated_time" content="2023-07-28T15:59:00+00:00">
<meta property="article:section" content="Articles">
<meta property="article:tag" content="password">
<meta property="article:tag" content="powershell">
<meta property="article:tag" content="active directory">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:image" content="https://4sysops.com/wp-content/uploads/2016/02/List-of-user-names-with-their-expiry-dates.png">
<meta name="author" content="Wolfgang Sommergut">
<meta name="date" content="2016-02-23T17:00:06+00:00">
<style type="text/css">
/*<!-- rtoc -->*/
.rtoc-mokuji-content {
background-color: #ffffff;
}
.rtoc-mokuji-content.frame1 {
border: 1px solid #3f9cff;
}
.rtoc-mokuji-content #rtoc-mokuji-title {
color: #3f9cff;
}
.rtoc-mokuji-content .rtoc-mokuji li>a {
color: #555555;
}
.rtoc-mokuji-content .mokuji_ul.level-1>.rtoc-item::before {
background-color: #3f9cff !important;
}
.rtoc-mokuji-content .mokuji_ul.level-2>.rtoc-item::before {
background-color: #3f9cff !important;
}
.rtoc-mokuji-content.frame2::before,
.rtoc-mokuji-content.frame3,
.rtoc-mokuji-content.frame4,
.rtoc-mokuji-content.frame5 {
border-color: #3f9cff !important;
}
.rtoc-mokuji-content.frame5::before,
.rtoc-mokuji-content.frame5::after {
background-color: #3f9cff;
}
.widget_block #rtoc-mokuji-widget-wrapper .rtoc-mokuji.level-1 .rtoc-item.rtoc-current:after,
.widget #rtoc-mokuji-widget-wrapper .rtoc-mokuji.level-1 .rtoc-item.rtoc-current:after,
#scrollad #rtoc-mokuji-widget-wrapper .rtoc-mokuji.level-1 .rtoc-item.rtoc-current:after,
#sideBarTracking #rtoc-mokuji-widget-wrapper .rtoc-mokuji.level-1 .rtoc-item.rtoc-current:after {
background-color: #3f9cff !important;
}
.cls-1,
.cls-2 {
stroke: #3f9cff;
}
.rtoc-mokuji-content .decimal_ol.level-2>.rtoc-item::before,
.rtoc-mokuji-content .mokuji_ol.level-2>.rtoc-item::before,
.rtoc-mokuji-content .decimal_ol.level-2>.rtoc-item::after,
.rtoc-mokuji-content .decimal_ol.level-2>.rtoc-item::after {
color: #3f9cff;
background-color: #3f9cff;
}
.rtoc-mokuji-content .rtoc-mokuji.level-1>.rtoc-item::before {
color: #3f9cff;
}
.rtoc-mokuji-content .decimal_ol>.rtoc-item::after {
background-color: #3f9cff;
}
.rtoc-mokuji-content .decimal_ol>.rtoc-item::before {
color: #3f9cff;
}
/*rtoc_return*/
#rtoc_return a::before {
background-image: url(https://4sysops.com/wp-content/plugins/rich-table-of-content/include/../img/rtoc_return.png);
}
#rtoc_return a {
background-color: #3f9cff !important;
}
/* アクセントポイント */
.rtoc-mokuji-content .level-1>.rtoc-item #rtocAC.accent-point::after {
background-color: #3f9cff;
}
.rtoc-mokuji-content .level-2>.rtoc-item #rtocAC.accent-point::after {
background-color: #3f9cff;
}
.rtoc-mokuji-content.frame6,
.rtoc-mokuji-content.frame7::before,
.rtoc-mokuji-content.frame8::before {
border-color: #3f9cff;
}
.rtoc-mokuji-content.frame6 #rtoc-mokuji-title,
.rtoc-mokuji-content.frame7 #rtoc-mokuji-title::after {
background-color: #3f9cff;
}
#rtoc-mokuji-wrapper.rtoc-mokuji-content.rtoc_h2_timeline .mokuji_ol.level-1>.rtoc-item::after,
#rtoc-mokuji-wrapper.rtoc-mokuji-content.rtoc_h2_timeline .level-1.decimal_ol>.rtoc-item::after,
#rtoc-mokuji-wrapper.rtoc-mokuji-content.rtoc_h3_timeline .mokuji_ol.level-2>.rtoc-item::after,
#rtoc-mokuji-wrapper.rtoc-mokuji-content.rtoc_h3_timeline .mokuji_ol.level-2>.rtoc-item::after,
.rtoc-mokuji-content.frame7 #rtoc-mokuji-title span::after {
background-color: #3f9cff;
}
.widget #rtoc-mokuji-wrapper.rtoc-mokuji-content.frame6 #rtoc-mokuji-title {
color: #3f9cff;
background-color: #ffffff;
}
</style>
<style>
.widget_tag_cloud a { font-size: small !important; }
</style>
<link rel="icon" href="https://4sysops.com/wp-content/uploads/2016/06/cropped-favicon3-32x32.png" sizes="32x32">
<link rel="icon" href="https://4sysops.com/wp-content/uploads/2016/06/cropped-favicon3-192x192.png" sizes="192x192">
<link rel="apple-touch-icon" href="https://4sysops.com/wp-content/uploads/2016/06/cropped-favicon3-180x180.png">
<meta name="msapplication-TileImage" content="https://4sysops.com/wp-content/uploads/2016/06/cropped-favicon3-270x270.png">
<!-- PAGE LAYOUT
================================================ -->
<!--Attributes-->
<div class="kleo-page">
<!-- HEADER SECTION
================================================ -->
<div id="header" class="header-color">
<div class="navbar" role="navigation">
<div class="social-header header-color">
<div class="container">
<div class="top-bar top-bar-flex">
</div><!--end top-bar-->
</div>
</div>
<div class="kleo-main-header header-normal">
<div class="container">
<!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header" style="line-height: 100px; height: 100px;">
<div class="kleo-mobile-switch">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".nav-9b8b5799">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
</div>
<div class="kleo-mobile-icons">
</div>
<strong class="logo">
<a href="https://4sysops.com">
<img id="logo_img" title="4sysops" src="https://4sysops.com/wp-content/uploads/2024/03/4sysops-logo-260.png" alt="4sysops">
</a>
</strong>
</div>
<div class="primary-menu collapse navbar-collapse nav-collapse nav-9b8b5799"><ul id="menu-menu" class="nav navbar-nav"><li id="menu-item-1580653" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-1580653"><a title="IT News" href="/activity/" style="line-height: 100px;"><i class="icon-megaphone"></i> IT News</a></li>
<li id="menu-item-25683" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-25683"><a title="Blog" href="https://4sysops.com/archives/" style="line-height: 100px;"><i class="icon-pencil"></i> Blog</a></li>
<li id="menu-item-29286" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-has-children menu-item-29286 dropdown mega-12-cols"><a title="Community" href="https://4sysops.com/members/" class="js-activated" style="line-height: 100px;"><i class="icon-users"></i> Community <span class="caret"></span></a>
<ul role="menu" class="dropdown-menu sub-menu pull-left" style="">
<li id="menu-item-1562999" class="kleo-menu kleo-register-nav menu-item menu-item-type-custom menu-item-object-custom menu-item-1562999"><a title="Register" href="https://4sysops.com/join/">Register</a></li>
<li id="menu-item-25586" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-has-children menu-item-25586 dropdown-submenu"><a title="Forums" href="https://4sysops.com/forums/"><i class="icon-chat-1"></i> Forums <span class="caret"></span></a>
<ul role="menu" class="dropdown-menu sub-menu">
<li id="menu-item-326117" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-326117"><a title="IT Administration Forum" href="https://4sysops.com/forums/forum/it-administration/">IT Administration Forum</a></li>
<li id="menu-item-1566098" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-1566098"><a title="PowerShell Forum" href="https://4sysops.com/groups/powershell/forum/">PowerShell Forum</a></li>
<li id="menu-item-326118" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-326118"><a title="Community Forum" href="https://4sysops.com/forums/forum/4sysops-community-forum/">Community Forum</a></li>
</ul>
</li>
<li id="menu-item-36351" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-36351"><a title="News" href="https://4sysops.com/news/"><i class="icon-megaphone-1"></i> News</a></li>
<li id="menu-item-355751" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-355751"><a title="PowerShell Group" href="https://4sysops.com/groups/powershell/">PowerShell Group</a></li>
<li id="menu-item-29287" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-29287"><a title="Members" href="https://4sysops.com/members">Members</a></li>
<li id="menu-item-29290" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-29290"><a title="Earning as 4sysops member" href="https://4sysops.com/the-4sysops-member-point-system/">Earning as 4sysops member</a></li>
<li id="menu-item-1555073" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-1555073"><a title="Member Ranks" href="https://4sysops.com/all-member-ranks/">Member Ranks</a></li>
<li id="menu-item-29289" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-29289"><a title="Member Leaderboard – This Month" href="https://4sysops.com/member-leaderboard-this-month/">Member Leaderboard – This Month</a></li>
<li id="menu-item-471205" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-471205"><a title="Member Leaderboard – This Year" href="https://4sysops.com/member-leaderboard-this-year/">Member Leaderboard – This Year</a></li>
<li id="menu-item-29288" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-29288"><a title="Member Leaderboard – All-time" href="https://4sysops.com/member-leaderboard-all-time/">Member Leaderboard – All-time</a></li>
<li id="menu-item-479586" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-479586"><a title="Author Leaderboard – 30 Days" href="https://4sysops.com/author-leaderboard-this-month/">Author Leaderboard – 30 Days</a></li>
<li id="menu-item-384938" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-384938"><a title="Author Leaderboard – 365 Days" href="https://4sysops.com/author-leaderboard-this-year/">Author Leaderboard – 365 Days</a></li>
</ul>
</li>
<li id="menu-item-1565265" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-has-children menu-item-1565265 dropdown mega-8-cols"><a title="Sitemap" href="https://4sysops.com/sitemap" class="js-activated" style="line-height: 100px;"><i class="icon-align-justify"></i> Sitemap <span class="caret"></span></a>
<ul role="menu" class="dropdown-menu sub-menu pull-left" style="">
<li id="menu-item-1565264" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-1565264"><a title="Cloud Computing" href="https://4sysops.com/tag/cloud-computing/">Cloud Computing</a></li>
<li id="menu-item-1571193" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-1571193"><a title="DevOps" href="https://4sysops.com/tag/devops/">DevOps</a></li>
<li id="menu-item-1565266" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-1565266"><a title="Deployment" href="https://4sysops.com/tag/deployment/">Deployment</a></li>
<li id="menu-item-1565267" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-1565267"><a title="Security" href="https://4sysops.com/tag/security/">Security</a></li>
<li id="menu-item-1565268" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-1565268"><a title="Monitoring" href="https://4sysops.com/tag/monitoring/">Monitoring</a></li>
<li id="menu-item-1565269" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-1565269"><a title="Networking" href="https://4sysops.com/tag/networking/">Networking</a></li>
<li id="menu-item-1565270" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-1565270"><a title="PowerShell" href="https://4sysops.com/tag/powershell/">PowerShell</a></li>
<li id="menu-item-1565271" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-1565271"><a title="Sitemap" href="https://4sysops.com/sitemap/">Sitemap</a></li>
</ul>
</li>
<li id="menu-item-25706" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-has-children menu-item-25706 dropdown mega-5-cols"><a title="About" href="https://4sysops.com/about/" class="js-activated" style="line-height: 100px;"><i class="icon-eye"></i> About <span class="caret"></span></a>
<ul role="menu" class="dropdown-menu sub-menu pull-left" style="">
<li id="menu-item-25707" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-25707"><a title="About" href="https://4sysops.com/about/">About</a></li>
<li id="menu-item-25616" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-25616"><a title="Authors" href="https://4sysops.com/authors/">Authors</a></li>
<li id="menu-item-25590" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-25590"><a title="Write for 4sysops" href="https://4sysops.com/write-for-4sysops/">Write for 4sysops</a></li>
<li id="menu-item-25588" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-25588"><a title="Sponsors" href="https://4sysops.com/sponsoring">Sponsors</a></li>
<li id="menu-item-14222" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-14222"><a title="Contact" href="https://4sysops.com/message">Contact</a></li>
</ul>
</li>
<li id="menu-item-1577047" class="kleo-menu kleo-register-nav menu-item menu-item-type-custom menu-item-object-custom menu-item-1577047"><a title="Register" href="https://4sysops.com/join/" style="line-height: 100px;"><i class="icon-user-add"></i> Register</a></li>
<li id="menu-item-1562997" class="kleo-show-login menu-item menu-item-type-custom menu-item-object-custom menu-item-1562997"><a title="Login" href="https://4sysops.com/wp-login.php" style="line-height: 100px;"><i class="icon-login"></i> Login</a></li>
<li id="nav-menu-item-search" class="menu-item kleo-search-nav"> <a class="search-trigger" href="#" style="line-height: 100px;"><i class="icon icon-search"></i></a>
<div class="kleo-search-wrap searchHidden" id="ajax_search_container">
<form class="form-inline" id="ajax_searchform" action="https://4sysops.com/" data-context="">
<input type="hidden" name="post_type[]" value=""> <input name="s" class="ajax_s form-control" autocomplete="off" type="text" value="" placeholder="Start typing to search..." required="">
<span class="kleo-ajax-search-loading"><i class="icon-spin6 animate-spin"></i></span>
</form>
<div class="kleo_ajax_results"></div>
</div>
</li></ul></div> </div><!--end container-->
</div>
</div>
</div><!--end header-->
<!-- MAIN SECTION
================================================ -->
<div id="main">
<section class="container-wrap main-title alternate-color main-center-title border-bottom breadcrumbs-container"><div class="container"><h1 class="page-title">Obtaining the password expiry date with PowerShell</h1><div class="breadcrumb-extra">
<div class="kleo_framework breadcrumb"><span><a href="https://4sysops.com" title="4sysops" rel="home">Home</a></span>
<span class="sep"> </span> <span><a href="https://4sysops.com/archives/" title="Blog">Blog</a></span>
<span class="sep"> </span> <span class="active">Obtaining the password expiry date with PowerShell</span>
</div><p class="page-info">4sysops - The online community for SysAdmins and DevOps</p></div></div></section>
<section class="container-wrap main-color">
<div id="main-container" class="container">
<div class="row">
<div class="template-page col-sm-8 col-sm-push-2 tpl-3lr with-meta inline-meta">
<div class="wrap-content">
<!-- Begin Article -->
<article id="post-25874" class="clearfix post-25874 post type-post status-publish format-standard has-post-thumbnail category-articles tag-password tag-powershell tag-active-directory">
<div class="article-meta">
<span class="post-meta">
<small class="meta-author author vcard"><a class="url fn n" href="https://4sysops.com/members/wolfgang-sommergut/" title="View Wolfgang Sommergut's profile" rel="author"><img src="https://4sysops.com/wp-content/uploads/avatars/9/37a6fefa42222eaa308e1e280814446f-bpthumb.jpg" width="50" height="50" alt="Avatar" class="avatar avatar-50 wp-user-avatar wp-user-avatar-50 photo avatar-default"> <span class="author-name">Wolfgang Sommergut</span></a></small> <small><a href="https://4sysops.com/archives/obtaining-the-password-expiry-date-with-powershell/" rel="bookmark" class="post-time"><time class="entry-date" datetime="2016-02-23T09:00:06-08:00">Tue, Feb 23 2016</time><time class="modify-date hide hidden updated" datetime="2023-07-28T08:59:00-07:00">Fri, Jul 28 2023</time></a></small> <small class="meta-category"><a href="https://4sysops.com/tag/password/" rel="tag">password</a>, <a href="https://4sysops.com/tag/powershell/" rel="tag">powershell</a>, <a href="https://4sysops.com/tag/active-directory/" rel="tag">active directory</a></small> <small class="meta-comment-count"><a href="https://4sysops.com/archives/obtaining-the-password-expiry-date-with-powershell/#comments">4 <i class="icon-chat-1 hover-tip" data-original-title="This article has 4 comments" data-toggle="tooltip" data-placement="top"></i></a></small> </span>
</div><!--end article-meta-->
<div class="article-content">
<div id="single-excerpt">When it comes to managing user accounts, the password expiry date and the time of the last password change are interesting information. You can retrieve both attributes easily with PowerShell.</div><div style="text-align:center;"><div id="1f366c1040db80a82fe4fc5ab71dda9c0" data-google-query-id="CPaboLD1i4oDFfBY9ggdQiE2DA"><div id="google_ads_iframe_/1012263/main-0_0__container__" style="border: 0pt none; display: inline-block; width: 300px; height: 280px;"><iframe frameborder="0" src="https://8a2d554fea3d12a8c3e065c3f305404a.safeframe.googlesyndication.com/safeframe/1-0-40/html/container.html" id="google_ads_iframe_/1012263/main-0_0" title="3rd party ad content" name="" scrolling="no" marginwidth="0" marginheight="0" width="300" height="280" data-is-safeframe="true" sandbox="allow-forms allow-popups allow-popups-to-escape-sandbox allow-same-origin allow-scripts allow-top-navigation-by-user-activation" allow="private-state-token-redemption" aria-label="Advertisement" tabindex="0" data-google-container-id="2" style="border: 0px; vertical-align: bottom;" data-load-complete="true"></iframe></div></div></div>
<script type="text/javascript">/* <![CDATA[ */
window.addEventListener("DOMContentLoaded", function() {
let b = false;
function ab(callback) {
if (false) {
console.log("Mobile Device Detected");
callback(true);
return;
}
fetch("https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js", {
method: "HEAD",
mode: "no-cors"
})
.then(response => {
var eee = document.getElementById("1f366c1040db80a82fe4fc5ab71dda9cb");
var bbb = eee.innerHTML;
if(bbb.length > 200) {
callback(false);
} else {
callback(true);
}
})
.catch(error => {
callback(true);
});
}
function load() {
//console.log("bb2");
var timeInMs = (Date.now() / 1000).toString();
var seize = window.innerWidth;
var tt = "&time=" + timeInMs + "&seize=" + seize;
var url2 = "https://4sysops.com/aer45axxx1f366c1040db80a82fe4fc5ab71dda9cjk1sh65.php";
var url = phpValue;
//if (typeof url === "undefined" || !url) {
//console.log("Waiting for `url` to be set...");
//setTimeout(load, 100); // Retry `load` after 100 ms
//return;
//}
console.log("New Value from PHP:", phpValue);
var params = `tags=general,security,powershell,AD&author=Wolfgang Sommergut&title=Obtaining the password expiry date with PowerShell.&unit=0&url=https://4sysops.com/archives/obtaining-the-password-expiry-date-with-powershell/` + tt;
var xhttp = new XMLHttpRequest();
xhttp.onreadystatechange = function() {
if (this.readyState == 4 && this.status == 200) {
// Typical action to be performed when the document is ready:
document.getElementById("1f366c1040db80a82fe4fc5ab71dda9c0").innerHTML = xhttp.responseText;
document.getElementById(id + advertNr).innerHTML = xhttp.responseText;
}
};
console.log("New3 Value from PHP:", url)
console.log("New4 Value from PHP:", url2)
xhttp.open("GET", url+"?"+params, true);
xhttp.send(null);
return xhttp.responseText;
}
window.addEventListener("load", (event) => {
var eee = document.getElementById("1f366c1040db80a82fe4fc5ab71dda9cb");
//console.log("vard" + b);
var bbb = eee.innerHTML;
//console.log("vare");
console.log("varxxx" + bbb.length);
ab((iB) => {
b = iB;
if(b) {
load();
} else {
googletag.cmd.push(function() { googletag.display("1f366c1040db80a82fe4fc5ab71dda9c0"); });
}
});
});
//});
});
/* ]]> */</script><a id="rtoc-mokuji-wrapper"></a><div id="rtoc-mokuji-widget-wrapper" class="rtoc-mokuji-content frame4 animation-fade rtoc_open default" data-id="25874" data-theme="Kleo Child"><div id="rtoc-mokuji-title" class="rtoc_left"><button class="rtoc_open_close rtoc_open">CLOSE</button><span>Contents</span></div><ol class="rtoc-mokuji decimal_ol level-1"><li class="rtoc-item"><a href="#rtoc-1">Reading user objects</a></li><li class="rtoc-item"><a href="#rtoc-2">Displaying the password expiry date</a></li><li class="rtoc-item"><a href="#rtoc-3">Finding inactive accounts</a></li><li class="rtoc-item"><a href="#rtoc-4">Users who cannot change their password</a></li></ol></div>
<div class="abh_box abh_box_up abh_box_business"><ul class="abh_tabs"> <li class="abh_about abh_active"><a href="#abh_about">Author</a></li> <li class="abh_posts"><a href="#abh_posts">Recent Posts</a></li></ul><div class="abh_tab_content"><section class="vcard author abh_about_tab abh_tab" itemscope="" itemprop="author" itemtype="https://schema.org/Person" style="display:block"><div class="abh_image" itemscope="" itemtype="https://schema.org/ImageObject"><a href="https://4sysops.com/members/wolfgang-sommergut/" class="url" title="Wolfgang Sommergut"> <img decoding="async" src="https://4sysops.com/wp-content/uploads/avatars/9/37a6fefa42222eaa308e1e280814446f-bpfull.jpg" width="96" height="96" alt="Wolfgang Sommergut" class="avatar avatar-250 wp-user-avatar wp-user-avatar-250 photo avatar-default"></a> </div><div class="abh_social"> </div><div class="abh_text"><div class="abh_name fn name" itemprop="name"><a href="https://4sysops.com/members/wolfgang-sommergut/" class="url">Wolfgang Sommergut</a></div><div class="abh_job"></div><div class="description note abh_description" itemprop="description">Wolfgang Sommergut has over 20 years of experience in IT journalism. He has also worked as a system administrator and as a tech consultant. Today he runs the German publication <a href="http://www.windowspro.de">WindowsPro.de</a>.</div></div> </section><section class="abh_posts_tab abh_tab"><div class="abh_image"><a href="https://4sysops.com/members/wolfgang-sommergut/" class="url" title="Wolfgang Sommergut"><img decoding="async" src="https://4sysops.com/wp-content/uploads/avatars/9/37a6fefa42222eaa308e1e280814446f-bpfull.jpg" width="96" height="96" alt="Wolfgang Sommergut" class="avatar avatar-250 wp-user-avatar wp-user-avatar-250 photo avatar-default"></a></div><div class="abh_social"> </div><div class="abh_text"><div class="abh_name">Latest posts by Wolfgang Sommergut <span class="abh_allposts">(<a href="https://4sysops.com/members/wolfgang-sommergut/">see all</a>)</span></div><div class="abh_description note"><ul> <li> <a href="https://4sysops.com/archives/laps-automatically-create-local-admin-accounts-use-passphrases-activate-rollback-detection/">LAPS: Automatically create local admin accounts, use passphrases, activate rollback detection</a><span> - Wed, Nov 27 2024</span> </li> <li> <a href="https://4sysops.com/archives/download-vmware-workstation-and-fusion-for-free/">Download VMware Workstation and Fusion for free</a><span> - Tue, Nov 19 2024</span> </li> <li> <a href="https://4sysops.com/archives/windows-server-2025-pricing-and-licensing-options/">Windows Server 2025 pricing and licensing options</a><span> - Thu, Nov 14 2024</span> </li></ul></div></div> </section></div> </div><p>The PowerShell ActiveDirectory module allows you to read most of the information stored in AD objects. This includes the various password settings for user accounts, such as the expiry date and the time of the last change.</p><div style="text-align:center;"><div id="1f366c1040db80a82fe4fc5ab71dda9c1"></div></div>
<script type="text/javascript">/* <![CDATA[ */
window.addEventListener("DOMContentLoaded", function() {
let b = false;
function ab(callback) {
if (false) {
console.log("Mobile Device Detected");
callback(true);
return;
}
fetch("https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js", {
method: "HEAD",
mode: "no-cors"
})
.then(response => {
var eee = document.getElementById("1f366c1040db80a82fe4fc5ab71dda9cb");
var bbb = eee.innerHTML;
if(bbb.length > 200) {
callback(false);
} else {
callback(true);
}
})
.catch(error => {
callback(true);
});
}
function load() {
//console.log("bb2");
var timeInMs = (Date.now() / 1000).toString();
var seize = window.innerWidth;
var tt = "&time=" + timeInMs + "&seize=" + seize;
var url2 = "https://4sysops.com/aer45axxx1f366c1040db80a82fe4fc5ab71dda9cjk1sh65.php";
var url = phpValue;
//if (typeof url === "undefined" || !url) {
//console.log("Waiting for `url` to be set...");
//setTimeout(load, 100); // Retry `load` after 100 ms
//return;
//}
console.log("New Value from PHP:", phpValue);
var params = `tags=general,security,powershell,AD&author=Wolfgang Sommergut&title=Obtaining the password expiry date with PowerShell.&unit=1&url=https://4sysops.com/archives/obtaining-the-password-expiry-date-with-powershell/` + tt;
var xhttp = new XMLHttpRequest();
xhttp.onreadystatechange = function() {
if (this.readyState == 4 && this.status == 200) {
// Typical action to be performed when the document is ready:
document.getElementById("1f366c1040db80a82fe4fc5ab71dda9c1").innerHTML = xhttp.responseText;
document.getElementById(id + advertNr).innerHTML = xhttp.responseText;
}
};
console.log("New3 Value from PHP:", url)
console.log("New4 Value from PHP:", url2)
xhttp.open("GET", url+"?"+params, true);
xhttp.send(null);
return xhttp.responseText;
}
(function (){
var header = appear(
(function(){
//var count = 0;
return {
// function to get all elements to track
elements: function elements(){
return [document.getElementById("1f366c1040db80a82fe4fc5ab71dda9c1")];
},
// function to run when an element is in view
appear: function appear(el){
var eee = document.getElementById("1f366c1040db80a82fe4fc5ab71dda9cb");
//console.log("vard" + b);
var bbb = eee.innerHTML;
//console.log("vare");
console.log("varxx" + bbb.length);
ab((iB) => {
b = iB;
if(b) {
load();
} else {
googletag.cmd.push(function() { googletag.display("1f366c1040db80a82fe4fc5ab71dda9c1"); });
}
});
},
// function to run when an element goes out of view
disappear: function appear(el){
//console.log("HEADER __NOT__ IN VIEW");
},
//reappear: true
};
}())
);
}());
//});
});
/* ]]> */</script>
<p>PowerShell is particularly useful for AD reporting because the graphical management tools are not entirely suitable for this task. After you <a href="https://4sysops.com/archives/how-to-install-the-powershell-active-directory-module/">install the Active Directory module</a>, you can often retrieve many crucial configurations with a few simple commands.</p>
<p><span id="more-25874"></span>Password management is certainly one of an Active Directory admin’s major tasks. For instance, you can <a href="https://4sysops.com/archives/managing-active-directory-password-policy-with-powershell/">display and change the current rules</a> for users who are allowed to sign in without a password.</p>
<h2 id="rtoc-1">Reading user objects</h2>
<p>The password expiry date and the time of the last password change are other important values of interest to admins. If you need the user list for multiple operations, you should first store it in a variable:</p><div style="text-align:center;"><div id="1f366c1040db80a82fe4fc5ab71dda9c2"></div></div>
<script type="text/javascript">/* <![CDATA[ */
window.addEventListener("DOMContentLoaded", function() {
let b = false;
function ab(callback) {
if (false) {
console.log("Mobile Device Detected");
callback(true);
return;
}
fetch("https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js", {
method: "HEAD",
mode: "no-cors"
})
.then(response => {
var eee = document.getElementById("1f366c1040db80a82fe4fc5ab71dda9cb");
var bbb = eee.innerHTML;
if(bbb.length > 200) {
callback(false);
} else {
callback(true);
}
})
.catch(error => {
callback(true);
});
}
function load() {
//console.log("bb2");
var timeInMs = (Date.now() / 1000).toString();
var seize = window.innerWidth;
var tt = "&time=" + timeInMs + "&seize=" + seize;
var url2 = "https://4sysops.com/aer45axxx1f366c1040db80a82fe4fc5ab71dda9cjk1sh65.php";
var url = phpValue;
//if (typeof url === "undefined" || !url) {
//console.log("Waiting for `url` to be set...");
//setTimeout(load, 100); // Retry `load` after 100 ms
//return;
//}
console.log("New Value from PHP:", phpValue);
var params = `tags=general,security,powershell,AD&author=Wolfgang Sommergut&title=Obtaining the password expiry date with PowerShell.&unit=2&url=https://4sysops.com/archives/obtaining-the-password-expiry-date-with-powershell/` + tt;
var xhttp = new XMLHttpRequest();
xhttp.onreadystatechange = function() {
if (this.readyState == 4 && this.status == 200) {
// Typical action to be performed when the document is ready:
document.getElementById("1f366c1040db80a82fe4fc5ab71dda9c2").innerHTML = xhttp.responseText;
document.getElementById(id + advertNr).innerHTML = xhttp.responseText;
}
};
console.log("New3 Value from PHP:", url)
console.log("New4 Value from PHP:", url2)
xhttp.open("GET", url+"?"+params, true);
xhttp.send(null);
return xhttp.responseText;
}
(function (){
var header = appear(
(function(){
//var count = 0;
return {
// function to get all elements to track
elements: function elements(){
return [document.getElementById("1f366c1040db80a82fe4fc5ab71dda9c2")];
},
// function to run when an element is in view
appear: function appear(el){
var eee = document.getElementById("1f366c1040db80a82fe4fc5ab71dda9cb");
//console.log("vard" + b);
var bbb = eee.innerHTML;
//console.log("vare");
console.log("varxx" + bbb.length);
ab((iB) => {
b = iB;
if(b) {
load();
} else {
googletag.cmd.push(function() { googletag.display("1f366c1040db80a82fe4fc5ab71dda9c2"); });
}
});
},
// function to run when an element goes out of view
disappear: function appear(el){
//console.log("HEADER __NOT__ IN VIEW");
},
//reappear: true
};
}())
);
}());
//});
});
/* ]]> */</script><p></p>
<div class="enlighter-default enlighter-v-standard enlighter-t-wpcustom enlighter-hover enlighter-linenumbers "><div class="enlighter-toolbar-top enlighter-toolbar"><div class="enlighter-btn enlighter-btn-raw" title="Plain text"></div><div class="enlighter-btn enlighter-btn-copy" title="Copy to clipboard"></div><div class="enlighter-btn enlighter-btn-window" title="Open code in new window"></div><div class="enlighter-btn enlighter-btn-website" title="EnlighterJS 3 Syntax Highlighter"></div></div><div class="enlighter" style=""><div class=""><div><span class="enlighter-k7">$Users</span><span class="enlighter-text"> = </span><span class="enlighter-m0">Get-ADUser</span><span class="enlighter-text"> -</span><span class="enlighter-k0">filter</span><span class="enlighter-text"> </span><span class="enlighter-g1">{</span><span class="enlighter-text">Enabled -eq </span><span class="enlighter-k7">$True</span><span class="enlighter-text"> -and PasswordNeverExpires -eq </span><span class="enlighter-k7">$False</span><span class="enlighter-g1">}</span><span class="enlighter-text"> -Properties </span><span class="enlighter-m0">msDS-UserPasswordExpiryTimeComputed</span><span class="enlighter-text">, PasswordLastSet, CannotChangePassword</span></div></div></div><div class="enlighter-raw">$Users = Get-ADUser -filter {Enabled -eq $True -and PasswordNeverExpires -eq $False} -Properties msDS-UserPasswordExpiryTimeComputed, PasswordLastSet, CannotChangePassword</div><div class="enlighter-toolbar-bottom enlighter-toolbar"></div></div><pre class="EnlighterJSRAW enlighter-origin" data-enlighter-language="powershell">$Users = Get-ADUser -filter {Enabled -eq $True -and PasswordNeverExpires -eq $False} -Properties msDS-UserPasswordExpiryTimeComputed, PasswordLastSet, CannotChangePassword</pre>
<p>This command determines all active user objects with a password expiry date. The ‑<em>Properties</em> parameter allows you to read the attributes of the expiry date, the date of the last password change, and the right to set a new password.</p>
<p>In large directories, you can restrict the query to specific domains or OUs with the help of the ‑<em>SearchBase </em>parameter (read <a href="https://4sysops.com/archives/get-adcomputer-display-computers-in-ou-or-ad-group-with-powershell/"><em>Get-ADComputer </em>– Display computers in OU or AD group with PowerShell</a>).</p>
<h2 id="rtoc-2">Displaying the password expiry date</h2>
<p>If you just want to generate a list of user names with their expiry dates and the times of the last password change, you can run this command:</p>
<div class="enlighter-default enlighter-v-standard enlighter-t-wpcustom enlighter-hover enlighter-linenumbers "><div class="enlighter-toolbar-top enlighter-toolbar"><div class="enlighter-btn enlighter-btn-raw" title="Plain text"></div><div class="enlighter-btn enlighter-btn-copy" title="Copy to clipboard"></div><div class="enlighter-btn enlighter-btn-window" title="Open code in new window"></div><div class="enlighter-btn enlighter-btn-website" title="EnlighterJS 3 Syntax Highlighter"></div></div><div class="enlighter" style=""><div class=""><div><span class="enlighter-k7">$Users</span><span class="enlighter-text"> | select Name, @</span><span class="enlighter-g1">{</span><span class="enlighter-text">Name=</span><span class="enlighter-s2">"ExpiryDate"</span><span class="enlighter-text">;Expression=</span><span class="enlighter-g1">{[</span><span class="enlighter-text">datetime</span><span class="enlighter-g1">]</span><span class="enlighter-text">::</span><span class="enlighter-m0">FromFileTime</span><span class="enlighter-g1">(</span><span class="enlighter-k7">$_</span><span class="enlighter-text">.</span><span class="enlighter-s2">"msDS-UserPasswordExpiryTimeComputed"</span><span class="enlighter-g1">)}}</span><span class="enlighter-text">, PasswordLastSet</span></div></div></div><div class="enlighter-raw">$Users | select Name, @{Name="ExpiryDate";Expression={[datetime]::FromFileTime($_."msDS-UserPasswordExpiryTimeComputed")}}, PasswordLastSet</div><div class="enlighter-toolbar-bottom enlighter-toolbar"></div></div><pre class="EnlighterJSRAW enlighter-origin" data-enlighter-language="powershell">$Users | select Name, @{Name="ExpiryDate";Expression={[datetime]::FromFileTime($_."msDS-UserPasswordExpiryTimeComputed")}}, PasswordLastSet</pre>
<p><a href="https://4sysops.com/wp-content/uploads/2016/02/List-of-user-names-with-their-expiry-dates.png" rel="attachment wp-att-25875"><img fetchpriority="high" decoding="async" class="size-large wp-image-25875 aligncenter" title="List of user names with their expiry dates" src="https://4sysops.com/wp-content/uploads/2016/02/List-of-user-names-with-their-expiry-dates-600x234.png" alt="List of user names with their expiry dates" width="600" height="234" srcset="https://4sysops.com/wp-content/uploads/2016/02/List-of-user-names-with-their-expiry-dates-600x234.png 600w, https://4sysops.com/wp-content/uploads/2016/02/List-of-user-names-with-their-expiry-dates-672x263.png 672w, https://4sysops.com/wp-content/uploads/2016/02/List-of-user-names-with-their-expiry-dates-480x187.png 480w, https://4sysops.com/wp-content/uploads/2016/02/List-of-user-names-with-their-expiry-dates.png 1024w" sizes="(max-width: 600px) 100vw, 600px"></a></p>
<p style="text-align: center;"><em>List of user names with their expiry dates</em></p>
<p>Because the <em>msDS-UserPasswordExpiryTimeComputed</em> attribute doesn’t store the password expiry time in a human-readable format, the above command uses a <a href="https://technet.microsoft.com/en-us/library/ff730948.aspx">calculated property</a> and the function <em>FromFileTime</em> to convert it for output to a console.</p>
<h2 id="rtoc-3">Finding inactive accounts</h2>
<p>Another interesting task is to find out whether particular users haven’t changed their password in a long time. Aside from the <a href="https://4sysops.com/archives/use-powershell-to-get-last-logon-information/">last logon date</a>, this information could also hint to inactive accounts:</p>
<div class="enlighter-default enlighter-v-standard enlighter-t-wpcustom enlighter-hover enlighter-linenumbers "><div class="enlighter-toolbar-top enlighter-toolbar"><div class="enlighter-btn enlighter-btn-raw" title="Plain text"></div><div class="enlighter-btn enlighter-btn-copy" title="Copy to clipboard"></div><div class="enlighter-btn enlighter-btn-window" title="Open code in new window"></div><div class="enlighter-btn enlighter-btn-website" title="EnlighterJS 3 Syntax Highlighter"></div></div><div class="enlighter" style=""><div class=""><div><span class="enlighter-k7">$maxPWAge</span><span class="enlighter-text"> = </span><span class="enlighter-g1">(</span><span class="enlighter-m0">Get-ADDefaultDomainPasswordPolicy</span><span class="enlighter-g1">)</span><span class="enlighter-text">.MaxPasswordAge.Days</span></div></div></div><div class="enlighter-raw">$maxPWAge = (Get-ADDefaultDomainPasswordPolicy).MaxPasswordAge.Days</div><div class="enlighter-toolbar-bottom enlighter-toolbar"></div></div><pre class="EnlighterJSRAW enlighter-origin" data-enlighter-language="powershell">$maxPWAge = (Get-ADDefaultDomainPasswordPolicy).MaxPasswordAge.Days</pre>
<p>This command will retrieve the default setting for the maximum age of passwords. You can then add this value to the expiry date to determine whether the result is a date in the past:</p>
<div class="enlighter-default enlighter-v-standard enlighter-t-wpcustom enlighter-hover enlighter-linenumbers "><div class="enlighter-toolbar-top enlighter-toolbar"><div class="enlighter-btn enlighter-btn-raw" title="Plain text"></div><div class="enlighter-btn enlighter-btn-copy" title="Copy to clipboard"></div><div class="enlighter-btn enlighter-btn-window" title="Open code in new window"></div><div class="enlighter-btn enlighter-btn-website" title="EnlighterJS 3 Syntax Highlighter"></div></div><div class="enlighter" style=""><div class=""><div><span class="enlighter-k1">foreach</span><span class="enlighter-g1">(</span><span class="enlighter-k7">$u</span><span class="enlighter-text"> </span><span class="enlighter-k0">in</span><span class="enlighter-text"> </span><span class="enlighter-k7">$Users</span><span class="enlighter-g1">){</span><span class="enlighter-text"></span></div></div><div class=""><div><span class="enlighter-text"> </span><span class="enlighter-k1">if</span><span class="enlighter-g1">(</span><span class="enlighter-text"> </span><span class="enlighter-g1">[</span><span class="enlighter-text">datetime</span><span class="enlighter-g1">]</span><span class="enlighter-text">::</span><span class="enlighter-m0">FromFileTime</span><span class="enlighter-g1">(</span><span class="enlighter-k7">$u</span><span class="enlighter-text">.</span><span class="enlighter-s0">'msDS-UserPasswordExpiryTimeComputed'</span><span class="enlighter-g1">)</span><span class="enlighter-text">.</span><span class="enlighter-m1">addDays</span><span class="enlighter-g1">(</span><span class="enlighter-k7">$maxPWAge</span><span class="enlighter-g1">)</span><span class="enlighter-text"> -</span><span class="enlighter-m0">lt</span><span class="enlighter-text"> </span><span class="enlighter-g1">(</span><span class="enlighter-m0">Get-Date</span><span class="enlighter-g1">))</span><span class="enlighter-text"> </span><span class="enlighter-g1">{</span><span class="enlighter-text"></span></div></div><div class=""><div><span class="enlighter-text"> </span><span class="enlighter-k7">$u</span><span class="enlighter-text">. DistinguishedName; </span><span class="enlighter-k7">$u</span><span class="enlighter-text">.PasswordLastSet -replace </span><span class="enlighter-s2">"`n|`r"</span><span class="enlighter-text">,</span><span class="enlighter-s2">""</span><span class="enlighter-text"> </span></div></div><div class=""><div><span class="enlighter-text"> </span><span class="enlighter-g1">}</span><span class="enlighter-text"></span></div></div><div class=""><div><span class="enlighter-text"> </span><span class="enlighter-g1">}</span></div></div></div><div class="enlighter-raw">foreach($u in $Users){
if( [datetime]::FromFileTime($u.'msDS-UserPasswordExpiryTimeComputed').addDays($maxPWAge) -lt (Get-Date)) {
$u. DistinguishedName; $u.PasswordLastSet -replace "`n|`r",""
}
}</div><div class="enlighter-toolbar-bottom enlighter-toolbar"></div></div><pre class="EnlighterJSRAW enlighter-origin" data-enlighter-language="powershell">foreach($u in $Users){
if( [datetime]::FromFileTime($u.'msDS-UserPasswordExpiryTimeComputed').addDays($maxPWAge) -lt (Get-Date)) {
$u. DistinguishedName; $u.PasswordLastSet -replace "`n|`r",""
}
}</pre>
<p>The users listed in the result hadn’t changed their password since the expiry date. If the calculated date is far in the past, the corresponding accounts are most likely inactive.</p>
<h2 id="rtoc-4">Users who cannot change their password</h2>
<p>However, another explanation could be that those users are not allowed to change their password. The following code reveals whether the password of such users has expired and if an administrator should take a closer look:</p>
<div class="enlighter-default enlighter-v-standard enlighter-t-wpcustom enlighter-hover enlighter-linenumbers "><div class="enlighter-toolbar-top enlighter-toolbar"><div class="enlighter-btn enlighter-btn-raw" title="Plain text"></div><div class="enlighter-btn enlighter-btn-copy" title="Copy to clipboard"></div><div class="enlighter-btn enlighter-btn-window" title="Open code in new window"></div><div class="enlighter-btn enlighter-btn-website" title="EnlighterJS 3 Syntax Highlighter"></div></div><div class="enlighter" style=""><div class=""><div><span class="enlighter-k1">foreach</span><span class="enlighter-g1">(</span><span class="enlighter-k7">$u</span><span class="enlighter-text"> </span><span class="enlighter-k0">in</span><span class="enlighter-text"> </span><span class="enlighter-k7">$Users</span><span class="enlighter-g1">){</span><span class="enlighter-text"></span></div></div><div class=""><div><span class="enlighter-text"> </span><span class="enlighter-k1">if</span><span class="enlighter-g1">(</span><span class="enlighter-k7">$u</span><span class="enlighter-text">.CannotChangePassword -eq </span><span class="enlighter-k7">$true</span><span class="enlighter-text"> -and </span><span class="enlighter-g1">[</span><span class="enlighter-text">datetime</span><span class="enlighter-g1">]</span><span class="enlighter-text">::</span><span class="enlighter-m0">FromFileTime</span><span class="enlighter-g1">(</span><span class="enlighter-k7">$u</span><span class="enlighter-text">.</span><span class="enlighter-s2">"msDS-UserPasswordExpiryTimeComputed"</span><span class="enlighter-g1">)</span><span class="enlighter-text"> -</span><span class="enlighter-m0">lt</span><span class="enlighter-text"> </span><span class="enlighter-g1">(</span><span class="enlighter-m0">Get-Date</span><span class="enlighter-g1">))</span><span class="enlighter-text"> </span><span class="enlighter-g1">{</span><span class="enlighter-text"></span></div></div><div class=""><div><span class="enlighter-text"> </span><span class="enlighter-k7">$u</span><span class="enlighter-text">. DistinguishedName</span></div></div><div class=""><div><span class="enlighter-text"> </span><span class="enlighter-g1">}</span><span class="enlighter-text"></span></div></div><div class=""><div><span class="enlighter-text"> </span><span class="enlighter-g1">}</span></div></div></div><div class="enlighter-raw">foreach($u in $Users){
if($u.CannotChangePassword -eq $true -and [datetime]::FromFileTime($u."msDS-UserPasswordExpiryTimeComputed") -lt (Get-Date)) {
$u. DistinguishedName
}
}</div><div class="enlighter-toolbar-bottom enlighter-toolbar"></div></div><pre class="EnlighterJSRAW enlighter-origin" data-enlighter-language="powershell">foreach($u in $Users){
if($u.CannotChangePassword -eq $true -and [datetime]::FromFileTime($u."msDS-UserPasswordExpiryTimeComputed") -lt (Get-Date)) {
$u. DistinguishedName
}
}</pre>
<p>This call also examines whether the password expiry date lies in the past by comparing it to the current date returned by the <em>Get-Date</em> cmdlet.</p>
<div class="rate"> <div class="wpulike wpulike-default "><div class="wp_ulike_general_class wp_ulike_is_not_liked"><button type="button" aria-label="Like Button" data-ulike-id="25874" data-ulike-nonce="5176663f97" data-ulike-type="post" data-ulike-template="wpulike-default" data-ulike-display-likers="1" data-ulike-likers-style="default" class="wp_ulike_btn wp_ulike_put_image wp_post_btn_25874"></button><span class="count-box wp_ulike_counter_up" data-ulike-counter-value="+1">+1</span> </div><div class="wp_ulike_likers_wrapper wp_post_likers_25874"> <div class="wp-ulike-likers-list"><span class="wp-ulike-liker"><a href="https://4sysops.com/members/surenderk-in/" title="Surender Kumar"><img src="https://4sysops.com/wp-content/uploads/avatars/9295/1658388895-bpthumb.png" width="32" height="32" alt="avatar" class="avatar avatar-32 wp-user-avatar wp-user-avatar-32 photo avatar-default"></a></span></div></div> </div>
</div><div style="text-align:center;"><div id="1f366c1040db80a82fe4fc5ab71dda9c7"></div></div>
<script type="text/javascript">/* <![CDATA[ */
window.addEventListener("DOMContentLoaded", function() {
let b = false;
function ab(callback) {
if (false) {
console.log("Mobile Device Detected");
callback(true);
return;
}
fetch("https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js", {
method: "HEAD",
mode: "no-cors"
})
.then(response => {
var eee = document.getElementById("1f366c1040db80a82fe4fc5ab71dda9cb");
var bbb = eee.innerHTML;
if(bbb.length > 200) {
callback(false);
} else {
callback(true);
}
})
.catch(error => {
callback(true);
});
}
function load() {
//console.log("bb2");
var timeInMs = (Date.now() / 1000).toString();
var seize = window.innerWidth;
var tt = "&time=" + timeInMs + "&seize=" + seize;
var url2 = "https://4sysops.com/aer45axxx1f366c1040db80a82fe4fc5ab71dda9cjk1sh65.php";
var url = phpValue;
//if (typeof url === "undefined" || !url) {
//console.log("Waiting for `url` to be set...");
//setTimeout(load, 100); // Retry `load` after 100 ms
//return;
//}
console.log("New Value from PHP:", phpValue);
var params = `tags=general,security,powershell,AD&author=Wolfgang Sommergut&title=Obtaining the password expiry date with PowerShell.&unit=7&url=https://4sysops.com/archives/obtaining-the-password-expiry-date-with-powershell/` + tt;
var xhttp = new XMLHttpRequest();
xhttp.onreadystatechange = function() {
if (this.readyState == 4 && this.status == 200) {
// Typical action to be performed when the document is ready:
document.getElementById("1f366c1040db80a82fe4fc5ab71dda9c7").innerHTML = xhttp.responseText;
document.getElementById(id + advertNr).innerHTML = xhttp.responseText;
}
};
console.log("New3 Value from PHP:", url)
console.log("New4 Value from PHP:", url2)
xhttp.open("GET", url+"?"+params, true);
xhttp.send(null);
return xhttp.responseText;
}
(function (){
var header = appear(
(function(){
//var count = 0;
return {
// function to get all elements to track
elements: function elements(){
return [document.getElementById("1f366c1040db80a82fe4fc5ab71dda9c7")];
},
// function to run when an element is in view
appear: function appear(el){
var eee = document.getElementById("1f366c1040db80a82fe4fc5ab71dda9cb");
//console.log("vard" + b);
var bbb = eee.innerHTML;
//console.log("vare");
console.log("varxx" + bbb.length);
ab((iB) => {
b = iB;
if(b) {
load();
} else {
googletag.cmd.push(function() { googletag.display("1f366c1040db80a82fe4fc5ab71dda9c7"); });
}
});
},
// function to run when an element goes out of view
disappear: function appear(el){
//console.log("HEADER __NOT__ IN VIEW");
},
//reappear: true
};
}())
);
}());
//});
});
/* ]]> */</script><div class="mwai-chatbot-container"><div class="mwai-chatbot mwai-chatgpt-theme " id="mwai-chatbot-endbot"><div class="mwai-header"></div><div class="mwai-content"><div class="mwai-conversation"><div class="mwai-reply mwai-ai mwai-rendered"><span class="mwai-name"><div class="mwai-avatar"><img width="32" height="32" src="https://4sysops.com/wp-content/themes/kleo-child/img/4.png" alt="AI Avatar"></div></span><div><span class="mwai-text"><span>Hi! I am 4sysops AI, the best model for IT.<br><a href="https://4sysops.com/join/" target="_self" rel="noopener noreferrer">Members</a> get free access to an augmented ChatGPT 4, trained with the latest IT content.</span></span><div class="mwai-reply-actions mwai-hidden"><div class="mwai-copy-button"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M7 5a3 3 0 0 1 3-3h9a3 3 0 0 1 3 3v9a3 3 0 0 1-3 3h-2v2a3 3 0 0 1-3 3H5a3 3 0 0 1-3-3v-9a3 3 0 0 1 3-3h2zm2 2h5a3 3 0 0 1 3 3v5h2a1 1 0 0 0 1-1V5a1 1 0 0 0-1-1h-9a1 1 0 0 0-1 1zM5 9a1 1 0 0 0-1 1v9a1 1 0 0 0 1 1h9a1 1 0 0 0 1-1v-9a1 1 0 0 0-1-1z"></path></svg></div></div></div></div></div><div class="mwai-input"><div class="mwai-input-text"><textarea placeholder="Ask something about this article or any IT-related question..." maxlength="512" style="height: 60px !important;"></textarea><div active="false" class="mwai-microphone"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-mic"><path d="M12 2a3 3 0 0 0-3 3v7a3 3 0 0 0 6 0V5a3 3 0 0 0-3-3Z"></path><path d="M19 10v2a7 7 0 0 1-14 0v-2"></path><line x1="12" x2="12" y1="19" y2="22"></line></svg></div></div><button class="mwai-input-submit "><span>Send</span></button></div></div></div></div><div id="it-news"><div style="margin-top: 20px; background-color: #f4f4f4;padding:10px; border: 1px solid #d9d9d9; border-radius: 10px; text-align: left;"><h2>IT Administration News</h2><ul><li style="margin-bottom: 15px;"><a href="https://4sysops.com/activity/p/60618/">Windows 11 minor new features: advanced passkey manager, colourful Ctrl Alt Del UI, and more</a></li><li style="margin-bottom: 15px;"><a href="https://4sysops.com/activity/p/60599/">Elon Musk targets OpenAIs for-profit transition in a new filing – The Verge</a></li><li style="margin-bottom: 15px;"><a href="https://4sysops.com/activity/p/60597/">Windows 11’s market share dropped in November 2024 – Neowin</a></li><li style="margin-bottom: 15px;"><a href="https://4sysops.com/activity/p/60586/">Broadcom loses another big customer: UK fintech cloud Beeks Group, and most of its 20,000 VMs</a></li><li style="margin-bottom: 15px;"><a href="https://4sysops.com/activity/p/60581/">Microsoft slaps Windows 11 update hold on hardware connected to eSCL devices</a></li></ul><p><a href="/activity/">Read All IT Administration News</a></p></div></div>
<script>
var xhttpNews = new XMLHttpRequest();
xhttpNews.open('GET', '/wp-content/themes/kleo-child/get-news2.php', true);
xhttpNews.onreadystatechange = function() {
if (xhttpNews.readyState === 4 && xhttpNews.status === 200) {
document.getElementById('it-news').innerHTML = xhttpNews.responseText;
}
};
xhttpNews.send();
</script><div style="text-align: center; margin-top: 25px; border: 1px #A0C8E4 solid; background-color: #E1ECF4; clear: both; border-radius: 10px;"><p><b><a href="https://4sysops.com/groups/powershell?utm_source=4sysops&utm_medium=endpage&utm_campaign=PowerShell&utm_term=member" "="">Join the 4sysops PowerShell group!</a></b></p><p><b><a href="https://4sysops.com/groups/powershell/forum/?utm_source=4sysops&utm_medium=endpage&utm_campaign=PowerShellForum">Your question was not answered? Ask in the PowerShell forum!</a></b></p></div><div style="text-align:center;"><div id="1f366c1040db80a82fe4fc5ab71dda9c100"></div></div>
<script type="text/javascript">/* <![CDATA[ */
window.addEventListener("DOMContentLoaded", function() {
let b = false;
function ab(callback) {
if (false) {
console.log("Mobile Device Detected");
callback(true);
return;
}
fetch("https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js", {
method: "HEAD",
mode: "no-cors"
})
.then(response => {
var eee = document.getElementById("1f366c1040db80a82fe4fc5ab71dda9cb");
var bbb = eee.innerHTML;
if(bbb.length > 200) {
callback(false);
} else {
callback(true);
}
})
.catch(error => {
callback(true);
});
}
function load() {
//console.log("bb2");
var timeInMs = (Date.now() / 1000).toString();
var seize = window.innerWidth;
var tt = "&time=" + timeInMs + "&seize=" + seize;
var url2 = "https://4sysops.com/aer45axxx1f366c1040db80a82fe4fc5ab71dda9cjk1sh65.php";
var url = phpValue;
//if (typeof url === "undefined" || !url) {
//console.log("Waiting for `url` to be set...");
//setTimeout(load, 100); // Retry `load` after 100 ms
//return;
//}
console.log("New Value from PHP:", phpValue);
var params = `tags=general,security,powershell,AD&author=Wolfgang Sommergut&title=Obtaining the password expiry date with PowerShell.&unit=100&url=https://4sysops.com/archives/obtaining-the-password-expiry-date-with-powershell/` + tt;
var xhttp = new XMLHttpRequest();
xhttp.onreadystatechange = function() {
if (this.readyState == 4 && this.status == 200) {
// Typical action to be performed when the document is ready:
document.getElementById("1f366c1040db80a82fe4fc5ab71dda9c100").innerHTML = xhttp.responseText;
document.getElementById(id + advertNr).innerHTML = xhttp.responseText;
}
};
console.log("New3 Value from PHP:", url)
console.log("New4 Value from PHP:", url2)
xhttp.open("GET", url+"?"+params, true);
xhttp.send(null);
return xhttp.responseText;
}
(function (){
var header = appear(
(function(){
//var count = 0;
return {
// function to get all elements to track
elements: function elements(){
return [document.getElementById("1f366c1040db80a82fe4fc5ab71dda9c100")];
},
// function to run when an element is in view
appear: function appear(el){
var eee = document.getElementById("1f366c1040db80a82fe4fc5ab71dda9cb");
//console.log("vard" + b);
var bbb = eee.innerHTML;
//console.log("vare");
console.log("varxx" + bbb.length);
ab((iB) => {
b = iB;
if(b) {
load();
} else {
googletag.cmd.push(function() { googletag.display("1f366c1040db80a82fe4fc5ab71dda9c100"); });
}
});
},
// function to run when an element goes out of view
disappear: function appear(el){
//console.log("HEADER __NOT__ IN VIEW");
},
//reappear: true
};
}())
);
}());
//});
});
/* ]]> */</script>
</div><!--end article-content-->
</article><!--end article-->
<section class="container-wrap">
<div class="container">
<div class="related-wrap">
<div class="hr-title hr-long"><abbr>Related Articles</abbr></div>
<div class="kleo-carousel-container dot-carousel">
<div class="kleo-carousel-items kleo-carousel-post" data-min-items="1" data-max-items="3">
<div class="caroufredsel_wrapper" style="text-align: center; float: none; position: relative; inset: auto; z-index: auto; width: 429px; height: 462px; margin: 0px; overflow: hidden;"><ul class="kleo-carousel" style="text-align: left; float: none; position: absolute; inset: 0px auto auto 0px; margin: 0px; width: 6149px; height: 486px; visibility: visible;">
<li id="post-1588943" class="post-item col-sm-4 post-1588943 post type-post status-publish format-standard has-post-thumbnail category-articles tag-azure tag-cloud-computing tag-powershell tag-monitoring" style="width: 143px;">
<article>
<div class="post-image"><a href="https://4sysops.com/archives/install-and-manage-vm-watch-on-azure-virtual-machines/" class="element-wrap"><img width="480" height="270" src="https://4sysops.com/wp-content/uploads/2024/11/Verifying-the-installation-480x270.png" class="attachment-kleo-post-gallery size-kleo-post-gallery wp-post-image" alt="Verifying the installation" decoding="async" loading="lazy"><span class="hover-element"><i>+</i></span></a></div><!--end post-image-->
<div class="entry-content">
<h4 class="post-title entry-title"><a href="https://4sysops.com/archives/install-and-manage-vm-watch-on-azure-virtual-machines/" onclick="gtag('event', 'Related', {'Rtitle': 'Install and manage VM watch on Azure Virtual Machines','Rurl': 'https://4sysops.com/archives/install-and-manage-vm-watch-on-azure-virtual-machines/'});">Install and manage VM watch on Azure Virtual Machines</a></h4>
<span class="post-meta hidden hide">
<small class="meta-author author vcard"><a class="url fn n" href="https://4sysops.com/members/bakionur-okutucu/" title="View Baki Onur Okutucu's profile" rel="author"><img src="https://4sysops.com/wp-content/uploads/avatars/1956/58ad5492e9d5a-bpthumb.png" width="50" height="50" alt="Avatar" class="avatar avatar-50 wp-user-avatar wp-user-avatar-50 photo avatar-default"> <span class="author-name">Baki Onur Okutucu</span></a></small> <small><a href="https://4sysops.com/archives/install-and-manage-vm-watch-on-azure-virtual-machines/" rel="bookmark" class="post-time"><time class="entry-date" datetime="2024-11-29T05:08:18-08:00">Fri, Nov 29 2024</time><time class="modify-date hide hidden updated" datetime="2024-11-29T05:08:18-08:00">Fri, Nov 29 2024</time></a></small> <small class="meta-category"><a href="https://4sysops.com/tag/azure/" rel="tag">azure</a>, <a href="https://4sysops.com/tag/cloud-computing/" rel="tag">cloud computing</a>, <a href="https://4sysops.com/tag/powershell/" rel="tag">powershell</a>, <a href="https://4sysops.com/tag/monitoring/" rel="tag">monitoring</a></small> <small class="meta-comment-count"><a href="https://4sysops.com/archives/install-and-manage-vm-watch-on-azure-virtual-machines/#comments">0 <i class="icon-chat-1 hover-tip" data-original-title="This article has 0 comments" data-toggle="tooltip" data-placement="top"></i></a></small> </span>
<hr>
<div class="entry-summary">
</div><!-- .entry-summary -->
</div><!--end post-info-->
</article>
</li>
<li id="post-1588805" class="post-item col-sm-4 post-1588805 post type-post status-publish format-standard has-post-thumbnail category-articles tag-password tag-security tag-windows tag-laps" style="width: 143px;">
<article>
<div class="post-image"><a href="https://4sysops.com/archives/laps-automatically-create-local-admin-accounts-use-passphrases-activate-rollback-detection/" class="element-wrap"><img width="480" height="270" src="https://4sysops.com/wp-content/uploads/2024/11/LAPS-also-supports-the-use-of-passphrases-in-addition-to-passwords-that-consist-of-letters,-numbers,-and-special-characters-480x270.png" class="attachment-kleo-post-gallery size-kleo-post-gallery wp-post-image" alt="LAPS also supports the use of passphrases in addition to passwords that consist of letters, numbers, and special characters" decoding="async" loading="lazy"><span class="hover-element"><i>+</i></span></a></div><!--end post-image-->
<div class="entry-content">
<h4 class="post-title entry-title"><a href="https://4sysops.com/archives/laps-automatically-create-local-admin-accounts-use-passphrases-activate-rollback-detection/" onclick="gtag('event', 'Related', {'Rtitle': 'LAPS: Automatically create local admin accounts, use passphrases, activate rollback detection','Rurl': 'https://4sysops.com/archives/laps-automatically-create-local-admin-accounts-use-passphrases-activate-rollback-detection/'});">LAPS: Automatically create local admin accounts, use passphrases, activate rollback detection</a></h4>
<span class="post-meta hidden hide">
<small class="meta-author author vcard"><a class="url fn n" href="https://4sysops.com/members/wolfgang-sommergut/" title="View Wolfgang Sommergut's profile" rel="author"><img src="https://4sysops.com/wp-content/uploads/avatars/9/37a6fefa42222eaa308e1e280814446f-bpthumb.jpg" width="50" height="50" alt="Avatar" class="avatar avatar-50 wp-user-avatar wp-user-avatar-50 photo avatar-default"> <span class="author-name">Wolfgang Sommergut</span></a></small> <small><a href="https://4sysops.com/archives/laps-automatically-create-local-admin-accounts-use-passphrases-activate-rollback-detection/" rel="bookmark" class="post-time"><time class="entry-date" datetime="2024-11-27T07:30:55-08:00">Wed, Nov 27 2024</time><time class="modify-date hide hidden updated" datetime="2024-11-27T07:30:55-08:00">Wed, Nov 27 2024</time></a></small> <small class="meta-category"><a href="https://4sysops.com/tag/password/" rel="tag">password</a>, <a href="https://4sysops.com/tag/security/" rel="tag">security</a>, <a href="https://4sysops.com/tag/windows/" rel="tag">windows</a>, <a href="https://4sysops.com/tag/laps/" rel="tag">LAPS</a></small> <small class="meta-comment-count"><a href="https://4sysops.com/archives/laps-automatically-create-local-admin-accounts-use-passphrases-activate-rollback-detection/#comments">0 <i class="icon-chat-1 hover-tip" data-original-title="This article has 0 comments" data-toggle="tooltip" data-placement="top"></i></a></small> </span>
<hr>
<div class="entry-summary">
</div><!-- .entry-summary -->
</div><!--end post-info-->
</article>
</li>
<li id="post-1589171" class="post-item col-sm-4 post-1589171 post type-post status-publish format-standard has-post-thumbnail category-it-news category-articles tag-windows-11 tag-windows tag-security tag-password" style="width: 143px;">
<article>
<div class="post-image"><a href="https://4sysops.com/archives/windows-11-passkey-support-for-third-party-providers/" class="element-wrap"><img width="480" height="270" src="https://4sysops.com/wp-content/uploads/2024/11/Passwordless-authentication-in-Windows-11-(image-Microsoft)-480x270.png" class="attachment-kleo-post-gallery size-kleo-post-gallery wp-post-image" alt="Passwordless authentication in Windows 11 (image Microsoft)" decoding="async" loading="lazy"><span class="hover-element"><i>+</i></span></a></div><!--end post-image-->
<div class="entry-content">
<h4 class="post-title entry-title"><a href="https://4sysops.com/archives/windows-11-passkey-support-for-third-party-providers/" onclick="gtag('event', 'Related', {'Rtitle': 'Windows 11 passkey support for third-party providers','Rurl': 'https://4sysops.com/archives/windows-11-passkey-support-for-third-party-providers/'});">Windows 11 passkey support for third-party providers</a></h4>
<span class="post-meta hidden hide">
<small class="meta-author author vcard"><a class="url fn n" href="https://4sysops.com/members/michael-pietroforte/" title="View Michael Pietroforte's profile" rel="author"><img src="https://4sysops.com/wp-content/uploads/avatars/2/1697613368-bpthumb.jpg" width="50" height="50" alt="Avatar" class="avatar avatar-50 wp-user-avatar wp-user-avatar-50 photo avatar-default"> <span class="author-name">Michael Pietroforte</span></a></small> <small><a href="https://4sysops.com/archives/windows-11-passkey-support-for-third-party-providers/" rel="bookmark" class="post-time"><time class="entry-date" datetime="2024-11-25T07:07:05-08:00">Mon, Nov 25 2024</time><time class="modify-date hide hidden updated" datetime="2024-11-25T07:07:05-08:00">Mon, Nov 25 2024</time></a></small> <small class="meta-category"><a href="https://4sysops.com/tag/windows-11/" rel="tag">windows 11</a>, <a href="https://4sysops.com/tag/windows/" rel="tag">windows</a>, <a href="https://4sysops.com/tag/security/" rel="tag">security</a>, <a href="https://4sysops.com/tag/password/" rel="tag">password</a></small> <small class="meta-comment-count"><a href="https://4sysops.com/archives/windows-11-passkey-support-for-third-party-providers/#comments">0 <i class="icon-chat-1 hover-tip" data-original-title="This article has 0 comments" data-toggle="tooltip" data-placement="top"></i></a></small> </span>
<hr>
<div class="entry-summary">
</div><!-- .entry-summary -->
</div><!--end post-info-->
</article>
</li>
<li id="post-1588851" class="post-item col-sm-4 post-1588851 post type-post status-publish format-standard has-post-thumbnail category-articles tag-azure tag-security tag-active-directory tag-networking" style="width: 143px;">
<article>
<div class="post-image"><a href="https://4sysops.com/archives/microsoft-entra-private-access-replacing-vpn/" class="element-wrap"><img width="480" height="270" src="https://4sysops.com/wp-content/uploads/2024/11/Connection-flow-in-Entra-Private-Access-480x270.png" class="attachment-kleo-post-gallery size-kleo-post-gallery wp-post-image" alt="Connection flow in Entra Private Access" decoding="async" loading="lazy"><span class="hover-element"><i>+</i></span></a></div><!--end post-image-->
<div class="entry-content">
<h4 class="post-title entry-title"><a href="https://4sysops.com/archives/microsoft-entra-private-access-replacing-vpn/" onclick="gtag('event', 'Related', {'Rtitle': 'Microsoft Entra Private Access: Replacing VPN','Rurl': 'https://4sysops.com/archives/microsoft-entra-private-access-replacing-vpn/'});">Microsoft Entra Private Access: Replacing VPN</a></h4>
<span class="post-meta hidden hide">
<small class="meta-author author vcard"><a class="url fn n" href="https://4sysops.com/members/vignesh/" title="View Vignesh Mudliar's profile" rel="author"><img src="https://4sysops.com/wp-content/uploads/avatars/5743/5f43d2b6ce8c7-bpthumb.jpg" width="50" height="50" alt="Avatar" class="avatar avatar-50 wp-user-avatar wp-user-avatar-50 photo avatar-default"> <span class="author-name">Vignesh Mudliar</span></a></small> <small><a href="https://4sysops.com/archives/microsoft-entra-private-access-replacing-vpn/" rel="bookmark" class="post-time"><time class="entry-date" datetime="2024-11-22T04:45:56-08:00">Fri, Nov 22 2024</time><time class="modify-date hide hidden updated" datetime="2024-11-22T04:45:56-08:00">Fri, Nov 22 2024</time></a></small> <small class="meta-category"><a href="https://4sysops.com/tag/azure/" rel="tag">azure</a>, <a href="https://4sysops.com/tag/security/" rel="tag">security</a>, <a href="https://4sysops.com/tag/active-directory/" rel="tag">active directory</a>, <a href="https://4sysops.com/tag/networking/" rel="tag">networking</a></small> <small class="meta-comment-count"><a href="https://4sysops.com/archives/microsoft-entra-private-access-replacing-vpn/#comments">0 <i class="icon-chat-1 hover-tip" data-original-title="This article has 0 comments" data-toggle="tooltip" data-placement="top"></i></a></small> </span>
<hr>
<div class="entry-summary">
</div><!-- .entry-summary -->
</div><!--end post-info-->
</article>
</li>
<li id="post-1589096" class="post-item col-sm-4 post-1589096 post type-post status-publish format-standard has-post-thumbnail category-articles tag-copilot tag-ai tag-azure tag-cloud-computing tag-powershell" style="width: 143px;">
<article>
<div class="post-image"><a href="https://4sysops.com/archives/restrict-access-to-microsoft-copilot-in-azure-with-powershell/" class="element-wrap"><img width="480" height="270" src="https://4sysops.com/wp-content/uploads/2024/11/Creating-a-new-role-assignment-for-a-user-allowing-Copilot-in-Azure-480x270.png" class="attachment-kleo-post-gallery size-kleo-post-gallery wp-post-image" alt="Creating a new role assignment for a user allowing Copilot in Azure" decoding="async" loading="lazy"><span class="hover-element"><i>+</i></span></a></div><!--end post-image-->
<div class="entry-content">
<h4 class="post-title entry-title"><a href="https://4sysops.com/archives/restrict-access-to-microsoft-copilot-in-azure-with-powershell/" onclick="gtag('event', 'Related', {'Rtitle': 'Restrict access to Microsoft Copilot in Azure with PowerShell','Rurl': 'https://4sysops.com/archives/restrict-access-to-microsoft-copilot-in-azure-with-powershell/'});">Restrict access to Microsoft Copilot in Azure with PowerShell</a></h4>
<span class="post-meta hidden hide">
<small class="meta-author author vcard"><a class="url fn n" href="https://4sysops.com/members/bakionur-okutucu/" title="View Baki Onur Okutucu's profile" rel="author"><img src="https://4sysops.com/wp-content/uploads/avatars/1956/58ad5492e9d5a-bpthumb.png" width="50" height="50" alt="Avatar" class="avatar avatar-50 wp-user-avatar wp-user-avatar-50 photo avatar-default"> <span class="author-name">Baki Onur Okutucu</span></a></small> <small><a href="https://4sysops.com/archives/restrict-access-to-microsoft-copilot-in-azure-with-powershell/" rel="bookmark" class="post-time"><time class="entry-date" datetime="2024-11-21T04:52:54-08:00">Thu, Nov 21 2024</time><time class="modify-date hide hidden updated" datetime="2024-11-21T04:52:54-08:00">Thu, Nov 21 2024</time></a></small> <small class="meta-category"><a href="https://4sysops.com/tag/copilot/" rel="tag">copilot</a>, <a href="https://4sysops.com/tag/ai/" rel="tag">AI</a>, <a href="https://4sysops.com/tag/azure/" rel="tag">azure</a>, <a href="https://4sysops.com/tag/cloud-computing/" rel="tag">cloud computing</a>, <a href="https://4sysops.com/tag/powershell/" rel="tag">powershell</a></small> <small class="meta-comment-count"><a href="https://4sysops.com/archives/restrict-access-to-microsoft-copilot-in-azure-with-powershell/#comments">0 <i class="icon-chat-1 hover-tip" data-original-title="This article has 0 comments" data-toggle="tooltip" data-placement="top"></i></a></small> </span>
<hr>
<div class="entry-summary">
</div><!-- .entry-summary -->
</div><!--end post-info-->
</article>
</li>
<li id="post-1588244" class="post-item col-sm-4 post-1588244 post type-post status-publish format-standard has-post-thumbnail category-articles tag-powershell" style="width: 143px;">
<article>
<div class="post-image"><a href="https://4sysops.com/archives/generate-windows-toast-notifications-with-the-powershell-module-burnttoast/" class="element-wrap"><img width="480" height="270" src="https://4sysops.com/wp-content/uploads/2024/10/Notification-with-custom-logo-and-hero-image-480x270.png" class="attachment-kleo-post-gallery size-kleo-post-gallery wp-post-image" alt="Notification with custom logo and hero image" decoding="async" loading="lazy"><span class="hover-element"><i>+</i></span></a></div><!--end post-image-->
<div class="entry-content">
<h4 class="post-title entry-title"><a href="https://4sysops.com/archives/generate-windows-toast-notifications-with-the-powershell-module-burnttoast/" onclick="gtag('event', 'Related', {'Rtitle': 'Generate Windows toast notifications with the PowerShell module BurntToast','Rurl': 'https://4sysops.com/archives/generate-windows-toast-notifications-with-the-powershell-module-burnttoast/'});">Generate Windows toast notifications with the PowerShell module BurntToast</a></h4>
<span class="post-meta hidden hide">
<small class="meta-author author vcard"><a class="url fn n" href="https://4sysops.com/members/gibon/" title="View Leos Marek's profile" rel="author"><img src="https://4sysops.com/wp-content/uploads/avatars/2084/5a4643edbafc5-bpthumb.jpg" width="50" height="50" alt="Avatar" class="avatar avatar-50 wp-user-avatar wp-user-avatar-50 photo avatar-default"> <span class="author-name">Leos Marek</span></a></small> <small><a href="https://4sysops.com/archives/generate-windows-toast-notifications-with-the-powershell-module-burnttoast/" rel="bookmark" class="post-time"><time class="entry-date" datetime="2024-11-11T02:56:03-08:00">Mon, Nov 11 2024</time><time class="modify-date hide hidden updated" datetime="2024-11-11T02:56:03-08:00">Mon, Nov 11 2024</time></a></small> <small class="meta-category"><a href="https://4sysops.com/tag/powershell/" rel="tag">powershell</a></small> <small class="meta-comment-count"><a href="https://4sysops.com/archives/generate-windows-toast-notifications-with-the-powershell-module-burnttoast/#comments">0 <i class="icon-chat-1 hover-tip" data-original-title="This article has 0 comments" data-toggle="tooltip" data-placement="top"></i></a></small> </span>
<hr>
<div class="entry-summary">
</div><!-- .entry-summary -->
</div><!--end post-info-->
</article>
</li>
<li id="post-1588035" class="post-item col-sm-4 post-1588035 post type-post status-publish format-standard has-post-thumbnail category-articles tag-active-directory tag-powershell tag-networking" style="width: 143px;">
<article>
<div class="post-image"><a href="https://4sysops.com/archives/get-active-directory-ports-with-powershell/" class="element-wrap"><img width="480" height="270" src="https://4sysops.com/wp-content/uploads/2024/10/View-Active-Directory-Ports-with-PowerShell-480x270.png" class="attachment-kleo-post-gallery size-kleo-post-gallery wp-post-image" alt="View Active Directory Ports with PowerShell" decoding="async" loading="lazy"><span class="hover-element"><i>+</i></span></a></div><!--end post-image-->
<div class="entry-content">
<h4 class="post-title entry-title"><a href="https://4sysops.com/archives/get-active-directory-ports-with-powershell/" onclick="gtag('event', 'Related', {'Rtitle': 'Get Active Directory ports with PowerShell','Rurl': 'https://4sysops.com/archives/get-active-directory-ports-with-powershell/'});">Get Active Directory ports with PowerShell</a></h4>
<span class="post-meta hidden hide">
<small class="meta-author author vcard"><a class="url fn n" href="https://4sysops.com/members/markus-elsberger/" title="View Markus Elsberger's profile" rel="author"><img src="https://4sysops.com/wp-content/uploads/avatars/22093/1729502643-bpthumb.png" width="50" height="50" alt="Avatar" class="avatar avatar-50 wp-user-avatar wp-user-avatar-50 photo avatar-default"> <span class="author-name">Markus Elsberger</span></a></small> <small><a href="https://4sysops.com/archives/get-active-directory-ports-with-powershell/" rel="bookmark" class="post-time"><time class="entry-date" datetime="2024-10-24T12:37:21-07:00">Thu, Oct 24 2024</time><time class="modify-date hide hidden updated" datetime="2024-10-24T12:37:21-07:00">Thu, Oct 24 2024</time></a></small> <small class="meta-category"><a href="https://4sysops.com/tag/active-directory/" rel="tag">active directory</a>, <a href="https://4sysops.com/tag/powershell/" rel="tag">powershell</a>, <a href="https://4sysops.com/tag/networking/" rel="tag">networking</a></small> <small class="meta-comment-count"><a href="https://4sysops.com/archives/get-active-directory-ports-with-powershell/#comments">0 <i class="icon-chat-1 hover-tip" data-original-title="This article has 0 comments" data-toggle="tooltip" data-placement="top"></i></a></small> </span>
<hr>
<div class="entry-summary">
</div><!-- .entry-summary -->
</div><!--end post-info-->
</article>
</li>
<li id="post-1588046" class="post-item col-sm-4 post-1588046 post type-post status-publish format-standard has-post-thumbnail category-articles tag-active-directory tag-deployment tag-group-policy" style="width: 143px;">
<article>
<div class="post-image"><a href="https://4sysops.com/archives/group-policy-for-office-2024-new-settings-since-2021-ltsc/" class="element-wrap"><img width="480" height="270" src="https://4sysops.com/wp-content/uploads/2024/10/Supported-on-provides-no-information-about-the-supported-Office-version-this-detail-is-only-found-as-a-note-in-the-help-text-480x270.png" class="attachment-kleo-post-gallery size-kleo-post-gallery wp-post-image" alt="Supported on provides no information about the supported Office version; this detail is only found as a note in the help text" decoding="async" loading="lazy"><span class="hover-element"><i>+</i></span></a></div><!--end post-image-->
<div class="entry-content">
<h4 class="post-title entry-title"><a href="https://4sysops.com/archives/group-policy-for-office-2024-new-settings-since-2021-ltsc/" onclick="gtag('event', 'Related', {'Rtitle': 'Group Policy for Office 2024: New settings since 2021 LTSC','Rurl': 'https://4sysops.com/archives/group-policy-for-office-2024-new-settings-since-2021-ltsc/'});">Group Policy for Office 2024: New settings since 2021 LTSC</a></h4>
<span class="post-meta hidden hide">
<small class="meta-author author vcard"><a class="url fn n" href="https://4sysops.com/members/wolfgang-sommergut/" title="View Wolfgang Sommergut's profile" rel="author"><img src="https://4sysops.com/wp-content/uploads/avatars/9/37a6fefa42222eaa308e1e280814446f-bpthumb.jpg" width="50" height="50" alt="Avatar" class="avatar avatar-50 wp-user-avatar wp-user-avatar-50 photo avatar-default"> <span class="author-name">Wolfgang Sommergut</span></a></small> <small><a href="https://4sysops.com/archives/group-policy-for-office-2024-new-settings-since-2021-ltsc/" rel="bookmark" class="post-time"><time class="entry-date" datetime="2024-10-22T08:59:54-07:00">Tue, Oct 22 2024</time><time class="modify-date hide hidden updated" datetime="2024-10-23T02:59:00-07:00">Wed, Oct 23 2024</time></a></small> <small class="meta-category"><a href="https://4sysops.com/tag/active-directory/" rel="tag">active directory</a>, <a href="https://4sysops.com/tag/deployment/" rel="tag">deployment</a>, <a href="https://4sysops.com/tag/group-policy/" rel="tag">group policy</a></small> <small class="meta-comment-count"><a href="https://4sysops.com/archives/group-policy-for-office-2024-new-settings-since-2021-ltsc/#comments">0 <i class="icon-chat-1 hover-tip" data-original-title="This article has 0 comments" data-toggle="tooltip" data-placement="top"></i></a></small> </span>
<hr>
<div class="entry-summary">
</div><!-- .entry-summary -->
</div><!--end post-info-->
</article>
</li>
<li id="post-1587683" class="post-item col-sm-4 post-1587683 post type-post status-publish format-standard has-post-thumbnail category-articles tag-cloud-computing tag-storage tag-azure tag-powershell" style="width: 143px;">
<article>
<div class="post-image"><a href="https://4sysops.com/archives/convert-to-azure-premium-ssd-v2-disks-with-powershell/" class="element-wrap"><img width="480" height="270" src="https://4sysops.com/wp-content/uploads/2024/10/Converting-a-Premium-SSD-disk-to-Premium-SSD-v2-480x270.png" class="attachment-kleo-post-gallery size-kleo-post-gallery wp-post-image" alt="Converting a Premium SSD disk to Premium SSD v2" decoding="async" loading="lazy"><span class="hover-element"><i>+</i></span></a></div><!--end post-image-->
<div class="entry-content">
<h4 class="post-title entry-title"><a href="https://4sysops.com/archives/convert-to-azure-premium-ssd-v2-disks-with-powershell/" onclick="gtag('event', 'Related', {'Rtitle': 'Convert to Azure Premium SSD v2 Disks with PowerShell','Rurl': 'https://4sysops.com/archives/convert-to-azure-premium-ssd-v2-disks-with-powershell/'});">Convert to Azure Premium SSD v2 Disks with PowerShell</a></h4>
<span class="post-meta hidden hide">
<small class="meta-author author vcard"><a class="url fn n" href="https://4sysops.com/members/bakionur-okutucu/" title="View Baki Onur Okutucu's profile" rel="author"><img src="https://4sysops.com/wp-content/uploads/avatars/1956/58ad5492e9d5a-bpthumb.png" width="50" height="50" alt="Avatar" class="avatar avatar-50 wp-user-avatar wp-user-avatar-50 photo avatar-default"> <span class="author-name">Baki Onur Okutucu</span></a></small> <small><a href="https://4sysops.com/archives/convert-to-azure-premium-ssd-v2-disks-with-powershell/" rel="bookmark" class="post-time"><time class="entry-date" datetime="2024-10-16T09:12:30-07:00">Wed, Oct 16 2024</time><time class="modify-date hide hidden updated" datetime="2024-10-16T09:12:30-07:00">Wed, Oct 16 2024</time></a></small> <small class="meta-category"><a href="https://4sysops.com/tag/cloud-computing/" rel="tag">cloud computing</a>, <a href="https://4sysops.com/tag/storage/" rel="tag">storage</a>, <a href="https://4sysops.com/tag/azure/" rel="tag">azure</a>, <a href="https://4sysops.com/tag/powershell/" rel="tag">powershell</a></small> <small class="meta-comment-count"><a href="https://4sysops.com/archives/convert-to-azure-premium-ssd-v2-disks-with-powershell/#comments">0 <i class="icon-chat-1 hover-tip" data-original-title="This article has 0 comments" data-toggle="tooltip" data-placement="top"></i></a></small> </span>
<hr>
<div class="entry-summary">
</div><!-- .entry-summary -->
</div><!--end post-info-->
</article>
</li>
<li id="post-1587655" class="post-item col-sm-4 post-1587655 post type-post status-publish format-standard has-post-thumbnail category-exclude category-reviews category-vendors category-articles tag-security tag-active-directory tag-password" style="width: 143px;">
<article>
<div class="post-image"><a href="https://4sysops.com/archives/protecting-active-directory-from-compromised-passwords-with-enzoic-35/" class="element-wrap"><img width="480" height="270" src="https://4sysops.com/wp-content/uploads/2024/10/Product-console-view-and-dashboard-480x270.png" class="attachment-kleo-post-gallery size-kleo-post-gallery wp-post-image" alt="Product console view and dashboard" decoding="async" loading="lazy"><span class="hover-element"><i>+</i></span></a></div><!--end post-image-->
<div class="entry-content">
<h4 class="post-title entry-title"><a href="https://4sysops.com/archives/protecting-active-directory-from-compromised-passwords-with-enzoic-35/" onclick="gtag('event', 'Related', {'Rtitle': 'Protecting Active Directory from compromised passwords with Enzoic 3.5','Rurl': 'https://4sysops.com/archives/protecting-active-directory-from-compromised-passwords-with-enzoic-35/'});">Protecting Active Directory from compromised passwords with Enzoic 3.5</a></h4>
<span class="post-meta hidden hide">
<small class="meta-author author vcard"><a class="url fn n" href="https://4sysops.com/members/brandon-lee/" title="View Brandon Lee's profile" rel="author"><img src="https://4sysops.com/wp-content/uploads/avatars/2235/596d2aacefa83-bpthumb.jpg" width="50" height="50" alt="Avatar" class="avatar avatar-50 wp-user-avatar wp-user-avatar-50 photo avatar-default"> <span class="author-name">Brandon Lee</span></a></small> <small><a href="https://4sysops.com/archives/protecting-active-directory-from-compromised-passwords-with-enzoic-35/" rel="bookmark" class="post-time"><time class="entry-date" datetime="2024-10-14T08:56:03-07:00">Mon, Oct 14 2024</time><time class="modify-date hide hidden updated" datetime="2024-10-15T07:53:35-07:00">Tue, Oct 15 2024</time></a></small> <small class="meta-category"><a href="https://4sysops.com/tag/security/" rel="tag">security</a>, <a href="https://4sysops.com/tag/active-directory/" rel="tag">active directory</a>, <a href="https://4sysops.com/tag/password/" rel="tag">password</a></small> <small class="meta-comment-count"><a href="https://4sysops.com/archives/protecting-active-directory-from-compromised-passwords-with-enzoic-35/#comments">0 <i class="icon-chat-1 hover-tip" data-original-title="This article has 0 comments" data-toggle="tooltip" data-placement="top"></i></a></small> </span>
<hr>
<div class="entry-summary">
</div><!-- .entry-summary -->
</div><!--end post-info-->
</article>
</li>
<li id="post-1587526" class="post-item col-sm-4 post-1587526 post type-post status-publish format-standard has-post-thumbnail category-articles tag-security tag-active-directory tag-authentication tag-linux" style="width: 143px;">
<article>
<div class="post-image"><a href="https://4sysops.com/archives/authd-cloud-based-oidc-authentication-for-ubuntu-linux/" class="element-wrap"><img width="480" height="270" src="https://4sysops.com/wp-content/uploads/2024/10/Overview-of-an-Entra-ID-application-480x270.png" class="attachment-kleo-post-gallery size-kleo-post-gallery wp-post-image" alt="Overview of an Entra ID application" decoding="async" loading="lazy"><span class="hover-element"><i>+</i></span></a></div><!--end post-image-->
<div class="entry-content">
<h4 class="post-title entry-title"><a href="https://4sysops.com/archives/authd-cloud-based-oidc-authentication-for-ubuntu-linux/" onclick="gtag('event', 'Related', {'Rtitle': 'Authd: Cloud-Based OIDC authentication for Ubuntu Linux','Rurl': 'https://4sysops.com/archives/authd-cloud-based-oidc-authentication-for-ubuntu-linux/'});">Authd: Cloud-Based OIDC authentication for Ubuntu Linux</a></h4>
<span class="post-meta hidden hide">
<small class="meta-author author vcard"><a class="url fn n" href="https://4sysops.com/members/edem-afenyo/" title="View Edem Afenyo's profile" rel="author"><img src="https://4sysops.com/wp-content/uploads/avatars/20743/1675256328-bpthumb.jpg" width="50" height="50" alt="Avatar" class="avatar avatar-50 wp-user-avatar wp-user-avatar-50 photo avatar-default"> <span class="author-name">Edem Afenyo</span></a></small> <small><a href="https://4sysops.com/archives/authd-cloud-based-oidc-authentication-for-ubuntu-linux/" rel="bookmark" class="post-time"><time class="entry-date" datetime="2024-10-11T11:36:40-07:00">Fri, Oct 11 2024</time><time class="modify-date hide hidden updated" datetime="2024-10-11T11:36:40-07:00">Fri, Oct 11 2024</time></a></small> <small class="meta-category"><a href="https://4sysops.com/tag/security/" rel="tag">security</a>, <a href="https://4sysops.com/tag/active-directory/" rel="tag">active directory</a>, <a href="https://4sysops.com/tag/authentication/" rel="tag">authentication</a>, <a href="https://4sysops.com/tag/linux/" rel="tag">linux</a></small> <small class="meta-comment-count"><a href="https://4sysops.com/archives/authd-cloud-based-oidc-authentication-for-ubuntu-linux/#comments">0 <i class="icon-chat-1 hover-tip" data-original-title="This article has 0 comments" data-toggle="tooltip" data-placement="top"></i></a></small> </span>
<hr>
<div class="entry-summary">
</div><!-- .entry-summary -->
</div><!--end post-info-->
</article>
</li>
<li id="post-1587352" class="post-item col-sm-4 post-1587352 post type-post status-publish format-standard has-post-thumbnail category-articles tag-windows-server-2025 tag-window-server tag-powershell tag-virtualization" style="width: 143px;">
<article>
<div class="post-image"><a href="https://4sysops.com/archives/build-a-windows-server-2025-s2d-cluster-lab-with-hyper-v-and-powershell/" class="element-wrap"><img width="480" height="270" src="https://4sysops.com/wp-content/uploads/2024/10/Exporting-the-VM-for-cloning-in-Hyper-V-Manager-480x270.png" class="attachment-kleo-post-gallery size-kleo-post-gallery wp-post-image" alt="Exporting the VM for cloning in Hyper-V Manager" decoding="async" loading="lazy"><span class="hover-element"><i>+</i></span></a></div><!--end post-image-->
<div class="entry-content">
<h4 class="post-title entry-title"><a href="https://4sysops.com/archives/build-a-windows-server-2025-s2d-cluster-lab-with-hyper-v-and-powershell/" onclick="gtag('event', 'Related', {'Rtitle': 'Build a Windows Server 2025 S2D cluster lab with Hyper-V and PowerShell','Rurl': 'https://4sysops.com/archives/build-a-windows-server-2025-s2d-cluster-lab-with-hyper-v-and-powershell/'});">Build a Windows Server 2025 S2D cluster lab with Hyper-V and PowerShell</a></h4>
<span class="post-meta hidden hide">
<small class="meta-author author vcard"><a class="url fn n" href="https://4sysops.com/members/wolfgang-sommergut/" title="View Wolfgang Sommergut's profile" rel="author"><img src="https://4sysops.com/wp-content/uploads/avatars/9/37a6fefa42222eaa308e1e280814446f-bpthumb.jpg" width="50" height="50" alt="Avatar" class="avatar avatar-50 wp-user-avatar wp-user-avatar-50 photo avatar-default"> <span class="author-name">Wolfgang Sommergut</span></a></small> <small><a href="https://4sysops.com/archives/build-a-windows-server-2025-s2d-cluster-lab-with-hyper-v-and-powershell/" rel="bookmark" class="post-time"><time class="entry-date" datetime="2024-10-10T09:20:52-07:00">Thu, Oct 10 2024</time><time class="modify-date hide hidden updated" datetime="2024-10-10T10:33:01-07:00">Thu, Oct 10 2024</time></a></small> <small class="meta-category"><a href="https://4sysops.com/tag/windows-server-2025/" rel="tag">windows server 2025</a>, <a href="https://4sysops.com/tag/window-server/" rel="tag">window server</a>, <a href="https://4sysops.com/tag/powershell/" rel="tag">powershell</a>, <a href="https://4sysops.com/tag/virtualization/" rel="tag">virtualization</a></small> <small class="meta-comment-count"><a href="https://4sysops.com/archives/build-a-windows-server-2025-s2d-cluster-lab-with-hyper-v-and-powershell/#comments">0 <i class="icon-chat-1 hover-tip" data-original-title="This article has 0 comments" data-toggle="tooltip" data-placement="top"></i></a></small> </span>
<hr>
<div class="entry-summary">
</div><!-- .entry-summary -->
</div><!--end post-info-->
</article>
</li>
<li id="post-1587313" class="post-item col-sm-4 post-1587313 post type-post status-publish format-standard has-post-thumbnail category-articles tag-azure tag-storage tag-cloud-computing tag-powershell" style="width: 143px;">
<article>
<div class="post-image"><a href="https://4sysops.com/archives/customer-managed-planned-failover-for-azure-storage-using-powershell/" class="element-wrap"><img width="480" height="270" src="https://4sysops.com/wp-content/uploads/2024/10/Planned-failover-progress-can-be-monitored-in-Azure-Portal-480x270.png" class="attachment-kleo-post-gallery size-kleo-post-gallery wp-post-image" alt="Planned failover progress can be monitored in Azure Portal" decoding="async" loading="lazy"><span class="hover-element"><i>+</i></span></a></div><!--end post-image-->
<div class="entry-content">
<h4 class="post-title entry-title"><a href="https://4sysops.com/archives/customer-managed-planned-failover-for-azure-storage-using-powershell/" onclick="gtag('event', 'Related', {'Rtitle': 'Customer Managed Planned Failover for Azure Storage using PowerShell','Rurl': 'https://4sysops.com/archives/customer-managed-planned-failover-for-azure-storage-using-powershell/'});">Customer Managed Planned Failover for Azure Storage using PowerShell</a></h4>
<span class="post-meta hidden hide">
<small class="meta-author author vcard"><a class="url fn n" href="https://4sysops.com/members/bakionur-okutucu/" title="View Baki Onur Okutucu's profile" rel="author"><img src="https://4sysops.com/wp-content/uploads/avatars/1956/58ad5492e9d5a-bpthumb.png" width="50" height="50" alt="Avatar" class="avatar avatar-50 wp-user-avatar wp-user-avatar-50 photo avatar-default"> <span class="author-name">Baki Onur Okutucu</span></a></small> <small><a href="https://4sysops.com/archives/customer-managed-planned-failover-for-azure-storage-using-powershell/" rel="bookmark" class="post-time"><time class="entry-date" datetime="2024-10-09T12:04:58-07:00">Wed, Oct 9 2024</time><time class="modify-date hide hidden updated" datetime="2024-10-09T12:07:45-07:00">Wed, Oct 9 2024</time></a></small> <small class="meta-category"><a href="https://4sysops.com/tag/azure/" rel="tag">azure</a>, <a href="https://4sysops.com/tag/storage/" rel="tag">storage</a>, <a href="https://4sysops.com/tag/cloud-computing/" rel="tag">cloud computing</a>, <a href="https://4sysops.com/tag/powershell/" rel="tag">powershell</a></small> <small class="meta-comment-count"><a href="https://4sysops.com/archives/customer-managed-planned-failover-for-azure-storage-using-powershell/#comments">0 <i class="icon-chat-1 hover-tip" data-original-title="This article has 0 comments" data-toggle="tooltip" data-placement="top"></i></a></small> </span>
<hr>
<div class="entry-summary">
</div><!-- .entry-summary -->
</div><!--end post-info-->
</article>
</li>
<li id="post-1587383" class="post-item col-sm-4 post-1587383 post type-post status-publish format-standard has-post-thumbnail category-articles tag-active-directory tag-group-policy" style="width: 143px;">
<article>
<div class="post-image"><a href="https://4sysops.com/archives/windows-11-24h2-group-policy-81-new-settings-for-smb-updates-printing-defender-and-more/" class="element-wrap"><img width="480" height="270" src="https://4sysops.com/wp-content/uploads/2024/10/The-Reference-Spreadsheet-allows-filtering-by-Windows-11-version,-but-the-data-is-inaccurate-480x270.png" class="attachment-kleo-post-gallery size-kleo-post-gallery wp-post-image" alt="The Reference Spreadsheet allows filtering by Windows 11 version, but the data is inaccurate" decoding="async" loading="lazy"><span class="hover-element"><i>+</i></span></a></div><!--end post-image-->
<div class="entry-content">
<h4 class="post-title entry-title"><a href="https://4sysops.com/archives/windows-11-24h2-group-policy-81-new-settings-for-smb-updates-printing-defender-and-more/" onclick="gtag('event', 'Related', {'Rtitle': 'Windows 11 24H2 Group Policy: 81 new settings for SMB, updates, printing, Defender, and more','Rurl': 'https://4sysops.com/archives/windows-11-24h2-group-policy-81-new-settings-for-smb-updates-printing-defender-and-more/'});">Windows 11 24H2 Group Policy: 81 new settings for SMB, updates, printing, Defender, and more</a></h4>
<span class="post-meta hidden hide">
<small class="meta-author author vcard"><a class="url fn n" href="https://4sysops.com/members/wolfgang-sommergut/" title="View Wolfgang Sommergut's profile" rel="author"><img src="https://4sysops.com/wp-content/uploads/avatars/9/37a6fefa42222eaa308e1e280814446f-bpthumb.jpg" width="50" height="50" alt="Avatar" class="avatar avatar-50 wp-user-avatar wp-user-avatar-50 photo avatar-default"> <span class="author-name">Wolfgang Sommergut</span></a></small> <small><a href="https://4sysops.com/archives/windows-11-24h2-group-policy-81-new-settings-for-smb-updates-printing-defender-and-more/" rel="bookmark" class="post-time"><time class="entry-date" datetime="2024-10-08T08:17:13-07:00">Tue, Oct 8 2024</time><time class="modify-date hide hidden updated" datetime="2024-10-09T02:45:45-07:00">Wed, Oct 9 2024</time></a></small> <small class="meta-category"><a href="https://4sysops.com/tag/active-directory/" rel="tag">active directory</a>, <a href="https://4sysops.com/tag/group-policy/" rel="tag">group policy</a></small> <small class="meta-comment-count"><a href="https://4sysops.com/archives/windows-11-24h2-group-policy-81-new-settings-for-smb-updates-printing-defender-and-more/#comments">0 <i class="icon-chat-1 hover-tip" data-original-title="This article has 0 comments" data-toggle="tooltip" data-placement="top"></i></a></small> </span>
<hr>
<div class="entry-summary">
</div><!-- .entry-summary -->
</div><!--end post-info-->
</article>
</li>
<li id="post-1586601" class="post-item col-sm-4 post-1586601 post type-post status-publish format-standard has-post-thumbnail category-exclude category-reviews category-vendors category-articles tag-microsoft-365 tag-cloud-computing tag-active-directory" style="width: 143px;">
<article>
<div class="post-image"><a href="https://4sysops.com/archives/manage-microsoft-365-from-active-directory-users-and-computers-aduc-with-easy365manager/" class="element-wrap"><img width="480" height="270" src="https://4sysops.com/wp-content/uploads/2024/09/Easy365Manager-integrates-into-Active-Directory-Users-and-Computers-(ADUC)-480x270.png" class="attachment-kleo-post-gallery size-kleo-post-gallery wp-post-image" alt="Easy365Manager integrates into Active Directory Users and Computers (ADUC)" decoding="async" loading="lazy"><span class="hover-element"><i>+</i></span></a></div><!--end post-image-->
<div class="entry-content">
<h4 class="post-title entry-title"><a href="https://4sysops.com/archives/manage-microsoft-365-from-active-directory-users-and-computers-aduc-with-easy365manager/" onclick="gtag('event', 'Related', {'Rtitle': 'Manage Microsoft 365 from Active Directory Users and Computers (ADUC) with Easy365Manager','Rurl': 'https://4sysops.com/archives/manage-microsoft-365-from-active-directory-users-and-computers-aduc-with-easy365manager/'});">Manage Microsoft 365 from Active Directory Users and Computers (ADUC) with Easy365Manager</a></h4>
<span class="post-meta hidden hide">
<small class="meta-author author vcard"><a class="url fn n" href="https://4sysops.com/members/brandon-lee/" title="View Brandon Lee's profile" rel="author"><img src="https://4sysops.com/wp-content/uploads/avatars/2235/596d2aacefa83-bpthumb.jpg" width="50" height="50" alt="Avatar" class="avatar avatar-50 wp-user-avatar wp-user-avatar-50 photo avatar-default"> <span class="author-name">Brandon Lee</span></a></small> <small><a href="https://4sysops.com/archives/manage-microsoft-365-from-active-directory-users-and-computers-aduc-with-easy365manager/" rel="bookmark" class="post-time"><time class="entry-date" datetime="2024-09-16T09:02:08-07:00">Mon, Sep 16 2024</time><time class="modify-date hide hidden updated" datetime="2024-09-16T10:30:11-07:00">Mon, Sep 16 2024</time></a></small> <small class="meta-category"><a href="https://4sysops.com/tag/microsoft-365/" rel="tag">microsoft 365</a>, <a href="https://4sysops.com/tag/cloud-computing/" rel="tag">cloud computing</a>, <a href="https://4sysops.com/tag/active-directory/" rel="tag">active directory</a></small> <small class="meta-comment-count"><a href="https://4sysops.com/archives/manage-microsoft-365-from-active-directory-users-and-computers-aduc-with-easy365manager/#comments">0 <i class="icon-chat-1 hover-tip" data-original-title="This article has 0 comments" data-toggle="tooltip" data-placement="top"></i></a></small> </span>
<hr>
<div class="entry-summary">
</div><!-- .entry-summary -->
</div><!--end post-info-->
</article>
</li>
<li id="post-1586344" class="post-item col-sm-4 post-1586344 post type-post status-publish format-standard has-post-thumbnail category-articles tag-security tag-powershell tag-encryption tag-bitlocker" style="width: 143px;">
<article>
<div class="post-image"><a href="https://4sysops.com/archives/recover-data-from-corrupted-bitlocker-drives-with-repair-bde-and-key-packages/" class="element-wrap"><img width="480" height="270" src="https://4sysops.com/wp-content/uploads/2024/09/Key-package-in-the-ADSI-Editor.-480x270.png" class="attachment-kleo-post-gallery size-kleo-post-gallery wp-post-image" alt="Key package in the ADSI-Editor." decoding="async" loading="lazy"><span class="hover-element"><i>+</i></span></a></div><!--end post-image-->
<div class="entry-content">
<h4 class="post-title entry-title"><a href="https://4sysops.com/archives/recover-data-from-corrupted-bitlocker-drives-with-repair-bde-and-key-packages/" onclick="gtag('event', 'Related', {'Rtitle': 'Recover data from corrupted BitLocker drives with repair-bde and key packages','Rurl': 'https://4sysops.com/archives/recover-data-from-corrupted-bitlocker-drives-with-repair-bde-and-key-packages/'});">Recover data from corrupted BitLocker drives with repair-bde and key packages</a></h4>
<span class="post-meta hidden hide">
<small class="meta-author author vcard"><a class="url fn n" href="https://4sysops.com/members/wolfgang-sommergut/" title="View Wolfgang Sommergut's profile" rel="author"><img src="https://4sysops.com/wp-content/uploads/avatars/9/37a6fefa42222eaa308e1e280814446f-bpthumb.jpg" width="50" height="50" alt="Avatar" class="avatar avatar-50 wp-user-avatar wp-user-avatar-50 photo avatar-default"> <span class="author-name">Wolfgang Sommergut</span></a></small> <small><a href="https://4sysops.com/archives/recover-data-from-corrupted-bitlocker-drives-with-repair-bde-and-key-packages/" rel="bookmark" class="post-time"><time class="entry-date" datetime="2024-09-06T09:14:50-07:00">Fri, Sep 6 2024</time><time class="modify-date hide hidden updated" datetime="2024-09-06T09:14:50-07:00">Fri, Sep 6 2024</time></a></small> <small class="meta-category"><a href="https://4sysops.com/tag/security/" rel="tag">security</a>, <a href="https://4sysops.com/tag/powershell/" rel="tag">powershell</a>, <a href="https://4sysops.com/tag/encryption/" rel="tag">encryption</a>, <a href="https://4sysops.com/tag/bitlocker/" rel="tag">bitlocker</a></small> <small class="meta-comment-count"><a href="https://4sysops.com/archives/recover-data-from-corrupted-bitlocker-drives-with-repair-bde-and-key-packages/#comments">0 <i class="icon-chat-1 hover-tip" data-original-title="This article has 0 comments" data-toggle="tooltip" data-placement="top"></i></a></small> </span>
<hr>
<div class="entry-summary">
</div><!-- .entry-summary -->
</div><!--end post-info-->
</article>
</li>
<li id="post-1586100" class="post-item col-sm-4 post-1586100 post type-post status-publish format-standard has-post-thumbnail category-articles tag-security tag-active-directory tag-powershell tag-password" style="width: 143px;">
<article>
<div class="post-image"><a href="https://4sysops.com/archives/determine-effective-password-policy-for-ad-users-with-powershell/" class="element-wrap"><img width="480" height="270" src="https://4sysops.com/wp-content/uploads/2024/08/Overview-of-fine-grained-password-policies-in-the-Active-Directory-Administrative-Center-480x270.png" class="attachment-kleo-post-gallery size-kleo-post-gallery wp-post-image" alt="Overview of fine grained password policies in the Active Directory Administrative Center" decoding="async" loading="lazy"><span class="hover-element"><i>+</i></span></a></div><!--end post-image-->
<div class="entry-content">
<h4 class="post-title entry-title"><a href="https://4sysops.com/archives/determine-effective-password-policy-for-ad-users-with-powershell/" onclick="gtag('event', 'Related', {'Rtitle': 'Determine effective password policy for AD users with PowerShell','Rurl': 'https://4sysops.com/archives/determine-effective-password-policy-for-ad-users-with-powershell/'});">Determine effective password policy for AD users with PowerShell</a></h4>
<span class="post-meta hidden hide">
<small class="meta-author author vcard"><a class="url fn n" href="https://4sysops.com/members/wolfgang-sommergut/" title="View Wolfgang Sommergut's profile" rel="author"><img src="https://4sysops.com/wp-content/uploads/avatars/9/37a6fefa42222eaa308e1e280814446f-bpthumb.jpg" width="50" height="50" alt="Avatar" class="avatar avatar-50 wp-user-avatar wp-user-avatar-50 photo avatar-default"> <span class="author-name">Wolfgang Sommergut</span></a></small> <small><a href="https://4sysops.com/archives/determine-effective-password-policy-for-ad-users-with-powershell/" rel="bookmark" class="post-time"><time class="entry-date" datetime="2024-09-04T08:22:51-07:00">Wed, Sep 4 2024</time><time class="modify-date hide hidden updated" datetime="2024-09-04T08:22:51-07:00">Wed, Sep 4 2024</time></a></small> <small class="meta-category"><a href="https://4sysops.com/tag/security/" rel="tag">security</a>, <a href="https://4sysops.com/tag/active-directory/" rel="tag">active directory</a>, <a href="https://4sysops.com/tag/powershell/" rel="tag">powershell</a>, <a href="https://4sysops.com/tag/password/" rel="tag">password</a></small> <small class="meta-comment-count"><a href="https://4sysops.com/archives/determine-effective-password-policy-for-ad-users-with-powershell/#comments">0 <i class="icon-chat-1 hover-tip" data-original-title="This article has 0 comments" data-toggle="tooltip" data-placement="top"></i></a></small> </span>
<hr>
<div class="entry-summary">
</div><!-- .entry-summary -->
</div><!--end post-info-->
</article>
</li>
<li id="post-1586238" class="post-item col-sm-4 post-1586238 post type-post status-publish format-standard has-post-thumbnail category-articles tag-powershell tag-commands" style="width: 143px;">
<article>
<div class="post-image"><a href="https://4sysops.com/archives/new-in-windows-terminal-restore-buffers-code-snippets-scratchpad-and-regex/" class="element-wrap"><img width="480" height="270" src="https://4sysops.com/wp-content/uploads/2024/09/Displaying-the-scratchpad-in-the-current-terminal-480x270.png" class="attachment-kleo-post-gallery size-kleo-post-gallery wp-post-image" alt="Displaying the scratchpad in the current terminal" decoding="async" loading="lazy"><span class="hover-element"><i>+</i></span></a></div><!--end post-image-->
<div class="entry-content">
<h4 class="post-title entry-title"><a href="https://4sysops.com/archives/new-in-windows-terminal-restore-buffers-code-snippets-scratchpad-and-regex/" onclick="gtag('event', 'Related', {'Rtitle': 'New in Windows Terminal: Restore buffers, code snippets, scratchpad and regex','Rurl': 'https://4sysops.com/archives/new-in-windows-terminal-restore-buffers-code-snippets-scratchpad-and-regex/'});">New in Windows Terminal: Restore buffers, code snippets, scratchpad and regex</a></h4>
<span class="post-meta hidden hide">
<small class="meta-author author vcard"><a class="url fn n" href="https://4sysops.com/members/wolfgang-sommergut/" title="View Wolfgang Sommergut's profile" rel="author"><img src="https://4sysops.com/wp-content/uploads/avatars/9/37a6fefa42222eaa308e1e280814446f-bpthumb.jpg" width="50" height="50" alt="Avatar" class="avatar avatar-50 wp-user-avatar wp-user-avatar-50 photo avatar-default"> <span class="author-name">Wolfgang Sommergut</span></a></small> <small><a href="https://4sysops.com/archives/new-in-windows-terminal-restore-buffers-code-snippets-scratchpad-and-regex/" rel="bookmark" class="post-time"><time class="entry-date" datetime="2024-09-02T08:18:37-07:00">Mon, Sep 2 2024</time><time class="modify-date hide hidden updated" datetime="2024-09-11T01:01:26-07:00">Wed, Sep 11 2024</time></a></small> <small class="meta-category"><a href="https://4sysops.com/tag/powershell/" rel="tag">powershell</a>, <a href="https://4sysops.com/tag/commands/" rel="tag">commands</a></small> <small class="meta-comment-count"><a href="https://4sysops.com/archives/new-in-windows-terminal-restore-buffers-code-snippets-scratchpad-and-regex/#comments">4 <i class="icon-chat-1 hover-tip" data-original-title="This article has 4 comments" data-toggle="tooltip" data-placement="top"></i></a></small> </span>
<hr>
<div class="entry-summary">
</div><!-- .entry-summary -->
</div><!--end post-info-->
</article>
</li>
<li id="post-1586073" class="post-item col-sm-4 post-1586073 post type-post status-publish format-standard has-post-thumbnail category-exclude category-reviews category-vendors category-articles tag-active-directory tag-monitoring" style="width: 143px;">
<article>
<div class="post-image"><a href="https://4sysops.com/archives/active-directory-auditing-with-manageengine-adaudit-plus/" class="element-wrap"><img width="480" height="270" src="https://4sysops.com/wp-content/uploads/2024/08/Attack-surface-Analyzer-for-Active-Directory-480x270.png" class="attachment-kleo-post-gallery size-kleo-post-gallery wp-post-image" alt="Attack surface Analyzer for Active Directory" decoding="async" loading="lazy"><span class="hover-element"><i>+</i></span></a></div><!--end post-image-->
<div class="entry-content">
<h4 class="post-title entry-title"><a href="https://4sysops.com/archives/active-directory-auditing-with-manageengine-adaudit-plus/" onclick="gtag('event', 'Related', {'Rtitle': 'Active Directory auditing with ManageEngine ADAudit Plus','Rurl': 'https://4sysops.com/archives/active-directory-auditing-with-manageengine-adaudit-plus/'});">Active Directory auditing with ManageEngine ADAudit Plus</a></h4>
<span class="post-meta hidden hide">
<small class="meta-author author vcard"><a class="url fn n" href="https://4sysops.com/members/brandon-lee/" title="View Brandon Lee's profile" rel="author"><img src="https://4sysops.com/wp-content/uploads/avatars/2235/596d2aacefa83-bpthumb.jpg" width="50" height="50" alt="Avatar" class="avatar avatar-50 wp-user-avatar wp-user-avatar-50 photo avatar-default"> <span class="author-name">Brandon Lee</span></a></small> <small><a href="https://4sysops.com/archives/active-directory-auditing-with-manageengine-adaudit-plus/" rel="bookmark" class="post-time"><time class="entry-date" datetime="2024-08-26T09:23:21-07:00">Mon, Aug 26 2024</time><time class="modify-date hide hidden updated" datetime="2024-08-26T10:44:49-07:00">Mon, Aug 26 2024</time></a></small> <small class="meta-category"><a href="https://4sysops.com/tag/active-directory/" rel="tag">active directory</a>, <a href="https://4sysops.com/tag/monitoring/" rel="tag">monitoring</a></small> <small class="meta-comment-count"><a href="https://4sysops.com/archives/active-directory-auditing-with-manageengine-adaudit-plus/#comments">0 <i class="icon-chat-1 hover-tip" data-original-title="This article has 0 comments" data-toggle="tooltip" data-placement="top"></i></a></small> </span>
<hr>
<div class="entry-summary">
</div><!-- .entry-summary -->
</div><!--end post-info-->
</article>
</li>
<li id="post-1585957" class="post-item col-sm-4 post-1585957 post type-post status-publish format-standard has-post-thumbnail category-articles tag-security tag-powershell tag-group-policy tag-password" style="width: 143px;">
<article>
<div class="post-image"><a href="https://4sysops.com/archives/send-users-email-notifications-about-expiring-active-directory-passwords-with-a-powershell-script/" class="element-wrap"><img width="480" height="270" src="https://4sysops.com/wp-content/uploads/2024/08/Group-Policy-setting-for-notifying-users-about-an-expiring-password-480x270.png" class="attachment-kleo-post-gallery size-kleo-post-gallery wp-post-image" alt="Group Policy setting for notifying users about an expiring password" decoding="async" loading="lazy"><span class="hover-element"><i>+</i></span></a></div><!--end post-image-->
<div class="entry-content">
<h4 class="post-title entry-title"><a href="https://4sysops.com/archives/send-users-email-notifications-about-expiring-active-directory-passwords-with-a-powershell-script/" onclick="gtag('event', 'Related', {'Rtitle': 'Send email notifications about expiring Active Directory passwords with a PowerShell script','Rurl': 'https://4sysops.com/archives/send-users-email-notifications-about-expiring-active-directory-passwords-with-a-powershell-script/'});">Send email notifications about expiring Active Directory passwords with a PowerShell script</a></h4>
<span class="post-meta hidden hide">
<small class="meta-author author vcard"><a class="url fn n" href="https://4sysops.com/members/wolfgang-sommergut/" title="View Wolfgang Sommergut's profile" rel="author"><img src="https://4sysops.com/wp-content/uploads/avatars/9/37a6fefa42222eaa308e1e280814446f-bpthumb.jpg" width="50" height="50" alt="Avatar" class="avatar avatar-50 wp-user-avatar wp-user-avatar-50 photo avatar-default"> <span class="author-name">Wolfgang Sommergut</span></a></small> <small><a href="https://4sysops.com/archives/send-users-email-notifications-about-expiring-active-directory-passwords-with-a-powershell-script/" rel="bookmark" class="post-time"><time class="entry-date" datetime="2024-08-21T08:06:57-07:00">Wed, Aug 21 2024</time><time class="modify-date hide hidden updated" datetime="2024-08-21T08:06:57-07:00">Wed, Aug 21 2024</time></a></small> <small class="meta-category"><a href="https://4sysops.com/tag/security/" rel="tag">security</a>, <a href="https://4sysops.com/tag/powershell/" rel="tag">powershell</a>, <a href="https://4sysops.com/tag/group-policy/" rel="tag">group policy</a>, <a href="https://4sysops.com/tag/password/" rel="tag">password</a></small> <small class="meta-comment-count"><a href="https://4sysops.com/archives/send-users-email-notifications-about-expiring-active-directory-passwords-with-a-powershell-script/#comments">1 <i class="icon-chat-1 hover-tip" data-original-title="This article has 1 comments" data-toggle="tooltip" data-placement="top"></i></a></small> </span>
<hr>
<div class="entry-summary">
</div><!-- .entry-summary -->
</div><!--end post-info-->
</article>
</li>
</ul></div>
</div>
<div class="carousel-arrow">
<a class="carousel-prev" href="#" style="display: inline;"><i class="icon-angle-left"></i></a>
<a class="carousel-next" href="#" style="display: inline;"><i class="icon-angle-right"></i></a>
</div>
<div class="kleo-carousel-post-pager carousel-pager"></div>
</div><!--end carousel-container-->
</div>
</div>
</section>
<nav class="pagination-sticky member-navigation" role="navigation">
<a href="https://4sysops.com/archives/how-to-install-azure-stack/" rel="prev"><span id="older-nav"><span class="outter-title"><span class="entry-title">How to install Azure Stack</span></span></span></a><a href="https://4sysops.com/archives/compare-windows-services-in-powershell-with-compare-object/" rel="next"><span id="newer-nav"><span class="outter-title"><span class="entry-title">Compare Windows services in PowerShell with Compare-Object</span></span></span></a> </nav><!-- .navigation -->
<!-- Begin Comments -->
<section class="container-wrap">
<div class="container">
<div id="comments" class="comments-area">
<div class="hr-title hr-long"><abbr>4 Comments</abbr></div>
<div id="comments-list">
<ol>
<li id="comment-293931" class="comment even thread-even depth-1 clearfix">
<div class="comment-wrap clearfix">
<div class="comment-avatar kleo-rounded">
<img src="https://4sysops.com/wp-content/uploads/avatars/1142/Maximilian-Lærum_avatar_1446811192-bpfull.jpg" width="96" height="96" alt="Avatar" class="avatar avatar-100wp-user-avatar wp-user-avatar-100 alignnone photo avatar-default"> </div>
<div class="comment-content">
<div class="comment-meta">
<span class="comment-author">Max</span> <span class="comment-date">9 years ago</span> </div>
<div class="comment-body">
<p>You can also easily display user account password info from Command Prompt with:<br>
net user usernamehere /domain | FIND /i “password” </p>
<div class="wpulike wpulike-default ">
<div class="wp_ulike_general_class wp_ulike_is_not_liked"><button type="button" aria-label="Like Button" data-ulike-id="293931" data-ulike-nonce="1bf6213f30" data-ulike-type="comment" data-ulike-template="wpulike-default" data-ulike-display-likers="1" data-ulike-likers-style="default" class="wp_ulike_btn wp_ulike_put_image wp_comment_btn_293931"></button><span class="count-box wp_ulike_counter_up" data-ulike-counter-value="+2">+2</span> </div>
<div class="wp_ulike_likers_wrapper wp_comment_likers_293931"></div>
<p></p></div>
</div>
<div class="comment-meta-actions">
<span class="comment-reply"><a rel="nofollow" class="comment-reply-link" href="https://4sysops.com/archives/obtaining-the-password-expiry-date-with-powershell/?replytocom=293931#respond" data-commentid="293931" data-postid="25874" data-belowelement="comment-293931" data-respondelement="respond" data-replyto="Reply to Max" aria-label="Reply to Max">Reply</a></span> </div>
</div>
</div>
</li><!-- #comment-## -->
<li id="comment-311143" class="comment odd alt thread-odd thread-alt depth-1 clearfix">
<div class="comment-wrap clearfix">
<div class="comment-avatar kleo-rounded">
<img src="https://secure.gravatar.com/avatar/6f610c9fa40f60af202704d5817f74d3?s=100&d=wavatar&r=g" width="96" height="96" alt="Avatar" class="avatar avatar-100wp-user-avatar wp-user-avatar-100 alignnone photo avatar-default"> </div>
<div class="comment-content">
<div class="comment-meta">
<span class="comment-author">Mike Hanson</span> <span class="comment-date">8 years ago</span> </div>
<div class="comment-body">
<p>The Column for Expiry date is blank both in your screen shot and when I run the same code.</p>
<p> </p>
<div class="wpulike wpulike-default ">
<div class="wp_ulike_general_class wp_ulike_is_not_liked"><button type="button" aria-label="Like Button" data-ulike-id="311143" data-ulike-nonce="8df2b54b68" data-ulike-type="comment" data-ulike-template="wpulike-default" data-ulike-display-likers="1" data-ulike-likers-style="default" class="wp_ulike_btn wp_ulike_put_image wp_comment_btn_311143"></button><span class="count-box wp_ulike_counter_up" data-ulike-counter-value="+1">+1</span> </div>
<div class="wp_ulike_likers_wrapper wp_comment_likers_311143"></div>
<p></p></div>
</div>
<div class="comment-meta-actions">
<span class="comment-reply"><a rel="nofollow" class="comment-reply-link" href="https://4sysops.com/archives/obtaining-the-password-expiry-date-with-powershell/?replytocom=311143#respond" data-commentid="311143" data-postid="25874" data-belowelement="comment-311143" data-respondelement="respond" data-replyto="Reply to Mike Hanson" aria-label="Reply to Mike Hanson">Reply</a></span> </div>
</div>
</div>
<ul class="children">
<li id="comment-311145" class="comment even depth-2 clearfix">
<div class="comment-wrap clearfix">
<div class="comment-avatar kleo-rounded">
<img src="https://secure.gravatar.com/avatar/4e5692a3a48ac064c23eac4a55fe2b0a?s=100&d=wavatar&r=g" width="96" height="96" alt="Avatar" class="avatar avatar-100wp-user-avatar wp-user-avatar-100 alignnone photo avatar-default"> </div>
<div class="comment-content">
<div class="comment-meta">
<span class="comment-author"><a href="http://www.windowspro.de" class="url" rel="ugc external nofollow">Wolfgang Sommergut</a></span> <span class="comment-date">8 years ago</span> </div>
<div class="comment-body">
<p>One reason for this result might be, that users don’t have to change their passwords. So their accounts simply have no password expiration date. You can check by uing this command:</p>
<p><span>Get-ADUser -Filter ‘PasswordNeverExpires -eq $TRUE’ -Properties PasswordNeverExpires</span> </p>
<div class="wpulike wpulike-default ">
<div class="wp_ulike_general_class wp_ulike_is_not_liked"><button type="button" aria-label="Like Button" data-ulike-id="311145" data-ulike-nonce="ed50a2e051" data-ulike-type="comment" data-ulike-template="wpulike-default" data-ulike-display-likers="1" data-ulike-likers-style="default" class="wp_ulike_btn wp_ulike_put_image wp_comment_btn_311145"></button><span class="count-box wp_ulike_counter_up" data-ulike-counter-value="0">0</span> </div>
<div class="wp_ulike_likers_wrapper wp_comment_likers_311145"></div>
<p></p></div>
</div>
<div class="comment-meta-actions">
<span class="comment-reply"><a rel="nofollow" class="comment-reply-link" href="https://4sysops.com/archives/obtaining-the-password-expiry-date-with-powershell/?replytocom=311145#respond" data-commentid="311145" data-postid="25874" data-belowelement="comment-311145" data-respondelement="respond" data-replyto="Reply to Wolfgang Sommergut" aria-label="Reply to Wolfgang Sommergut">Reply</a></span> </div>
</div>
</div>
</li><!-- #comment-## -->
</ul><!-- .children -->
</li><!-- #comment-## -->
<li id="comment-311157" class="comment odd alt thread-even depth-1 clearfix">
<div class="comment-wrap clearfix">
<div class="comment-avatar kleo-rounded">
<img src="https://secure.gravatar.com/avatar/6f610c9fa40f60af202704d5817f74d3?s=100&d=wavatar&r=g" width="96" height="96" alt="Avatar" class="avatar avatar-100wp-user-avatar wp-user-avatar-100 alignnone photo avatar-default"> </div>
<div class="comment-content">
<div class="comment-meta">
<span class="comment-author">Mike Hanson</span> <span class="comment-date">8 years ago</span> </div>
<div class="comment-body">
<p>Ok, my issue was “Password Does Not Expire” on the account I was testing with. When I tried it with a different account after verifying it’s password did expire it gave me “Sunday, December 31, 1600 7:00:00PM”. The output of Net user for the same user gives me “10/24/2016 7:23:11 am” </p>
<div class="wpulike wpulike-default ">
<div class="wp_ulike_general_class wp_ulike_is_not_liked"><button type="button" aria-label="Like Button" data-ulike-id="311157" data-ulike-nonce="db885c645f" data-ulike-type="comment" data-ulike-template="wpulike-default" data-ulike-display-likers="1" data-ulike-likers-style="default" class="wp_ulike_btn wp_ulike_put_image wp_comment_btn_311157"></button><span class="count-box wp_ulike_counter_up" data-ulike-counter-value="+3">+3</span> </div>
<div class="wp_ulike_likers_wrapper wp_comment_likers_311157"></div>
<p></p></div>
</div>
<div class="comment-meta-actions">
<span class="comment-reply"><a rel="nofollow" class="comment-reply-link" href="https://4sysops.com/archives/obtaining-the-password-expiry-date-with-powershell/?replytocom=311157#respond" data-commentid="311157" data-postid="25874" data-belowelement="comment-311157" data-respondelement="respond" data-replyto="Reply to Mike Hanson" aria-label="Reply to Mike Hanson">Reply</a></span> </div>
</div>
</div>
</li><!-- #comment-## -->
</ol>
<div class="activity-timeline"></div>
</div>
<div id="respond-wrap">
<div id="respond" class="comment-respond">
<h3 id="reply-title" class="comment-reply-title">Leave a reply <small><a rel="nofollow" id="cancel-comment-reply-link" href="/archives/obtaining-the-password-expiry-date-with-powershell/#respond" style="display:none;">Click here to cancel the reply</a></small></h3><form action="https://4sysops.com/wp-comments-post.php" method="post" id="commentform" class="comment-form" novalidate=""><p style="color: red" class="commentnotice"><b>Please enclose code in pre tags: <pre></pre></b></p><p class="comment-notes"><span id="email-notes">Your email address will not be published.</span> <span class="required-field-message">Required fields are marked <span class="required">*</span></span></p><p class="comment-form-comment"><label for="comment">Comment</label><textarea class="form-control" id="comment" name="comment" cols="45" rows="8" aria-required="true"></textarea></p><div class="row"><p class="comment-form-author col-sm-4"><label for="author">Name</label> <span class="required">*</span><input id="author" name="author" type="text" class="form-control" value="" size="30" aria-required="true"></p>
<p class="comment-form-email col-sm-4"><label for="email">Email</label><span class="required">*</span><input id="email" name="email" type="email" class="form-control" value="" size="30" aria-required="true"></p>
<p class="comment-form-url col-sm-4"><label for="url">Website</label><input id="url" name="url" type="text" class="form-control" value="" size="30"></p></div>
<p class="comment-form-subscriptions"><label for="subscribe-reloaded"><input style="width:30px" type="checkbox" name="subscribe-reloaded" id="subscribe-reloaded" value="yes" checked="checked"> Notify me of followup comments via e-mail. You can also <a href="https://4sysops.com/comment-subscriptions/?srp=25874&srk=23be86b918da6ce3bc779f8fe245260a&sra=s&srsrc=f">subscribe</a> without commenting.</label></p><p class="form-submit"><input name="submit" type="submit" id="submit" class="submit" value="Post comment"> <input type="hidden" name="comment_post_ID" value="25874" id="comment_post_ID">
<input type="hidden" name="comment_parent" id="comment_parent" value="0">
</p><p style="display: none;"><input type="hidden" id="akismet_comment_nonce" name="akismet_comment_nonce" value="6ae9d0ea86"></p><p class="subscribenewsletter">
<label><input style="width:auto;" id="newsletter123" type="checkbox" name="newsletter" value="1"> Receive new post notifications</label>
</p><p style="display: none !important;" class="akismet-fields-container" data-prefix="ak_"><label>Δ<textarea name="ak_hp_textarea" cols="45" rows="8" maxlength="100"></textarea></label><input type="hidden" id="ak_js_1" name="ak_js" value="1733239787492"><script>document.getElementById( "ak_js_1" ).setAttribute( "value", ( new Date() ).getTime() );</script></p></form> </div><!-- #respond -->
</div>
</div><!-- #comments -->
</div>
</section>
<!-- End Comments -->
</div><!--end wrap-content-->
</div><!--end main-page-template-->
<div class="sidebar sidebar-main col-sm-2 col-sm-pull-8 sidebar-3lr">
<div class="inner-content widgets-container">
<div style="position: static; margin-bottom: 30px; transition: all 0s ease 0s; transform: none; margin-top: 0px; padding: 5px; width: auto; top: auto; display: none; height: 0px;"></div><div id="custom_html-11" class="widget_text widget 5ddfed3d0746748d8c4add3547a80ac5 FixedWidget__fixed_widget"><div class="textwidget custom-html-widget"><iframe src="/img/NewsletterSidebar170.html" height="120" width="170" scrolling="no"></iframe></div></div><div style="position: static; margin-bottom: 30px; transition: all 0s ease 0s; transform: none; margin-top: 0px; padding: 5px; width: auto; top: auto; display: none; height: 0px;"></div><div id="custom_html-18" class="widget_text widget 5ddfed3d0746748d8c4add3547a80ac5 FixedWidget__fixed_widget"><div class="textwidget custom-html-widget"><iframe id="iframe" src="https://4sysops.com/img/PowerShellBook170.html" style="width: 170px; height: 430px; border: 0; padding: 0; margin:0; overflow:hidden;" scrolling="no">
<style>
body {
margin-top:0px;
width: 100%;
}
</style>
</iframe></div></div> </div><!--end inner-content-->
</div><!--end sidebar-->
<div class="sidebar sidebar-extra col-sm-2 sidebar-3lr"><div class="inner-content"><div style="position: static; margin-bottom: 30px; transition: all 0s ease 0s; transform: none; margin-top: 0px; padding: 5px; width: auto; top: auto; display: none; height: 0px;"></div><div id="custom_html-9" class="widget_text widget 5ddfed3d0746748d8c4add3547a80ac5 FixedWidget__fixed_widget"><div class="textwidget custom-html-widget"><div style="padding-left: 15px">
<p><a style="margin-right: 45px;" href="https://twitter.com/4sysops/" target="_blank" rel="noopener"><img style="width: 32px; height: 32px;" src="https://4sysops.com/img/X.png" alt="Twitter"></a>
<a style="margin-right: 0px;" href="https://www.facebook.com/4sysops" target="_blank" rel="noopener"><img style="width: 32px; height: 32px;" src="https://4sysops.com/img/facebook-small.png" alt="Facebook"></a></p>
<p style="margin-top: 23px"><a style="margin-right: 45px;" href="https://www.linkedin.com/company/4sysops/" target="_blank" rel="noopener"><img style="width: 32px; height: 32px;" src="https://4sysops.com/img/linkedin.png" alt="Linkedin"></a>
<a style="margin-right: 0px;" href="https://4sysops.com/feed/" target="_blank" rel="noopener"> <img style="width: 32px; height: 32px;" src="https://4sysops.com/img/rss-small.png" alt="RSS"></a></p></div></div></div><div style="position: static; margin-bottom: 30px; transition: all 0s ease 0s; transform: none; margin-top: 0px; padding: 5px; width: auto; top: auto; display: none; height: 0px;"></div><div id="custom_html-3" class="widget_text widget 5ddfed3d0746748d8c4add3547a80ac5 FixedWidget__fixed_widget"><div class="textwidget custom-html-widget"><iframe src="https://4sysops.com/img/WindowsServer2022Book170.html" style="width: 170px; height: 430px; border: 0; padding: 0; margin:0; overflow:hidden;" scrolling="no">
<style>
body {
margin-top:0px;
width: 100%;
}
</style>
</iframe></div></div></div></div> <!--end sidebar columns--> </div><!--end .row--> </div><!--end .container-->
</section>
<!--END MAIN SECTION-->
</div><!-- #main -->
<div id="footer" class="footer-color border-top FixedWidget__stop_widget">
<div class="container">
<div class="template-page tpl-no">
<div class="wrap-content">
<div class="row">
<div class="col-sm-3">
<div id="footer-sidebar-1" class="footer-sidebar widget-area" role="complementary">
</div>
</div>
<div class="col-sm-3">
<div id="footer-sidebar-2" class="footer-sidebar widget-area" role="complementary">
<div id="custom_html-10" class="widget_text widget 5ddfed3d0746748d8c4add3547a80ac5"><h4 class="widget-title">Subscribe to Newsletter</h4><div class="textwidget custom-html-widget"><iframe src="https://4sysops.com/img/NewsletterFooter.html" scrolling="no"></iframe></div></div> </div>
</div>
<div class="col-sm-3">
<div id="footer-sidebar-3" class="footer-sidebar widget-area" role="complementary">
<div id="text-32" class="widget widget_text"><h4 class="widget-title">Follow 4sysops</h4> <div class="textwidget"><p><a style="margin-right: 15px;" href="https://twitter.com/4sysops/" target="_blank" rel="noopener"><img decoding="async" style="width: 32px; height: 32px;" src="https://4sysops.com/img/X.png" alt="Twitter"></a> <a style="margin-right: 15px;" href="https://www.facebook.com/4sysops" target="_blank" rel="noopener"><img decoding="async" style="width: 32px; height: 32px;" src="https://4sysops.com/img/facebook-small.png" alt="Facebook"></a> <a style="margin-right: 15px;" href="https://www.linkedin.com/company/4sysops/" target="_blank" rel="noopener"><img decoding="async" style="width: 32px; height: 32px;" src="https://4sysops.com/img/linkedin.png" alt="Linkedin"></a> <a href="https://4sysops.com/feed/" target="_blank" rel="noopener"> <img decoding="async" style="width: 32px; height: 32px;" src="https://4sysops.com/img/rss-small.png" alt="RSS"></a></p>
</div>
</div>
</div>
</div>
<div class="col-sm-3">
<div id="footer-sidebar-4" class="footer-sidebar widget-area" role="complementary">
</div>
</div>
</div>
</div>
</div>
</div>
</div><!-- #footer -->
<a class="kleo-go-top" href="#"><i class="icon-up-open-big"></i></a>
<!-- SOCKET SECTION
================================================ -->
<div id="socket" class="socket-color">
<div class="container">
<div class="template-page tpl-no col-xs-12 col-sm-12">
<div class="wrap-content">
<div class="row">
<div class="col-sm-12">
<div class="gap-10"></div>
</div><!--end widget-->
<div class="col-sm-12">
<div style="text-align: center;">© 4sysops 2006 - 2024</div> </div>
<div class="col-sm-12">
<div class="gap-10"></div>
</div><!--end widget-->
</div><!--end row-->
</div><!--end wrap-content-->
</div><!--end template-page-->
</div><!--end container-->
</div><!--end footer--><div class="kleo-quick-contact-wrapper"><a class="kleo-quick-contact-link" href="#"><i class="icon-mail-alt"></i></a><div id="kleo-quick-contact"><h4 class="kleo-qc-title">CONTACT US</h4><p>Please ask IT administration questions in the <a href="https://4sysops.com/forums/">forums</a>. Any other messages are welcome.</p><form class="kleo-contact-form" action="#" method="post" novalidate=""><input type="text" placeholder="Your Name" required="" id="contact_name" name="contact_name" class="form-control" value="" tabindex="276"><input type="email" required="" placeholder="Your Email" id="contact_email" name="contact_email" class="form-control" value="" tabindex="277"><textarea placeholder="Type your message..." required="" id="contact_content" name="contact_content" class="form-control" tabindex="278"></textarea><input type="hidden" name="action" value="kleo_sendmail"><button tabindex="279" class="btn btn-default pull-right" type="submit">Send</button><div class="kleo-contact-loading">Sending <i class="icon-spinner icon-spin icon-large"></i></div><div class="kleo-contact-success"> </div></form><div class="bottom-arrow"></div></div></div><!--end kleo-quick-contact-wrapper-->
</div><!-- #page -->
<!-- Analytics -->
<script type="text/javascript"><!--
var seriesdropdown = document.getElementById("orgseries_dropdown");
if (seriesdropdown) {
function onSeriesChange() {
if ( seriesdropdown.options[seriesdropdown.selectedIndex].value != ( 0 || -1 ) ) {
location.href = "https://4sysops.com/series/"+seriesdropdown.options[seriesdropdown.selectedIndex].value;
}
}
seriesdropdown.onchange = onSeriesChange;
}
--></script>
<!-- Freesoul Deactivate Plugins has disabled 25 plugins on this page. -->
<!-- Matomo --><script type="text/javascript">
var _paq = window._paq = window._paq || [];
_paq.push(['trackPageView']);_paq.push(['enableLinkTracking']);_paq.push(['alwaysUseSendBeacon']);_paq.push(['setTrackerUrl', "\/\/4sysops.com\/js\/rai.php"]);_paq.push(['setSiteId', '1']);var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
g.type='text/javascript'; g.async=true; g.src="\/\/4sysops.com\/js\/uni.js"; s.parentNode.insertBefore(g,s);
_paq.push(["setRequestMethod", "POST"]);
</script>
<!-- End Matomo Code --><a style="color:white" href="https://4sysops.com/windowsupdatepreventer-for-windows">WindowsUpdatePreventer</a><script async="" src="https://www.googletagmanager.com/gtag/js"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-R3V0W8T6JX');
</script>
<script>
//$( document ).ready(function() {
var ref = document.referrer;
if(ref.includes('google') && !ref.includes('android') ) {
var sengine = 'google';
var search = '1';
var google = 1;
var bing = 0;
} else if (ref.indexOf('bing') !== -1 ) {
var sengine = 'bing';
var search = '1';
var bing = 1;
var google = 0;
} else {
var sengine = 'NA';
var search = '0';
var bing = 0;
var google = 0;
}
gtag ('event', 'Page', {
'Author': 'Wolfgang Sommergut',
'PDate': '2016-02-23',
'SEngine': sengine,
'Search': search,
'Google': google,
'Bing': bing,
'Ref': ref,
'Bonus': '0',
'Title': 'Obtaining the password expiry date with PowerShell',
'Recent30': '0',
'Recent90': '0',
'Recent180': '0',
'Type': 'post',
'PostCount': '359',
'MonthCount': 4,
'URL': 'https://4sysops.com/archives/obtaining-the-password-expiry-date-with-powershell/',
'Exclude': '0',
'Vendors': '0',
'send_to': 'G-R3V0W8T6JX'
});
</script><script type="application/ld+json" id="slim-seo-schema">{"@context":"https://schema.org","@graph":[{"@type":"WebSite","@id":"https://4sysops.com/#website","url":"https://4sysops.com/","name":"4sysops","potentialAction":{"@id":"https://4sysops.com/#searchaction"},"publisher":{"@id":"https://4sysops.com/#organization"}},{"@type":"SearchAction","@id":"https://4sysops.com/#searchaction","target":"https://4sysops.com/?s={search_term_string}","query-input":"required name=search_term_string"},{"@type":"BreadcrumbList","name":"Breadcrumbs","@id":"https://4sysops.com/archives/obtaining-the-password-expiry-date-with-powershell/#breadcrumblist","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://4sysops.com/"},{"@type":"ListItem","position":2,"name":"Blog","item":"https://4sysops.com/archives/"},{"@type":"ListItem","position":3,"name":"Articles","item":"https://4sysops.com/archives/category/articles/"}]},{"@type":"WebPage","@id":"https://4sysops.com/archives/obtaining-the-password-expiry-date-with-powershell/#webpage","url":"https://4sysops.com/archives/obtaining-the-password-expiry-date-with-powershell/","inLanguage":"en_US","name":"Obtaining the password expiry date with PowerShell – 4sysops","description":"When it comes to managing user accounts, the password expiry date and the time of the last password change are interesting information. You can retrieve both at","datePublished":"2016-02-23T17:00:06+00:00","dateModified":"2023-07-28T15:59:00+00:00","isPartOf":{"@id":"https://4sysops.com/#website"},"breadcrumb":{"@id":"https://4sysops.com/archives/obtaining-the-password-expiry-date-with-powershell/#breadcrumblist"},"primaryImageOfPage":{"@id":"https://4sysops.com/archives/obtaining-the-password-expiry-date-with-powershell/#thumbnail"},"image":{"@id":"https://4sysops.com/archives/obtaining-the-password-expiry-date-with-powershell/#thumbnail"}},{"@type":"Organization","@id":"https://4sysops.com/#organization","url":"https://4sysops.com/","name":"4sysops"},{"@type":"ImageObject","@id":"https://4sysops.com/archives/obtaining-the-password-expiry-date-with-powershell/#thumbnail","url":"https://4sysops.com/wp-content/uploads/2016/02/List-of-user-names-with-their-expiry-dates.png","width":1024,"height":400},{"@type":"Article","@id":"https://4sysops.com/archives/obtaining-the-password-expiry-date-with-powershell/#article","url":"https://4sysops.com/archives/obtaining-the-password-expiry-date-with-powershell/","headline":"Obtaining the password expiry date with PowerShell","datePublished":"2016-02-23T17:00:06+00:00","dateModified":"2023-07-28T15:59:00+00:00","commentCount":4,"wordCount":529,"keywords":["password","powershell","active directory"],"articleSection":["Articles"],"isPartOf":{"@id":"https://4sysops.com/archives/obtaining-the-password-expiry-date-with-powershell/#webpage"},"mainEntityOfPage":{"@id":"https://4sysops.com/archives/obtaining-the-password-expiry-date-with-powershell/#webpage"},"image":{"@id":"https://4sysops.com/archives/obtaining-the-password-expiry-date-with-powershell/#thumbnail"},"publisher":{"@id":"https://4sysops.com/#organization"},"author":{"@id":"https://4sysops.com/#/schema/person/300143eae84532ccc4f7a368cab908a4"}},{"@type":"Person","@id":"https://4sysops.com/#/schema/person/300143eae84532ccc4f7a368cab908a4","name":"Wolfgang Sommergut","description":"Wolfgang Sommergut has over 20 years of experience in IT journalism. He has also worked as a system administrator and as a tech consultant. Today he runs the German publication <a href=\"http://www.windowspro.de\">WindowsPro.de</a>.","givenName":"Wolfgang","familyName":"Sommergut","image":"https://4sysops.com/wp-content/uploads/avatars/9/37a6fefa42222eaa308e1e280814446f-bpfull.jpg"}]}</script><div class="mwai-chatbot-container"><div class="mwai-chatbot mwai-chatgpt-theme mwai-window mwai-bubble mwai-bottom-left mwai-transition mwai-transition-visible" id="mwai-chatbot-popbot"><div class="mwai-trigger mwai-open-button"><div class="mwai-icon-container"><img class="mwai-icon" width="64" height="64" alt="AI Chatbot Avatar" src="https://4sysops.com/wp-content/uploads/2024/11/4ai.png"></div></div><div class="mwai-header"><div class="mwai-buttons"><div class="mwai-resize-button"></div><div class="mwai-close-button"></div></div></div><div class="mwai-content"><div class="mwai-conversation"><div class="mwai-reply mwai-ai mwai-rendered"><span class="mwai-name"><div class="mwai-avatar"><img width="32" height="32" src="https://4sysops.com/wp-content/themes/kleo-child/img/4.png" alt="AI Avatar"></div></span><div><span class="mwai-text"><span>Hi! I am 4sysops AI, the best model for IT. <br><a href="https://4sysops.com/join/" target="_self" rel="noopener noreferrer">Members</a> get free access to an augmented ChatGPT-4o trained with the latest IT content. <a href="https://4sysops.com/join/" target="_self" rel="noopener noreferrer">Register now!</a><br> Powered by Perplexity.</span></span><div class="mwai-reply-actions mwai-hidden"><div class="mwai-copy-button"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M7 5a3 3 0 0 1 3-3h9a3 3 0 0 1 3 3v9a3 3 0 0 1-3 3h-2v2a3 3 0 0 1-3 3H5a3 3 0 0 1-3-3v-9a3 3 0 0 1 3-3h2zm2 2h5a3 3 0 0 1 3 3v5h2a1 1 0 0 0 1-1V5a1 1 0 0 0-1-1h-9a1 1 0 0 0-1 1zM5 9a1 1 0 0 0-1 1v9a1 1 0 0 0 1 1h9a1 1 0 0 0 1-1v-9a1 1 0 0 0-1-1z"></path></svg></div></div></div></div></div><div class="mwai-input"><div class="mwai-input-text"><textarea placeholder="Ask your IT question..." maxlength="512" style="height: 38px !important;"></textarea><div active="false" class="mwai-microphone"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-mic"><path d="M12 2a3 3 0 0 0-3 3v7a3 3 0 0 0 6 0V5a3 3 0 0 0-3-3Z"></path><path d="M19 10v2a7 7 0 0 1-14 0v-2"></path><line x1="12" x2="12" y1="19" y2="22"></line></svg></div></div><button class="mwai-input-submit "><span>Send</span></button></div></div></div></div><!-- Modal Login form -->
<div id="kleo-login-modal" class="kleo-form-modal main-color mfp-hide">
<div class="row">
<div class="col-sm-12 text-center">
<div class="kleo-pop-title-wrap main-color">
<h3 class="kleo-pop-title">Log in with your credentials</h3>
<p>
<em>or</em>
<a href="https://4sysops.com/join/" class="new-account">
Create an account </a>
</p>
</div>
<form action="https://4sysops.com/wp-login.php" name="login_form" method="post" class="kleo-form-signin sq-login-form">
<input type="hidden" id="sq-login-security" name="sq-login-security" value="669dff17bc"><input type="hidden" name="_wp_http_referer" value="/archives/obtaining-the-password-expiry-date-with-powershell/"> <input type="text" required="" name="log" class="form-control sq-username" value="" placeholder="Username">
<input type="password" required="" spellcheck="false" autocomplete="off" value="" name="pwd" class="sq-password form-control" placeholder="Password">
<div id="kleo-login-result"></div>
<button class="btn btn-lg btn-default btn-block" type="submit">Sign in</button>
<label class="checkbox pull-left">
<input class="sq-rememberme" name="rememberme" type="checkbox" value="forever"> Remember me </label>
<a href="#kleo-lostpass-modal" class="kleo-show-lostpass kleo-other-action pull-right">Lost your password?</a>
<span class="clearfix"></span>
</form>
</div>
</div>
</div><!-- END Modal Login form -->
<!-- Modal Lost Password form -->
<div id="kleo-lostpass-modal" class="kleo-form-modal main-color mfp-hide">
<div class="row">
<div class="col-sm-12 text-center">
<div class="kleo-pop-title-wrap alternate-color">
<h3 class="kleo-pop-title">Forgot your details?</h3>
</div>
<form name="forgot_form" action="" method="post" class="sq-forgot-form kleo-form-signin">
<input type="hidden" id="security-pass" name="security-pass" value="669dff17bc"><input type="hidden" name="_wp_http_referer" value="/archives/obtaining-the-password-expiry-date-with-powershell/"> <input type="text" required="" name="user_login" class="sq-forgot-email form-control" placeholder="Username or Email">
<div id="kleo-lost-result"></div>
<button class="btn btn-lg btn-default btn-block" type="submit">Reset Password</button>
<a href="#kleo-login-modal" class="kleo-show-login kleo-other-action pull-right">I remember my details</a>
<span class="clearfix"></span>
</form>
</div>
</div>
</div><!-- END Modal Lost Password form -->
<!-- Modal Register form -->
<div id="kleo-register-modal" class="kleo-form-modal main-color mfp-hide">
<div class="row">
<div class="col-md-12 text-center">
<div class="kleo-pop-title-wrap main-color">
<h3 class="kleo-pop-title">Create Account</h3>
</div>
<form id="register_form" class="kleo-form-register" action="https://4sysops.com/join/" name="signup_form" method="post">
<div class="row">
<div class="col-sm-6">
<input type="text" id="reg-username" name="signup_username" class="form-control" required="" placeholder="Username">
</div>
<div class="col-sm-6">
<input type="text" id="full-name" name="field_1" class="form-control" required="" placeholder="Your full name">
</div>
<div class="clear"></div>
<div class="col-sm-12">
<input type="text" id="reg-email" name="signup_email" class="form-control" required="" placeholder="Your email">
</div>
<div class="clear"></div>
<div class="col-sm-6">
<input type="password" id="reg-password" name="signup_password" class="form-control" required="" placeholder="Desired password">
</div>
<div class="col-sm-6">
<input type="password" id="confirm_password" name="signup_password_confirm" class="form-control" required="" placeholder="Confirm password">
</div>
<input type="hidden" name="signup_profile_field_ids" id="signup_profile_field_ids" value="1">
<input type="hidden" id="_wpnonce" name="_wpnonce" value="589a369d8e"><input type="hidden" name="_wp_http_referer" value="/archives/obtaining-the-password-expiry-date-with-powershell/"> </div>
<button class="btn btn-lg btn-default btn-block" name="signup_submit" type="submit">Register</button>
<span class="clearfix"></span>
</form>
</div>
</div>
</div><!-- END Modal Register form -->
<link rel="stylesheet" id="rtoc_style-css" href="https://4sysops.com/wp-content/plugins/rich-table-of-content/css/rtoc_style.css" type="text/css" media="all">
<link rel="stylesheet" id="wp-ulike-css" href="https://4sysops.com/wp-content/plugins/wp-ulike/assets/css/wp-ulike.min.css" type="text/css" media="all">
<link rel="stylesheet" id="mediaelement-css" href="https://4sysops.com/wp-includes/js/mediaelement/mediaelementplayer-legacy.min.css" type="text/css" media="1">
<link rel="stylesheet" id="stcr-font-awesome-css" href="https://4sysops.com/wp-content/plugins/subscribe-to-comments-reloaded/includes/css/font-awesome.min.css" type="text/css" media="1">
<script type="text/javascript" id="rtoc_js-js-extra">
/* <![CDATA[ */
var rtocScrollAnimation = {"rtocScrollAnimation":"on"};
var rtocBackButton = {"rtocBackButton":"on"};
var rtocBackDisplayPC = {"rtocBackDisplayPC":"1"};
var rtocOpenText = {"rtocOpenText":"OPEN"};
var rtocCloseText = {"rtocCloseText":"CLOSE"};
/* ]]> */
</script>
<script type="text/javascript" src="https://4sysops.com/wp-content/plugins/rich-table-of-content/js/rtoc_common.js" id="rtoc_js-js"></script>
<script type="text/javascript" id="rtoc_js_return-js-extra">
/* <![CDATA[ */
var rtocButtonPosition = {"rtocButtonPosition":"left"};
var rtocVerticalPosition = {"rtocVerticalPosition":"1"};
var rtocBackText = {"rtocBackText":"^"};
/* ]]> */
</script>
<script type="text/javascript" src="https://4sysops.com/wp-content/plugins/rich-table-of-content/js/rtoc_return.js" id="rtoc_js_return-js"></script>
<script type="text/javascript" src="https://4sysops.com/wp-content/plugins/rich-table-of-content/js/rtoc_scroll.js" id="rtoc_js_scroll-js"></script>
<script type="text/javascript" src="https://4sysops.com/wp-content/plugins/rich-table-of-content/js/rtoc_highlight.js" id="rtoc_js_highlight-js"></script>
<script type="text/javascript" id="wp-polls-js-extra">
/* <![CDATA[ */
var pollsL10n = {"ajax_url":"https:\/\/4sysops.com\/wp-admin\/admin-ajax.php","text_wait":"Your last request is still being processed. Please wait a while ...","text_valid":"Please choose a valid poll answer.","text_multiple":"Maximum number of choices allowed: ","show_loading":"0","show_fading":"1"};
/* ]]> */
</script>
<script type="text/javascript" src="https://4sysops.com/wp-content/plugins/wp-polls/polls-js.js" id="wp-polls-js"></script>
<script type="text/javascript" id="wp-postviews-cache-js-extra">
/* <![CDATA[ */
var viewsCacheL10n = {"admin_ajax_url":"https:\/\/4sysops.com\/wp-admin\/admin-ajax.php","nonce":"7e771089fe","post_id":"25874"};
/* ]]> */
</script>
<script type="text/javascript" src="https://4sysops.com/wp-content/plugins/wp-postviews/postviews-cache.js" id="wp-postviews-cache-js"></script>
<script type="text/javascript" id="wp_ulike-js-extra">
/* <![CDATA[ */
var wp_ulike_params = {"ajax_url":"https:\/\/4sysops.com\/wp-admin\/admin-ajax.php","notifications":"1"};
/* ]]> */
</script>
<script type="text/javascript" src="https://4sysops.com/wp-content/plugins/wp-ulike/assets/js/wp-ulike.min.js" id="wp_ulike-js"></script>
<script type="text/javascript" src="https://4sysops.com/wp-content/themes/kleo/assets/js/combined.min.js" id="kleo-combined-js"></script>
<script type="text/javascript" id="mediaelement-core-js-before">
/* <![CDATA[ */
var mejsL10n = {"language":"en","strings":{"mejs.download-file":"Download File","mejs.install-flash":"You are using a browser that does not have Flash player enabled or installed. Please turn on your Flash player plugin or download the latest version from https:\/\/get.adobe.com\/flashplayer\/","mejs.fullscreen":"Fullscreen","mejs.play":"Play","mejs.pause":"Pause","mejs.time-slider":"Time Slider","mejs.time-help-text":"Use Left\/Right Arrow keys to advance one second, Up\/Down arrows to advance ten seconds.","mejs.live-broadcast":"Live Broadcast","mejs.volume-help-text":"Use Up\/Down Arrow keys to increase or decrease volume.","mejs.unmute":"Unmute","mejs.mute":"Mute","mejs.volume-slider":"Volume Slider","mejs.video-player":"Video Player","mejs.audio-player":"Audio Player","mejs.captions-subtitles":"Captions\/Subtitles","mejs.captions-chapters":"Chapters","mejs.none":"None","mejs.afrikaans":"Afrikaans","mejs.albanian":"Albanian","mejs.arabic":"Arabic","mejs.belarusian":"Belarusian","mejs.bulgarian":"Bulgarian","mejs.catalan":"Catalan","mejs.chinese":"Chinese","mejs.chinese-simplified":"Chinese (Simplified)","mejs.chinese-traditional":"Chinese (Traditional)","mejs.croatian":"Croatian","mejs.czech":"Czech","mejs.danish":"Danish","mejs.dutch":"Dutch","mejs.english":"English","mejs.estonian":"Estonian","mejs.filipino":"Filipino","mejs.finnish":"Finnish","mejs.french":"French","mejs.galician":"Galician","mejs.german":"German","mejs.greek":"Greek","mejs.haitian-creole":"Haitian Creole","mejs.hebrew":"Hebrew","mejs.hindi":"Hindi","mejs.hungarian":"Hungarian","mejs.icelandic":"Icelandic","mejs.indonesian":"Indonesian","mejs.irish":"Irish","mejs.italian":"Italian","mejs.japanese":"Japanese","mejs.korean":"Korean","mejs.latvian":"Latvian","mejs.lithuanian":"Lithuanian","mejs.macedonian":"Macedonian","mejs.malay":"Malay","mejs.maltese":"Maltese","mejs.norwegian":"Norwegian","mejs.persian":"Persian","mejs.polish":"Polish","mejs.portuguese":"Portuguese","mejs.romanian":"Romanian","mejs.russian":"Russian","mejs.serbian":"Serbian","mejs.slovak":"Slovak","mejs.slovenian":"Slovenian","mejs.spanish":"Spanish","mejs.swahili":"Swahili","mejs.swedish":"Swedish","mejs.tagalog":"Tagalog","mejs.thai":"Thai","mejs.turkish":"Turkish","mejs.ukrainian":"Ukrainian","mejs.vietnamese":"Vietnamese","mejs.welsh":"Welsh","mejs.yiddish":"Yiddish"}};
/* ]]> */
</script>
<script type="text/javascript" src="https://4sysops.com/wp-includes/js/mediaelement/mediaelement-and-player.min.js" id="mediaelement-core-js"></script>
<script type="text/javascript" src="https://4sysops.com/wp-includes/js/mediaelement/mediaelement-migrate.min.js" id="mediaelement-migrate-js"></script>
<script type="text/javascript" id="mediaelement-js-extra">
/* <![CDATA[ */
var _wpmejsSettings = {"pluginPath":"\/wp-includes\/js\/mediaelement\/","classPrefix":"mejs-","stretching":"responsive","audioShortcodeLibrary":"mediaelement","videoShortcodeLibrary":"mediaelement"};
/* ]]> */
</script>
<script type="text/javascript" id="app-js-extra">
/* <![CDATA[ */
var kleoFramework = {"ajaxurl":"https:\/\/4sysops.com\/wp-admin\/admin-ajax.php","themeUrl":"https:\/\/4sysops.com\/wp-content\/themes\/kleo","loginUrl":"https:\/\/4sysops.com\/wp-login.php","goTop":"1","ajaxSearch":"1","alreadyLiked":"You already like this","logo":"https:\/\/4sysops.com\/wp-content\/uploads\/2024\/03\/4sysops-logo-260.png","retinaLogo":"","headerHeight":"100","headerHeightScrolled":"35","headerTwoRowHeight":"88","headerTwoRowHeightScrolled":"0","headerResizeOffset":"","loadingmessage":"<i class=\"icon icon-spin5 animate-spin\"><\/i> Sending info, please wait...","DisableMagnificGallery":"0","flexMenuEnabled":"0","errorOcurred":"Sorry, an error occurred","bpAjaxRefresh":"20000"};
/* ]]> */
</script>
<script type="text/javascript" src="https://4sysops.com/wp-content/themes/kleo/assets/js/app.min.js" id="app-js"></script>
<script type="text/javascript" src="https://4sysops.com/wp-includes/js/comment-reply.min.js" id="comment-reply-js" async="async" data-wp-strategy="async"></script>
<script type="text/javascript" id="q2w3_fixed_widget-js-extra">
/* <![CDATA[ */
var q2w3_sidebar_options = [{"sidebar":"sidebar-1","use_sticky_position":false,"margin_top":10,"margin_bottom":20,"stop_elements_selectors":"#footer","screen_max_width":0,"screen_max_height":0,"widgets":["#custom_html-11","#custom_html-18"]},{"sidebar":"extra","use_sticky_position":false,"margin_top":10,"margin_bottom":20,"stop_elements_selectors":"#footer","screen_max_width":0,"screen_max_height":0,"widgets":["#custom_html-9","#custom_html-3"]},{"sidebar":"cs-2","use_sticky_position":false,"margin_top":10,"margin_bottom":20,"stop_elements_selectors":"#footer","screen_max_width":0,"screen_max_height":0,"widgets":["#custom_html-16","#custom_html-17"]}];
/* ]]> */
</script>
<script type="text/javascript" src="https://4sysops.com/wp-content/plugins/q2w3-fixed-widget/js/frontend.min.js" id="q2w3_fixed_widget-js"></script>
<script type="text/javascript" src="https://4sysops.com/wp-content/plugins/enlighter/cache/enlighterjs.min.js" id="enlighterjs-js"></script>
<script defer="" type="text/javascript" src="https://4sysops.com/wp-content/plugins/akismet/_inc/akismet-frontend.js" id="akismet-frontend-js"></script>
<script>(function(){function c(){var b=a.contentDocument||a.contentWindow.document;if(b){var d=b.createElement('script');d.innerHTML="window.__CF$cv$params={r:'8ec49815ae05666c',t:'MTczMzIzOTc4NS4wMDAwMDA='};var a=document.createElement('script');a.nonce='';a.src='/cdn-cgi/challenge-platform/scripts/jsd/main.js';document.getElementsByTagName('head')[0].appendChild(a);";b.getElementsByTagName('head')[0].appendChild(d)}}if(document.body){var a=document.createElement('iframe');a.height=1;a.width=1;a.style.position='absolute';a.style.top=0;a.style.left=0;a.style.border='none';a.style.visibility='hidden';document.body.appendChild(a);if('loading'!==document.readyState)c();else if(window.addEventListener)document.addEventListener('DOMContentLoaded',c);else{var e=document.onreadystatechange||function(){};document.onreadystatechange=function(b){e(b);'loading'!==document.readyState&&(document.onreadystatechange=e,c())}}}})();</script><iframe height="1" width="1" style="position: absolute; top: 0px; left: 0px; border: none; visibility: hidden;"></iframe><script defer="" src="https://static.cloudflareinsights.com/beacon.min.js/vcd15cbe7772f49c399c6a5babf22c1241717689176015" integrity="sha512-ZpsOmlRQV6y907TI0dKBHq9Md29nnaEIPlkf84rnaERnq6zvWvPUqr2ft8M1aS28oN72PdrCzSjY4U6VaAw1EQ==" data-cf-beacon="{"rayId":"8ec49815ae05666c","version":"2024.10.5","serverTiming":{"name":{"cfExtPri":true,"cfL4":true,"cfSpeedBrain":true,"cfCacheStatus":true}},"token":"9dc11bd8a4124db18d8e90df37453850","b":1}" crossorigin="anonymous"></script><iframe name="google_ads_top_frame" id="google_ads_top_frame" style="display: none; position: fixed; left: -999px; top: -999px; width: 0px; height: 0px;"></iframe>
<textarea tabindex="-1" aria-hidden="true" style="min-height: 0px !important; max-height: none !important; height: 0px !important; visibility: hidden !important; overflow: hidden !important; position: absolute !important; z-index: -1000 !important; top: 0px !important; right: 0px !important; border-width: 0px; box-sizing: border-box; font-family: Arial, Helvetica, sans-serif; font-size: 15px; font-style: normal; font-weight: 500; letter-spacing: normal; line-height: 22.5px; padding: 7.5px; tab-size: 8; text-indent: 0px; text-rendering: auto; text-transform: none; width: auto; word-break: normal;"></textarea><div id="rtoc_return" class="back_button_left"><a href="#rtoc-mokuji-wrapper" style="bottom: 1px;">^</a></div></body></html>