Retrieves all account access for a specific managed host.
Syntax:
Get-QAccountsForHost [-ManagedHostId] <String> [<CommonParameters>]
Parameter | Description |
---|---|
ManagedHostId |
Specify the ID (GUID format) of the managed host to be queried. Run the Get-QManagedHosts cmdlet without any parameters to retrieve a list of managed hosts and associated IDs. |
Examples:
Example | Description |
---|---|
Get-QAccountsForHost -ManagedHostId 5b3e4a3c-9c7b-4da1-b6bc-db552ee51656 | Retrieves a list of the accounts related to the specified managed host. |
Details retrieved:
For each account that has access to the given host, the following information is returned.
Detail | Description |
---|---|
TrusteeName | A list of the accounts (trustees) for the managed host. |
TrusteeSid | The security identifier (SID) assigned to each account (trustee). |
TrusteeType |
The type of account. For a list of trustee types, see Trustee types |
AccessibleHosts |
Shows all of the hosts that the account has access to. This host list also shows for each account that has access to the specified host, what other hosts they have access to. |