May 2019
Intermediate to advanced
620 pages
21h 41m
English
Use the following lines of PowerShell on a system with the Active Directory module for Windows PowerShell installed to set account expiration for a user object:
Import-Module ActiveDirectorySet-ADAccountExpiration -Identity "CN=User,OU=Organizational Unit,DC=lucernpub,DC=com" -DateTime "03/01/2019 00:00:00"
Read now
Unlock full access