Gets one or more Active Directory managed service accounts or group managed service accounts.
Gets one or more Active Directory managed service accounts or group managed service accounts.
Example 1: Get a managed service account by its Security Account Manager name
Get-ADServiceAccount -Identity service1
Example 1: Get all managed service account by its Security Account Manager name
Get-ADServiceAccount -Filter * | Format-Table