Operator Scope of Action:
Operator First Added:
This removes items from a list or set. For example,
$MyList = $MyList.remove(0);
returns a new list from which all elements equal to zero have been removed, and
$MyList = $MyList.remove("cat");
returns a new list from which call elements equal to "cat" have been removed.
$MyList = $MyList.remove("cat; dog; badger");
removes "cats", "dogs", and "badgers".