<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to stop qliksense services using powershell script or batchscript ? in Management &amp; Governance</title>
    <link>https://community.qlik.com/t5/Management-Governance/How-to-stop-qliksense-services-using-powershell-script-or/m-p/1949394#M22576</link>
    <description>&lt;P&gt;Hi Frank,&lt;/P&gt;
&lt;P&gt;Thanks for your reply .. I got following error upon execution. could you please advise further.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Sindhu92_0-1656452263917.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/82884i67A2BFEDA9A6BAC6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Sindhu92_0-1656452263917.png" alt="Sindhu92_0-1656452263917.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;Sindhu&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 28 Jun 2022 21:39:13 GMT</pubDate>
    <dc:creator>Sindhu92</dc:creator>
    <dc:date>2022-06-28T21:39:13Z</dc:date>
    <item>
      <title>How to stop qliksense services using powershell script or batchscript ?</title>
      <link>https://community.qlik.com/t5/Management-Governance/How-to-stop-qliksense-services-using-powershell-script-or/m-p/1949384#M22574</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We have a requirement to automate the Production backup on daily basis. we have tried this using PowerShell, we are able to take the backup of Qliksense log files, config files, but not QRS.&amp;nbsp; We are not able to stop the Qlik sense services to perform the QSR backup. Following code&amp;nbsp; being used to stop the services . But no luck . This is in central node so if some can help with correct script that would be great .&amp;nbsp;&lt;/P&gt;
&lt;PRE class="wp-block-preformatted"&gt; Suffix the Stop-Service command with "-WarningAction SilentlyContinue" to suppress warning messages when a service takes long to stop
    # Removing "-Verbose" will also reduce the amount of logging done.
    Get-Service -ComputerName $server -Name QlikSenseProxyService | Stop-Service -Verbose
    Get-Service -ComputerName $server -Name QlikSenseEngineService | Stop-Service -Verbose
    Get-Service -ComputerName $server -Name QlikSenseSchedulerService | Stop-Service -Verbose
    Get-Service -ComputerName $server -Name QlikSensePrintingService | Stop-Service -Verbose
    Get-Service -ComputerName $server -Name QlikSenseServiceDispatcher | Stop-Service -Verbose
    Get-Service -ComputerName $server -Name QlikSenseRepositoryService | Stop-Service -Verbose
    # Enable/disable as needed depending on whether log db is still in use or not
    # Get-Service -ComputerName $server -Name QlikLoggingService | Stop-Service -Verbose&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sindhu&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jun 2022 20:54:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/How-to-stop-qliksense-services-using-powershell-script-or/m-p/1949384#M22574</guid>
      <dc:creator>Sindhu92</dc:creator>
      <dc:date>2022-06-28T20:54:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to stop qliksense services using powershell script or batchscript ?</title>
      <link>https://community.qlik.com/t5/Management-Governance/How-to-stop-qliksense-services-using-powershell-script-or/m-p/1949391#M22575</link>
      <description>&lt;P&gt;You may wish to use a simple batch command as follows:&lt;BR /&gt;However you may wish to add the /y parameter to answer yes to the other services that this will stop&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;net stop "QlikSenseRepositoryService" /y&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;IMG style="width:64.6%;" src="https://lithium-response-prod.s3.us-west-2.amazonaws.com/qlik.response.lithium.com/RESPONSEIMAGE/76b42a57-d27a-40a5-822b-b1d6c6eb20b0.default.png" /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jun 2022 21:20:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/How-to-stop-qliksense-services-using-powershell-script-or/m-p/1949391#M22575</guid>
      <dc:creator>Frank_S</dc:creator>
      <dc:date>2022-06-28T21:20:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to stop qliksense services using powershell script or batchscript ?</title>
      <link>https://community.qlik.com/t5/Management-Governance/How-to-stop-qliksense-services-using-powershell-script-or/m-p/1949394#M22576</link>
      <description>&lt;P&gt;Hi Frank,&lt;/P&gt;
&lt;P&gt;Thanks for your reply .. I got following error upon execution. could you please advise further.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Sindhu92_0-1656452263917.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/82884i67A2BFEDA9A6BAC6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Sindhu92_0-1656452263917.png" alt="Sindhu92_0-1656452263917.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;Sindhu&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jun 2022 21:39:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/How-to-stop-qliksense-services-using-powershell-script-or/m-p/1949394#M22576</guid>
      <dc:creator>Sindhu92</dc:creator>
      <dc:date>2022-06-28T21:39:13Z</dc:date>
    </item>
  </channel>
</rss>

