PowerShell Supprimer l'objet du tableau

$VarWithArray | Where-Object { $_ –ne "String to search for and remove" }
Bad Bat