In Linux's command line, to determine whether a given program is installed and in scope, I run $ which [program name]
and see whether a path is output in response.
Now, for work, I use Windows and am starting to learn PowerShell.
How can I determine from the Windows command line, or PowerShell, whether a given program is installed?