- 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>
19 lines
462 B
Batchfile
19 lines
462 B
Batchfile
@echo off
|
|
:: Resume-Download — Resumable download for SharePoint and general URLs
|
|
:: Uses domain credentials for SharePoint auth
|
|
|
|
if "%~1"=="" (
|
|
set /p "URL=Enter download URL: "
|
|
) else (
|
|
set "URL=%~1"
|
|
)
|
|
|
|
if "%~2"=="" (
|
|
set /p "DEST=Save as (full path, e.g. C:\Temp\file.iso): "
|
|
) else (
|
|
set "DEST=%~2"
|
|
)
|
|
|
|
powershell -NoProfile -ExecutionPolicy Bypass -File "%~dp0Resume-Download.ps1" -Url "%URL%" -Destination "%DEST%"
|
|
pause
|