Select Page
How to get execution folder in PowerShell

How to get execution folder in PowerShell

Recently I explained how to install windows service using PowerShell. The problem with that code was that the path to the binary file was hardcoded in my sample, which is a bad practice. If you decide to use a different installation path, you need to remember to...
Create a windows service using PowerShell

Create a windows service using PowerShell

Window PowerShell provides a number of helpful CmdLets for managing windows services, such as New-ServiceGet-ServiceRestart-ServiceResume-ServiceSet-ServiceStart-ServiceStop-ServiceSuspend-Service And create a new Windows Service using PowerShell...