# RETIRED (2026-08-19). Everything this script did — adopting the camera's existing
# addressing and removing stray IPs from the camera port — is now part of
# Setup-CameraShare.ps1 (v2), which keeps whatever fixed IP the port already has.
# Run 2-Setup-CameraShare-Preview.cmd, then 3-Setup-CameraShare-Apply.cmd.
# (The old version lives in git history if it is ever needed: it last shipped for the
# Baton Rouge NW500 install, commits d25714d1 + 4cf28dc6.)

Write-Host ''
Write-Host 'This script has been retired. Its job moved into Setup-CameraShare.'
Write-Host 'Run 2-Setup-CameraShare-Preview.cmd first, then 3-Setup-CameraShare-Apply.cmd.'
Write-Host ''
try { Read-Host 'Press Enter to close' | Out-Null } catch { }
