• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1948
  • Last Modified:

Install Tomcat via PowerShell

Hi, I'm tryting to install Tomcat silently with PowerShell.  I tried this command but a Open File - Security Warning pop up window asks me if I want to continue.   I been running powershell as administrator.

$proc = Start-Process -FilePath "c:\david\apache-tomcat-7.0.54" -Wait -PassThru '/S /D="C:\Program Files\Apache Software Foundation\Tomcat 7.0"'

Could you tell me what I'm doing wrong?   Thanks.

David
0
davidst98
Asked:
davidst98
  • 2
1 Solution
 
Greg HejlCommented:
sry - I don't have a solution for you.

if you don't mind, I do have a question.  

why do you need to run an apache web server on a windows machine?
0
 
Greg HejlCommented:
0
 
davidst98Author Commented:
Thanks
0

Featured Post

Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now