Skip to content

Instantly share code, notes, and snippets.

View dgtlrift's full-sized avatar
💭
I may be slow to respond.

Jim Hanley dgtlrift

💭
I may be slow to respond.
View GitHub Profile
@michaelnoonan
michaelnoonan / WindowsServiceLib.psm1
Created July 10, 2013 01:30
Useful Deployment Scripts
Set-StrictMode -Version Latest
$libPath = (Split-Path -Parent $MyInvocation.MyCommand.Definition)
Import-Module $libPath\SecurityLib.psm1
function New-WindowsService {
param
(
[Parameter(Mandatory=$True,Position=0,HelpMessage="The name of the Windows Service")]
[string]$serviceName,