Qlik Community

Qlik Sense Deployment & Management

Discussion board where members learn more about Qlik Sense Installation, Deployment and Management.

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Partner
Partner

Windows Powershell is very slow

Hi,

we are using windows powershell to migrate a App from one System to another.

After we changed to another server the script is being very very slow!

The Server has the same specs! (AWS)

In the Sinpet you see the call of the pwershell.

We built up the conection over ssh .

We have no idee why the prozess noch takes more then have an hour (on the old server it taks only 3 minutes)

LIB CONNECT TO 'PSExecute';

SQL PSEXECUTE()

Import-Module D:\scripts\qs_application_deploy.psm1

Qlik-App-Deploy


i am looking forward for your hints
Best Regards
Christoph

2 Replies
Highlighted

Re: Windows Powershell is very slow

May be these:

https://help.qlik.com/en-US/sense-developer/April2018/Subsystems/RepositoryServiceAPI/Content/Reposi...

http://qlikviewcookbook.com/2016/01/authorizing-the-script-execute-statement/

Check the commands:

Establish connection by using commands

"Connect-Qlik -Computername https://computer/  -TrustAllCerts -Username domain\user"

"gci cert:currentuser\my | where { $_.friendlyname -eq 'QlikClient' } | Connect-Qlik"

Highlighted
Employee
Employee

Re: Windows Powershell is very slow

Hey Christoph,

My first pass would be that this is at play:

https://github.com/PowerShell/PowerShell/issues/2238

https://github.com/PowerShell/PowerShell/issues/2138

To work-around it add this line into the beginning of the PowerShell script:

$progressPreference = 'silentlyContinue'

Hope that helps.