04-oct: fix USERDOMAIN->COMPUTERNAME en tareas (mapeo cuenta fallaba en workgroup/SSH)
This commit is contained in:
@@ -30,7 +30,7 @@ $ScriptPath = Join-Path $PSScriptRoot 'omniroute_watchdog.ps1'
|
||||
$PwshExe = Join-Path $env:SystemRoot 'System32\WindowsPowerShell\v1.0\powershell.exe'
|
||||
$NodeExe = 'C:\Program Files\nodejs\node.exe'
|
||||
$OmniRouteMjs = Join-Path $env:APPDATA 'npm\node_modules\omniroute\bin\omniroute.mjs'
|
||||
$UserId = "$env:USERDOMAIN\$env:USERNAME"
|
||||
$UserId = "$env:COMPUTERNAME\$env:USERNAME"
|
||||
|
||||
Write-Host '== Instalando arranque fiable de OmniRoute ==' -ForegroundColor Cyan
|
||||
|
||||
|
||||
Reference in New Issue
Block a user