Skip to content

Instantly share code, notes, and snippets.

@lawrencegripper
Last active March 18, 2016 13:07
Show Gist options
  • Select an option

  • Save lawrencegripper/038355b288a17ccc337b to your computer and use it in GitHub Desktop.

Select an option

Save lawrencegripper/038355b288a17ccc337b to your computer and use it in GitHub Desktop.
<# Custom Script for Windows #>
##Change to current dir
$scriptpath = $MyInvocation.MyCommand.Path
$dir = Split-Path $scriptpath
cd $dir
##Download the server install
Invoke-WebRequest http://netcologne.dl.sourceforge.net/project/jasperserver/JasperServer/JasperReports%20Server%20Community%20Edition%206.2.0/jasperreports-server-cp-6.2.0-windows-x64-installer.exe -outfile jsinstall.exe
##Install Jaspersoft Reporting community edition
.\jsinstall.exe --unattendedmodeui none --mode unattended --jasperLicenseAccepted Yes --postgres_password test
##Open port in firewall for 8080
New-NetFirewallRule -DisplayName "Enable Tomcat" -Direction Inbound -Action Allow -LocalPort 8080 -Protocol TCP
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment