Skip to content

Instantly share code, notes, and snippets.

@mindspank
Last active November 22, 2015 20:07
Show Gist options
  • Save mindspank/4cb56e3d1ab5ea69b598 to your computer and use it in GitHub Desktop.
Save mindspank/4cb56e3d1ab5ea69b598 to your computer and use it in GitHub Desktop.
A short powershell script that will refresh cached Qlik Sense charts using chartcacher https://github.com/mindspank/chartcacher
$qlikserver = "https://<qliksensehostname>:1337/"
$nocache = '/nocache'
$urls = $("24cc3e5a-622b-4267-97e0-38851090f5a7/JEBdZz", "24cc3e5a-622b-4267-97e0-38851090f5a7/ARNmpdM", "24cc3e5a-622b-4267-97e0-38851090f5a7/BmfQbz")
foreach($url in $urls) {
Invoke-RestMethod "$qlikserver$url$nocache"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment