Skip to content

Instantly share code, notes, and snippets.

@levi-turner
Created November 27, 2017 20:57
Show Gist options
  • Save levi-turner/a7b984dc9f9435ec6cb527d64a484e63 to your computer and use it in GitHub Desktop.
Save levi-turner/a7b984dc9f9435ec6cb527d64a484e63 to your computer and use it in GitHub Desktop.
Import an app, time the process, and then delete the app
Connect-Qlik -computername qlikserver1.domain.local
while ($true) {
$startTime = (Get-Date -format "HH:mm:ss") >> start.txt
Import-QlikApp -file .\test-original.qvf -name Test -upload
$endTime = (Get-Date -format "HH:mm:ss") >> finish.txt
Get-QlikApp -filter "name eq 'Test'" | Remove-QlikApp
;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment