Initialer Commit
This commit is contained in:
9
scripts/uninstall-service.ps1
Normal file
9
scripts/uninstall-service.ps1
Normal file
@@ -0,0 +1,9 @@
|
||||
param([string]$InstallDir = "C:\printservice-app")
|
||||
Push-Location $InstallDir
|
||||
if (Test-Path ".\printservice.exe") {
|
||||
.\printservice.exe stop
|
||||
.\printservice.exe uninstall
|
||||
} else {
|
||||
Write-Host "printservice.exe nicht gefunden. WinSW-Datei pruefen."
|
||||
}
|
||||
Pop-Location
|
||||
Reference in New Issue
Block a user