We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 661fa47 commit e2c957cCopy full SHA for e2c957c
1 file changed
Tools/Psdz/PsdzRpcServer/Scripts/RegisterPsdzRpcService.ps1
@@ -17,7 +17,10 @@ param(
17
[string]$NssmExe = "nssm.exe",
18
19
[Parameter(Mandatory = $false)]
20
- [switch]$KeepRunning
+ [switch]$KeepRunning,
21
+
22
+ [Parameter(Mandatory = $false)]
23
+ [string]$IisAppPool = "Coding"
24
)
25
26
$ServiceName = "PsdzRpcServer"
@@ -168,7 +171,7 @@ Remove-Item "secedit.jfm" -ErrorAction SilentlyContinue
168
171
function Grant-ServiceStartPermission {
169
172
param(
170
173
[string]$ServiceName,
- [string]$AppPoolName = "Coding"
174
+ [string]$AppPoolName
175
176
177
Write-Host "Granting service start permission to IIS APPPOOL\$AppPoolName..."
0 commit comments