map glacier to G:\

This commit is contained in:
Nathan
2026-01-09 12:42:44 -07:00
parent ca5a5b23fe
commit d42331d932
2 changed files with 499 additions and 6 deletions

View File

@@ -58,10 +58,11 @@ function Get-RemoteStandardWorkerCommand {
Write-Host "Setting up network connections..." -ForegroundColor Cyan
# Define arrays of drives and network paths
$drives = @('A:', 'F:', 'N:', 'P:')
$drives = @('A:', 'F:', 'G:', 'N:', 'P:')
$networkPaths = @(
'\\NEXUS\amazon',
'\\NEXUS\flamenco',
'\\NEXUS\glacier',
'\\NEXUS\proj',
'\\NAS\amazon'
)
@@ -90,6 +91,7 @@ if ($LASTEXITCODE -eq 0) {
# Map all NEXUS drives
net use A: \\NEXUS\amazon /persistent:yes
net use F: \\NEXUS\flamenco /persistent:yes
net use G: \\NEXUS\glacier /persistent:yes
net use P: \\NEXUS\proj /persistent:yes
} else {
Write-Host "Failed to connect to NEXUS" -ForegroundColor Red
@@ -130,10 +132,11 @@ function Get-RemoteCmdWorkerCommand {
Write-Host "Setting up network connections..." -ForegroundColor Cyan
# Define arrays of drives and network paths
$drives = @('A:', 'F:', 'N:', 'P:')
$drives = @('A:', 'F:', 'G:', 'N:', 'P:')
$networkPaths = @(
'\\NEXUS\amazon',
'\\NEXUS\flamenco',
'\\NEXUS\glacier',
'\\NEXUS\proj',
'\\NAS\amazon'
)
@@ -153,6 +156,7 @@ if ($LASTEXITCODE -eq 0) {
# Map all NEXUS drives
net use A: \\NEXUS\amazon /persistent:yes
net use F: \\NEXUS\flamenco /persistent:yes
net use G: \\NEXUS\glacier /persistent:yes
net use P: \\NEXUS\proj /persistent:yes
} else {
Write-Host "Failed to connect to NEXUS" -ForegroundColor Red
@@ -199,10 +203,11 @@ function Get-RemoteSimplifiedCmdWorkerCommand {
Write-Host "Setting up network connections..." -ForegroundColor Cyan
# Define arrays of drives and network paths
$drives = @('A:', 'F:', 'N:', 'P:')
$drives = @('A:', 'F:', 'G:', 'N:', 'P:')
$networkPaths = @(
'\\NEXUS\amazon',
'\\NEXUS\flamenco',
'\\NEXUS\glacier',
'\\NEXUS\proj',
'\\NAS\amazon'
)
@@ -222,6 +227,7 @@ if ($LASTEXITCODE -eq 0) {
# Map all NEXUS drives
net use A: \\NEXUS\amazon /persistent:yes
net use F: \\NEXUS\flamenco /persistent:yes
net use G: \\NEXUS\glacier /persistent:yes
net use P: \\NEXUS\proj /persistent:yes
} else {
Write-Host "Failed to connect to NEXUS" -ForegroundColor Red