04-oct: fix USERDOMAIN->COMPUTERNAME en tareas (mapeo cuenta fallaba en workgroup/SSH)

This commit is contained in:
minguezsanzjuanjose
2026-10-04 00:21:52 +02:00
parent 29157d4f08
commit f243ce8f1d
4 changed files with 4 additions and 4 deletions

View File

@@ -25,7 +25,7 @@ $ErrorActionPreference = 'Stop'
$RepoRoot = Split-Path -Parent $PSScriptRoot
$PwshExe = Join-Path $env:SystemRoot 'System32\WindowsPowerShell\v1.0\powershell.exe'
$UserId = "$env:USERDOMAIN\$env:USERNAME"
$UserId = "$env:COMPUTERNAME\$env:USERNAME"
# Resolver el interprete de Python
$Python = (Get-Command python -ErrorAction SilentlyContinue).Source