Ask your Windows PowerShell-related questions, including questions on cmdlet development!
Do not post any licensing information in this forum.
- Posts: 1
- Joined: Fri Nov 14, 2014 7:02 am
I need to do some testing with a service. I'm wondering if it is possible to write a service with the appropriate handlers in powershell?
- Posts: 10189
- Joined: Tue May 22, 2007 9:57 am
No. PowerShell is not appropriate for creating a service. It cannot respond to service control. You can use the SDK to create a service that can host PowerShell scripts. Look into the Window Platform SDK PowerShell samples.
Return to “Windows PowerShell”
Who is online
Users browsing this forum: No registered users and 2 guests