• SORRY: This should have been a new topic, reposting.

    Hi,

    I have 2 Array or ArrayList objects, with data like

    $Results = New-Object system.Collections.ArrayList

    $Results.Add("IMP_Trn_Project_Agent_6,User1")

    $Results.Add("IMP_Trn_Project_Agent_6,User2")

    $Results.Add("IMP_Trn_Project_Agent_6,User3")

    $Remove = New-Object system.Collections.ArrayList

    $Remove.Add("User2")

    How can I efficiently remove from the first array all items containing the users in the 2nd array?

    Paul