We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ef909c5 commit 2606049Copy full SHA for 2606049
src/InEngine/Install.ps1
@@ -1 +1,2 @@
1
-New-Service -Name "InEngine.NET" -BinaryPathName (Resolve-Path .\).Path + "\inengine.exe -s" -DependsOn NetLogon -DisplayName "InEngine.NET Scheduler" -StartupType Manual -Description "Runs InEngine.NET's scheduled jobs."
+$pathToExecutable = Join-Path (Resolve-Path .\).Path "inengine.exe -s"
2
+New-Service -Name "InEngine.NET" -BinaryPathName $pathToExecutable -DependsOn NetLogon -DisplayName "InEngine.NET" -StartupType Manual -Description "Runs InEngine.NET's scheduled jobs."
src/InEngine/Uninstall.ps1
@@ -1 +1 @@
-(Get-WmiObject win32_service -Filter "name='InEngine.NET'").delete()
+(Get-WdmiObject win32_service -Filter "name='InEngine.NET'").delete()
0 commit comments