cambooth/iac/deploy_to_remote-pc.ps1
2025-02-18 18:22:10 +01:00

7 lines
508 B
PowerShell

# --- Schritt 0: Erzeuge Build Dateien
Write-Host "==> Build App as release ..."
Invoke-Expression ".\build-release.ps1"
# --- copy files to target client
U:\HomeLab\Scripts\Windows\deploy_via_psexec.ps1 -RemoteComputer "Cambooth" -LocalUsername "Administrator" -LocalPassword "2013" -EDSDKFolder "../misc/CanonBinaries" -SourceFolder "../src/CamBooth/CamBooth.App/publish" -DestinationFolder "C:\Cambooth" -ProcessesToStop @("Cambooth.App") -ServicesToStop @("MyService") -AppExecutable "Cambooth.App.exe"