Created
February 15, 2018 16:53
-
-
Save levi-turner/8180216fcdc7f4f419b27aead7cb4bd2 to your computer and use it in GitHub Desktop.
Dump custom security rules to JSON file
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
Get-QlikRule | ?{$_.type -like 'custom'} | ForEach-Object { $_ | ConvertTo-Json | Out-File ("C:\Temp\$( ($_.name -replace '(-|#|\||"|,|/|:|â|€|™|\?)', '' )).json") } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment