Powershell Script Help RRS feed

  • Question

  • I'm pretty new to powershell scripting and am stumped on how to setup the syntax for this one; the requirements are farily simple but I'm not sure what to do with the password prompt.

    Here's what the script needs to do:

    1. Pull computer names from a .txt and loop through them

    2. Stop a service on each computer, once the stop command is entered, the service prompts for a password

    3. Replace a file on the destination computer with a different verstion

    4. Start the service

    Continue on down through the list of computers.

    Any help would be greatly appreciated 

    • Moved by Bill_Stewart Monday, July 29, 2019 7:48 PM This is not "scripts on demand"
    Tuesday, November 27, 2018 5:00 PM

All replies