Lists the Global Managed Service Accounts for the domain, including the computers they are bound to.
Get-ADServiceAccountInfo.ps1 [[-Filter] <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
Get-ADServiceAccountInfo.ps1 |Format-Table -AutoSize
Name HostComputers LastLogonDate Description Account —- ————- ————- ———– ——- service1 SERVERA 2023-08-27 11:14:19 First MSA {} service2 SERVERB 2023-08-27 10:27:03 Second MSA {} serivce3 SERVERC 2023-08-25 17:19:49 Third MSA {}
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 1
Default value: *
Accept pipeline input: False
Accept wildcard characters: False
Type: ActionPreference
Parameter Sets: (All)
Aliases: proga
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.