Qlik-DSC is a PowerShell DSC (Desired State Configuration) module that provides resources for managing a Qlik Sense environment. The module uses Qlik-Cli to communicate with the Qlik Sense APIs and manage settings in the Repository.
PowerShell 5.x is required to run Qlik-DSC. You can use the following command to check the version installed on your system.
$PSVersionTable.PSVersion
Ensure you can run script by changing the execution policy, you can change this for the machine by running PowerShell as Administrator and executing the command
Set-ExecutionPolicy RemoteSigned
The module can be installed from the PowerShell Gallery using NuGet, run the following commands to install the module.
Get-PackageProvider -Name NuGet -ForceBootstrap
Install-Module QlikResources
If you do not have internet access from the machine on which the module will be installed, it can be installed by downloading and extracting the files to C:\Program Files\WindowsPowerShell\Modules\QlikResources, the module will then be loaded the next time you open a PowerShell console.
Once the module is installed you can view a list of available resources by using the Get-DscResource PowerShell command.
Get-DscResource -Module QlikResources
This software is made available "AS IS" without warranty of any kind. Qlik support agreement does not cover support for this software.