Add fixnetworkshare, winrm-setup-package, udc remote-execution suites

- NetworkDriveManager.ps1: S: drive repair utility
- winrm-setup-package: Invoke-RemoteTask helper + Setup-WinRM.bat + HTML guide
- remote-execution/udc: UDC_Update.ps1 and batch wrappers for updating
  DNC controllers on shop-floor PCs
- Invoke-RemoteMaintenance.ps1: substantial rework (~1650 lines)
- Schedule-Maintenance and complete-asset minor updates
- Bump edncfix gitlink to v1.6.0 (2748bfa)
- .gitignore: block inventory.csv/xlsx (CUI) and logs_*.txt (per-host logs)

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
cproudlock
2026-04-17 12:04:40 -04:00
parent 847ec402bd
commit 86b32d8597
24 changed files with 6945 additions and 1352 deletions

View File

@@ -0,0 +1,32 @@
@echo off
REM Run-UpdateDNCMXHosts.bat
REM Updates FtpHostPrimary/Secondary in DNC\MX registry on remote shopfloor PCs
REM Usage:
REM Run-UpdateDNCMXHosts.bat -> runs on all PCs in shopfloor-pcs.txt
REM Run-UpdateDNCMXHosts.bat G5N9PWM3ESF -> runs on a single PC (for testing)
echo ============================================================
echo UpdateDNCMXHosts - FTP Host Migration
echo tsgwp00525.us.ae.ge.com -^> tsgwp00525.wjs.geaerospace.net
echo ============================================================
echo.
if not "%~1"=="" (
echo Target: %~1
echo.
powershell.exe -ExecutionPolicy Bypass -File "%~dp0Invoke-RemoteMaintenance.ps1" -ComputerName "%~1" -Task UpdateDNCMXHosts -LogFile
) else (
if not exist "%~dp0shopfloor-pcs.txt" (
echo ERROR: shopfloor-pcs.txt not found in %~dp0
echo Either place shopfloor-pcs.txt in the same folder or pass a PC name:
echo Run-UpdateDNCMXHosts.bat G5N9PWM3ESF
pause
exit /b 1
)
echo Target: shopfloor-pcs.txt
echo.
powershell.exe -ExecutionPolicy Bypass -File "%~dp0Invoke-RemoteMaintenance.ps1" -ComputerListFile "%~dp0shopfloor-pcs.txt" -Task UpdateDNCMXHosts -LogFile
)
echo.
pause