Get-AccountsThatExpire¶
Synopsis¶
Gets a list of the accounts that expire.
Description¶
Gets a list of the accounts from the active directory domain that expire.
Examples¶
PS> Get-AccountThatExpire
DisplayName SamAccountName DistinguishedName
---------- ------------- -----------------'
TestAccount TestAccount cn=TestAccount,OU=PoshSec,DC=PoshSec,DC=Com
Bob Uncle Bob.Uncle cn=Bob Uncle,OU=PoshSec,DC=PoshSec,DC=Com
Notes¶
Part of the PoshSec PowerShell Module