Add FQDNUpdate drive remapping tool and standardize log paths
Add FQDNUpdate project for SSO drive remapping — scans for drives mapped to legacy server names (tsgwp00525, avwesj-gwy01), backs them up, clears stale credentials (cmdkey, IPC$, Kerberos), and remaps using canonical FQDNs with Windows SSO (no password). Includes .iss (pure Pascal Script), .ps1, and .bat launcher. Standardize all project log/backup paths to Documents\wjdt\logs\ with auto-creation of the directory. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -31,10 +31,11 @@ $LegacyDomain = "logon.ds.ge.com"
|
||||
# Password reset URL
|
||||
$PasswordResetURL = "https://mypassword.ge.com"
|
||||
|
||||
# Backup file location (OneDrive Documents)
|
||||
$OneDrivePath = [Environment]::GetFolderPath('MyDocuments') # Falls back if OneDrive not configured
|
||||
# Backup file location
|
||||
$LogDir = Join-Path $env:USERPROFILE 'Documents\wjdt\logs'
|
||||
if (-not (Test-Path $LogDir)) { New-Item -Path $LogDir -ItemType Directory -Force | Out-Null }
|
||||
$BackupFileName = "NetworkDriveMappings.json"
|
||||
$BackupFilePath = Join-Path -Path $OneDrivePath -ChildPath $BackupFileName
|
||||
$BackupFilePath = Join-Path -Path $LogDir -ChildPath $BackupFileName
|
||||
|
||||
# ============================================================================
|
||||
# FUNCTIONS
|
||||
|
||||
Reference in New Issue
Block a user