Skip to content

Instantly share code, notes, and snippets.

@Nillth
Created March 21, 2023 13:45
Show Gist options
  • Save Nillth/b4d93abad317c402673b263012028541 to your computer and use it in GitHub Desktop.
Save Nillth/b4d93abad317c402673b263012028541 to your computer and use it in GitHub Desktop.
#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
}
#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