Finding Managed Service Accounts
This topic explains how to use the Active Directory module for Windows PowerShell to find managed service accounts.
Example
The following example demonstrates how to find the managed service accounts in the Fabrikam.com domain:
Get-ADServiceAccount -Filter 'Name -like "*"' | FT Name,HostComputers -A
Get-ADServiceAccount -Filter 'Name -like "*"' | FT Name,HostComputers -A
Additional information
In addition to the standard Lightweight Directory Access Protocol (LDAP) attributes, you can retrieve the following extended properties of the Get-ADServiceAccount cmdlet by using the -Properties parameter:
- HostComputers
No comments:
Post a Comment