At a recent internal PowerShell training session, I was asked how to connect to a different domain. Following are a couple ways to accomplish this (using Quest cmdlets or the ActiveDirectory Module):
# Quest cmdlets
$cred = Get-Credential 'ExtDomain.Local\FatBeard'
Connect-QADService -Service ExtDomain.Local -Cred $cred
# Active Directory Module
New-PSDrive –Name ExtDomain
–credential (Get-Credential ‘ExtDomain.Local\FatBeard’)
Get-ADUser -filter *