I've moved this post to Server Administration , where your question would get more replies.
Please have a look at this KB.
I suppose this also works for parameter.
I know tabcmd can do that. But imagine I have several thousand of the files to generate each with different parameter value. It's not possible to do it manually. So how to do that?
The following Powershell example will export PDF files from the Tableau Server, using a CSV file for the filters to be applied.
$csvfile = import-csv -path "regions.csv"
$server = "http://localhost"
$username = "admin"
$password = "password"
$Folder = "C:\temp\"
$tabcmd = "C:\Program Files\Tableau\Tableau Server\10.4\bin\tabcmd.exe"
$URL = "/views/Superstore/Overview.pdf"
foreach ($line in $csvfile)
$Region = $line.Regions
$FileName = $Folder + $Region + ".pdf"
$FullURL = $URL + "?:Refresh&Region="+ $Region
& $tabcmd get -s $server -u $username -p $password $FullURL -f $FileName
& $tabcmd logout
The CSV file (Regions.csv) hold the following info
The script opens the CSV file for a list of regions, and runs the TABCMD GET command against the Superstore/Overview Dashboard, using the Regions as a filter.
A PDF file is then generated for each of the regions
Hope this makes sense.
All the best