Conflicting with Default Formatting??

The other day I was writing a script to get the distribution group memberships of a given user and output the names to the EMS console. If I type these commands into the shell line by line, it works fine: $UserGroups = (get-qadmemberof -Identity $UserName | where-object {$_.EmailAddresses ` -like “*domain.com*”} | ft Name -HideTableHeaders) write-host “$UserName is a member of the following Distribution Groups:” […]

Read Me Leave comment