Use array of strings for comparing in Where-Object in PowerShell Use array of strings for comparing in Where-Object in PowerShell powershell powershell