Skip to main content
Announcements
Live today at 11 AM ET. Get your questions about Qlik Connect answered, or just listen in. SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Setup Triggers Using Powershell

Hello Everyone ,

Do anyone of you know how to setup triggers for a task using power shell ?

Kindly let me know .

Thanks ,

Venkat

Labels (2)
5 Replies
Anonymous
Not applicable
Author

Any inputs ?

Anonymous
Not applicable
Author

Yes ,these are not part of my requirement

mmpas4887
Contributor III
Contributor III

I use QMSedx in a bat file to execute a task. The command looks like this

\\QVroot\scriptfolder\QMSEDX -task=%TaskName% -password=%PASSWORD% -qms=%QMS%

The task is an external program created from the SYSTEM > Supporting Tasks Tab in th eQMC

evan_kurowski
Specialist
Specialist

Love Powershell!!! Powershell & QlikView Bff's

# This sequence loops through development environments and copies source files from a local machine to the QMC publishing repository, then initiates reloads on each environment via EDX

$QV_Servers = 'PRODBOX','UATBOX','DEVBOX' ##Add boxes as needed

$QV_Servers | %{

  ROBOCOPY "\\$env:COMPUTERNAME\$MyDataSourcePath" "\\$_.$MyDataDestinationPath" /MIR;

  write-host `nPerforming an EDX task on $_

  \\$StaticPublisherEDXPath\QMSEDX.exe -task="_EDX Reload $MyTaskName" -qms="$(-join('http://',$_,':4799/QMS/Service'))" -password="$EDXPassword"

}