04-oct: fix USERDOMAIN->COMPUTERNAME en tareas (mapeo cuenta fallaba en workgroup/SSH)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user