Switches the active QOps module to a specific already-installed version, without downloading anything.
Syntax
QOps-SetVersion [Version] [-RestartPortal]
Parameters meaning:
Version is the version to switch to — an exact version (3.0.6.26061309) or a prefix (3.0.6), which resolves to the newest installed build matching it. Each version is installed side by side in its own directory, and this picks one of them; the switch takes effect from the next cmdlet call, and works as a rollback as well as forward.
This applies to the PowerShell edition you are running — PS 5.1 and PS 7 each keep their own set of installed versions. PowerShell 7 switches to the PowerShell 7 build.
QOps-SetVersion also switches the MCP server that assistants such as Claude Desktop start. Restart the assistant after switching.
-RestartPortal restarts a running QOps Portal on the version you switch to, at the same port, without opening a browser. Without it a running Portal keeps the version it was started with, and the command tells you so. If no Portal is running, nothing is started. If the version cannot be loaded in the current session, or the running Portal cannot be stopped, the Portal is left as it is and the command says why.
Examples
QOps-SetVersion "3.0.6"
Switches to the newest installed 3.0.6 build.
QOps-SetVersion "3.0.6.26061309"
Switches to that exact build.
QOps-SetVersion "3.1.4" -RestartPortal
Switches to the newest installed 3.1.4 build and restarts the running Portal on it.