This works in command prompt:
where Java
In PowerShell where is an alias for Where-Object. I tried to stop parsing:
--% where Java
This does not work, also tried storing as a variable:
$StopParser = "--%"
$StopParser where Java
This returns the error: 'Unexpected token 'where' in expression or statement'.
How can I use the where command in PowerShell?