Sets the release channel this machine updates from, and keeps it until it is set again.
Syntax
QOps-SetUpdateChannel [Value] [-PassThru]
Parameters meaning:
Value is the channel name to switch to, for example a beta or a release-candidate channel. main-3.x returns the machine to the stable channel. Channel names accept letters, digits, dot, dash and underscore; anything else is refused.
The setting is machine-level, not per profile — it is about which build of QOps you run, not which Qlik you point it at. For a one-time install from a channel without changing the machine's default, use QOps-Update -Channel instead.
-PassThru also returns the change as an object with the fields Previous (the channel before the change; main-3.x if it had never been changed), Channel (the channel now, as it is stored) and IsRelease (True when Channel is main-3.x). The printed lines are the same with or without it. Nothing is returned when the channel was not changed, for example for an invalid name; the printed line says why. With -PassThru the command does not run the daily automatic update first.
Examples
QOps-SetUpdateChannel "beta-3.1"
QOps-SetUpdateChannel "main-3.x"
Returns the machine to the stable channel.