PowerShell Command to List Users and Password Expiration Dates

Mark Berry March 13, 2015

Here from TechNet is a quick PowerShell script to list enabled Active Directory Accounts and their password expiration dates:

Get-ADUser -filter {Enabled -eq $True -and PasswordNeverExpires -eq $False} -Properties "DisplayName", "msDS-UserPasswordExpiryTimeComputed" | `
Select-Object -Property "Displayname",@{Name="ExpiryDate";Expression={[datetime]::FromFileTime($_."msDS-UserPasswordExpiryTimeComputed")}} 

Server 2012 R2 not Replicating SYSVOL from Server 2012

Mark Berry November 11, 2013

I recently added a Windows Server 2012 R2 machine to my domain and moved the FSMO roles to it from the old Server 2012 machine. However, when I opened Group Policy Management on the destination, it kept throwing up an error. I eventually ran dcdiag, and saw this complaint about “advertising”:


Careful with Image-Based Backup of Exchange and Active Directory

Mark Berry May 3, 2010

Any image-based snapshot tool requires extra setup if Exchange or Active Directory is involved.



Welcome to MCB Systems!

MCB Systems is a San Diego-based provider of software and information technology services.

Our software services include customization and programming to make software work for you.

Our proactive I.T. services help businesses control costs by providing a fixed monthly bill for routine I.T. services.

We take a consulting approach that listens first and provides solutions tailored to your business.

Contact MCB Systems today to discuss your technology needs!

Copyright © 2017 MCB Systems. All rights reserved.
Terms of Use - Privacy Policy
Created in WordPress using the Afterburner theme by RocketTheme.