Installation - ahaydon/Qlik-Cli-Windows GitHub Wiki
Installation
PowerShell 4.0 is required to run Qlik-Cli. You can use the following command to check the version installed on your system.
$PSVersionTable.PSVersion
Ensure you can run script by changing the execution policy, you can change this for the machine by running PowerShell as Administrator and executing the command
Set-ExecutionPolicy RemoteSigned
If you do not have administrator rights you can change the policy for your user rather than the machine using
Set-ExecutionPolicy -Scope CurrentUser RemoteSigned
If you have PowerShell 5 or later you can install the module from NuGet using the following command.
Get-PackageProvider -Name NuGet -ForceBootstrap
# Install for all users, requires admin rights
Install-Module Qlik-Cli
# Install for current user
Install-Module Qlik-Cli -Scope CurrentUser
Otherwise, the module can be installed by downloading and extracting the files to C:\Program Files\WindowsPowerShell\Modules\Qlik-Cli, the module will then be loaded the next time you open a PowerShell console. You can also load the module for the current session using the Import-Module command and providing the name or path to the module.
Import-Module Qlik-Cli
Import-Module .\Qlik-Cli.psd1