Forest Mappings
Get Details about the Current Forest
# AD Module
Get-ADForest
Get-ADForest -Identity lab.local
# PowerView
Get-NetForest
Get-NetForest -Forest lab.localGet All Domains in the Current Forest
# AD Module
(Get-ADForest).Domains
# PowerView
Get-NetForestDomain
Get-NetForestDomain -Forest lab.localGet All Global Catalogs for the Current Forest
# AD Module
Get-ADForest | Select -ExpandProperty GlobalCatalogs
# PowerView
Get-NetForestCatalog
Get-NetForestCatalog -Forest lab.localMap Trusts of a Forest
# AD Module
Get-ADTrust -Filter 'msDS-TrustForestTrustInfo -ne "$null"'
# PowerView
Get-NetForestTrust
Get-NetForestTrust -Forest lab.localMap All Trusts in Current Forest
# PowerView
Get-NetForestDomain | Get-NetDomainTrustLast updated