03-sep: [fix] montar_nas.ps1 usa /persistent:yes (unidad Z: del videoclub NAS persistente)
This commit is contained in:
@@ -37,7 +37,7 @@ if (-not (Test-Tunel)) {
|
|||||||
# 2) Montar unidad Z: apuntando al share video (via tunel local)
|
# 2) Montar unidad Z: apuntando al share video (via tunel local)
|
||||||
if (-not (Test-Unidad)) {
|
if (-not (Test-Unidad)) {
|
||||||
Write-Host "[NAS] Montando Z: -> \\127.0.0.1\video ..."
|
Write-Host "[NAS] Montando Z: -> \\127.0.0.1\video ..."
|
||||||
net use Z: \\127.0.0.1\video /persistent:no | Out-Null
|
net use Z: \\127.0.0.1\video /persistent:yes | Out-Null
|
||||||
}
|
}
|
||||||
|
|
||||||
# 3) Verificar
|
# 3) Verificar
|
||||||
|
|||||||
Reference in New Issue
Block a user