Created
March 21, 2023 13:45
-
-
Save Nillth/b4d93abad317c402673b263012028541 to your computer and use it in GitHub Desktop.
This file contains 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
#Install-Module QlikNPrinting-CLI -Scope CurrentUser | |
#https://github.com/QlikProfessionalServices/QlikNPrinting-CLI/releases | |
Connect-NPrinting -TrustAllCerts | |
$Connections = Invoke-NPRequest -Path connections | |
$Connections = $Connections |Out-GridView -Title "Select" -OutputMode Multiple | |
foreach($Connection in $Connections){ | |
$Connection | |
Invoke-NPRequest -Path "connections/$($Connection.id)/reload" -method post | |
} |
This file contains 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
#Install-Module QlikNPrinting-CLI -Scope CurrentUser | |
#https://github.com/QlikProfessionalServices/QlikNPrinting-CLI/releases | |
Connect-NPrinting -TrustAllCerts | |
$Connections = Invoke-NPRequest -Path connections | |
#$Connections = $Connections |Out-GridView -Title "Select" -OutputMode Multiple | |
foreach($Connection in $Connections){ | |
$Connection | |
Invoke-NPRequest -Path "connections/$($Connection.id)/reload" -method post | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment