Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
garystrader
Partner - Creator III
Partner - Creator III

Qlik-Cli module import - not digitally signed

On multiple servers, I am trying to install and import Qlik-Cli.  When I get to the import module step I get the following error: 

import-module : File C:\Program Files\WindowsPowerShell\Modules\qlik-cli\resources\about.ps1 cannot be loaded. The
file C:\Program Files\WindowsPowerShell\Modules\qlik-cli\resources\about.ps1 is not digitally signed. You cannot run
this script on the current system. For more information about running scripts and setting execution policy, see
about_Execution_Policies at http://go.microsoft.com/fwlink/?LinkID=135170.
At line:1 char:1
+ import-module qlik-cli
+ ~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : SecurityError: (:) [Import-Module], PSSecurityException
+ FullyQualifiedErrorId : UnauthorizedAccess,Microsoft.PowerShell.Commands.ImportModuleCommand

 

1 Reply
Levi_Turner
Employee
Employee

This would be better suited for the Issues page for the Qlik-CLI project: https://github.com/ahaydon/Qlik-Cli/wiki/Installation

That being said, what are the steps to reproduce? I ask because, you will need to change the ExecutionPolicy either globally or for the current user (you can change it back afterwards), like so: https://github.com/ahaydon/Qlik-Cli/wiki/Installation

If you're still having issues then it's likely that the .ZIP that you downloaded from GitHub has the blocked property (Right click --> Properties). If this is the case then you have two options:

  1. Unblock the .ZIP, re-extract, move the files to C:\Program Files\WindowsPowerShell\Modules (to replace all the individual files from before)
  2.  PowerShell (with Admin rights):  Set-Location "C:\Program Files\WindowsPowerShell\Modules\Qlik-Cli"; Get-ChildItem -Recurse | Unblock-File