map glacier to G:\
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user