You can identify an account by its distinguished name, GUID, security identifier (SID), or Security Accounts Manager (SAM) account name. The Identity parameter specifies the Active Directory account to modify. To specify a time period from the current time, use the TimeSpan parameter. To specify an exact time, use the DateTime parameter. The Set-ADAccountExpiration cmdlet sets the expiration time for a user, computer, or service account.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |