Add comprehensive documentation and update deployment paths

Documentation:
- Add ShopDB-API.md with full API reference (all GET/POST endpoints)
- Add detailed docs for Update-ShopfloorPCs-Remote, Invoke-RemoteMaintenance, Update-PC-CompleteAsset
- Add DATA_COLLECTION_PARITY.md comparing local vs remote data collection
- Add HTML versions of all documentation with styled code blocks
- Document software deployment mechanism and how to add new apps
- Document deprecated scripts (Invoke-RemoteAssetCollection, Install-KioskApp)

Script Updates:
- Update deployment source paths to network share (tsgwp00525.wjs.geaerospace.net)
  - InstallDashboard: \\...\scripts\Dashboard\GEAerospaceDashboardSetup.exe
  - InstallLobbyDisplay: \\...\scripts\LobbyDisplay\GEAerospaceLobbyDisplaySetup.exe
  - UpdateEMxAuthToken: \\...\scripts\eMx\eMxInfo.txt
  - DeployUDCWebServerConfig: \\...\scripts\UDC\udc_webserver_settings.json
- Update machine network detection to include 100.0.0.* for CMM cases
- Rename PC Type #9 from "Part Marker" to "Inspection"

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
cproudlock
2026-02-06 11:45:00 -05:00
parent f40b79c087
commit 7d3519f613
15 changed files with 8774 additions and 40 deletions

View File

@@ -17,9 +17,11 @@ function Get-NetworkInterfaceConfig {
foreach ($ip in $ipConfig.IPv4Address) {
$gateway = if ($ipConfig.IPv4DefaultGateway) { $ipConfig.IPv4DefaultGateway[0].NextHop } else { $null }
# Determine if this is a machine network (192.168.*.*)
$isMachineNetwork = $ip.IPAddress -match '^192\.168\.'
# Determine if this is a machine network (192.168.*.* or 100.0.0.* for CMM)
$isMachineNetwork = $ip.IPAddress -match '^192\.168\.' -or $ip.IPAddress -match '^100\.0\.0\.'
# Determine if this is the primary network (10.134.*.*)
$isPrimary = $ip.IPAddress -match '^10\.134\.'
$interface = @{
InterfaceName = $adapter.Name
IPAddress = $ip.IPAddress
@@ -29,11 +31,15 @@ function Get-NetworkInterfaceConfig {
IsDHCP = if ($ipConfig.NetIPv4Interface.Dhcp -eq 'Enabled') { 1 } else { 0 }
IsActive = 1
IsMachineNetwork = if ($isMachineNetwork) { 1 } else { 0 }
IsPrimary = if ($isPrimary) { 1 } else { 0 }
}
$interfaces += $interface
if ($isMachineNetwork) {
if ($isPrimary) {
Write-Host " Found PRIMARY network: $($ip.IPAddress) on $($adapter.Name)" -ForegroundColor Green
}
elseif ($isMachineNetwork) {
Write-Host " Found machine network: $($ip.IPAddress) on $($adapter.Name)" -ForegroundColor Cyan
}
else {
@@ -60,8 +66,9 @@ function Get-NetworkInterfaceConfig {
# Skip IPv6 addresses
if ($ip -match ':') { continue }
$isMachineNetwork = $ip -match '^192\.168\.'
$isMachineNetwork = $ip -match '^192\.168\.' -or $ip -match '^100\.0\.0\.'
$isPrimary = $ip -match '^10\.134\.'
$interface = @{
InterfaceName = $adapter.Description
IPAddress = $ip
@@ -71,11 +78,15 @@ function Get-NetworkInterfaceConfig {
IsDHCP = $adapter.DHCPEnabled
IsActive = 1
IsMachineNetwork = if ($isMachineNetwork) { 1 } else { 0 }
IsPrimary = if ($isPrimary) { 1 } else { 0 }
}
$interfaces += $interface
if ($isMachineNetwork) {
if ($isPrimary) {
Write-Host " Found PRIMARY network: $ip on $($adapter.Description)" -ForegroundColor Green
}
elseif ($isMachineNetwork) {
Write-Host " Found machine network: $ip on $($adapter.Description)" -ForegroundColor Cyan
}
}