TestimoX

API Reference

Command

Get-ADXTrustAzure

Namespace ADPlayground.PowerShell
Inputs
System.String[]
Outputs
ADPlayground.Trusts.AzureTrustInfo

Retrieves Azure-related trust information (Azure AD DS and Azure AD Connect) via typed collectors.

Examples

Authored help example

Example 1: Review Azure AD DS and Azure AD Connect trust posture across the forest


Get-ADXTrustAzure
        

Example 2: Limit the query to specific domains and Azure AD Connect servers


Get-ADXTrustAzure -DomainName 'contoso.com','emea.contoso.com' -ServerName 'aadconnect-01.contoso.com','aadconnect-02.contoso.com'
        

Common Parameters

This command supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.

For more information, see about_CommonParameters.

Syntax

Get-ADXTrustAzure [-DomainName <string[]>] [-ServerName <string[]>] [<CommonParameters>]
#

Parameters

DomainName string[] optionalposition: 0pipeline: true (ByPropertyName)
Optional list of domain DNS names to query for Azure AD DS trust info. Defaults to all domains in the forest.
ServerName string[] optionalposition: 1pipeline: true (ByPropertyName)
Optional list of Azure AD Connect server names to query. Defaults to auto-discovery.

Outputs

ADPlayground.Trusts.AzureTrustInfo