Created
December 29, 2017 21:43
-
-
Save levi-turner/a0a0c64ddc2729c1f5ac8eb5b733db16 to your computer and use it in GitHub Desktop.
Stop Qlik Sense Services in Powershell
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#----------------------------------------------------------------------- | |
# | |
# Script Name: qlik_sense_service-stop.ps1 | |
# Description: This will stop Qlik Sense Services | |
# Version Date Author Change Notes | |
# 0.1 2017-12-20 Levi Turner Initial Version | |
#----------------------------------------------------------------------- | |
Get-Service QlikSenseSchedulerService -ComputerName localhost | Stop-Service | |
Get-Service QlikSenseEngineService -ComputerName localhost | Stop-Service | |
Get-Service QlikSensePrintingService -ComputerName localhost | Stop-Service | |
Get-Service QlikSenseProxyService -ComputerName localhost | Stop-Service | |
Get-Service QlikSenseServiceDispatcher -ComputerName localhost | Stop-Service | |
Get-Service QlikSenseRepositoryService -ComputerName localhost | Stop-Service | |
Get-Service QlikLoggingService -ComputerName localhost | Stop-Service | |
Get-Service QlikSenseRepositoryDatabase -ComputerName localhost | Stop-Service |
No real updates. I use this for personal use so infrequently it isn't worth the effort to make it a bit more robust. I can just run it again!
If I was going to harden it, I would integrate something like this https://stackoverflow.com/a/6677226. There are instances where services can get hung. This is especially true for the Engine service which needs to dump apps from RAM and this can take a minute or two in busy / large environments.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi Levi - Thanks for the script. Do you have any updates to the script, possibly on any service addition?
Also, do you have an continuation to this script to start the services after stopping?
Thanks,
John