
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
How to reload with powershell
Hi,
I would like to reload a qvw with a powershell script. Does any one know how to do this?
No i have: start C:\Program Files\QlikView\qv.exe /r C:\QlikView\AccessPoint\Inkoop.qvw
When i try to run C:\Program Files\QlikView\qv.exe is started but when i add the parameters i get this error.
PS C:\Users\QlikViewService> C:\Users\QlikViewService\Desktop\Reload.ps1
Start-Process : A positional parameter cannot be found that accepts argument '/r'.
At C:\Users\QlikViewService\Desktop\Reload.ps1:1 char:1
+ start C:\Program Files\QlikView\qv.exe /r C:\QlikView\AccessPoint\Inkoop.qvw
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidArgument: (:) [Start-Process], ParameterBindingException
+ FullyQualifiedErrorId : PositionalParameterNotFound,Microsoft.PowerShell.Commands.StartProcessCommand
Accepted Solutions

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I found the solution myself. The correct command should be:
Start-Process "C:\Program Files\QlikView\qv.exe" "/r C:\QlikView\AccessPoint\Inkoop.qvw"


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Try to close command with double quote
"C:\Program Files\QlikView\qv.exe" /r "C:\QlikView\AccessPoint\Inkoop.qvw"

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Ziad,
Thanks for your response Unfortunatly that's not the solution. When i try it this is the error i receive.
:\Users\QlikViewService> C:\Users\QlikViewService\Desktop\Reload.ps1
Start-Process : A positional parameter cannot be found that accepts argument 'C:\QlikView\AccessPoint\Inkoop.qvw'.
At C:\Users\QlikViewService\Desktop\Reload.ps1:1 char:1
+ start "C:\Program Files\QlikView\qv.exe" /r "C:\QlikView\AccessPoint\Inkoop.qvw"
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidArgument: (:) [Start-Process], ParameterBindingException
+ FullyQualifiedErrorId : PositionalParameterNotFound,Microsoft.PowerShell.Commands.StartProcessCommand

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I found the solution myself. The correct command should be:
Start-Process "C:\Program Files\QlikView\qv.exe" "/r C:\QlikView\AccessPoint\Inkoop.qvw"
