diff --git a/profile.ps1 b/profile.ps1 index 6095c79..8b22518 100644 --- a/profile.ps1 +++ b/profile.ps1 @@ -83,7 +83,7 @@ function Get-BADPrincipalGroupMembership { ) process { - write-host $ADObject + Write-Host $ADObject $server = $ADObject.DistinguishedName.Split(',DC=')[-2,-1] -join '.' $ADObject | Get-ADPrincipalGroupMembership -Server $server