need power shell script for Windows Service based. RRS feed

  • Question

  • I am new to Powershell script. I need the script based on the following condition.

    1.check the windows services running or not (for example service name test).

    2. Stop the test service If running then copy the file to respective service folder.

    3. then start the test service.

    4.  Don't do the above activity if the service is not available.

    Tuesday, December 3, 2019 6:53 AM

All replies