Install Tomcat via PowerShell

Posted on 2014-07-10
Last Modified: 2014-11-23
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.

Question by:davidst98
    LVL 13

    Expert Comment

    by:Greg Hejl
    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?
    LVL 13

    Accepted Solution


    Author Closing Comment


    Featured Post

    IT, Stop Being Called Into Every Meeting

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Join & Write a Comment

    The article will show you how you can maintain a simple logfile of all Startup and Shutdown events on Windows servers and desktops with PowerShell. The script can be easily adapted into doing more like gracefully silencing/updating your monitoring s…
    "Migrate" an SMTP relay receive connector to a new server using info from an old server.
    This video is in connection to the article "The case of a missing mobile phone (". It will help one to understand clearly the steps to track a lost android phone.
    Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

    755 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    23 Experts available now in Live!

    Get 1:1 Help Now