I'm working on a script that automatically installs software. One of the programs to be installed includes its own command line commands and sub-commands when installed. The goal is to use the program's provided commands to perform an action after its installation.
But running the command right after the program's installation I'm greeted by: " is not recognized as an internal or external command , operable program or batch file"
If I open a new Powershell or cmd window the command is available in that instance.
What is the easiest way to to grant the script access to the commands?