Fix Report IP glob (.LOG not .txt) + add device-id copy button
Field bay surfaced two bugs in one diag dump (mdm-diag-F907T5X3 - 6PPSF24): 1. GE Proactive Remediation Report IP actually writes GE_Report_IP_Address_2_5.LOG (uppercase .LOG), not the .txt I assumed. Globs in two places had .txt filter -> never matched -> Phase 1 stuck IN PROGRESS forever even after the file landed and wired-NIC re-enable never fired. Drop extension from both globs in Monitor-IntuneProgress.ps1 (id=7 push gate + p1Done check). 2. The "GE Re-enable Wired NICs" SYSTEM task registered by Run-ShopfloorSetup was polling Autologon_Remediation.log for "Autologon set for ShopFloor" - a lockdown-time signal. Re-enable needs to fire at Report-IP time (well before lockdown) so that Monitor can push idx=7 with the QR before the Intune-triggered LAPS-prompt reboot. Repoint the SYSTEM task's poll to C:\Logs\GE_Report_IP_Address* (any extension). Plus minor UX: copy button next to the Intune device ID on /imaging dashboard so techs can grab the GUID without having to double-click-select the <code>. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -44,7 +44,11 @@
|
||||
{% if s.hostname_target %}<code class="ms-2 small text-muted">{{ s.hostname_target }}</code>{% endif %}
|
||||
{% if s.pctype %}<span class="badge bg-info text-dark ms-2">{{ s.pctype }}</span>{% endif %}
|
||||
{% if s.machinenumber %}<span class="badge bg-secondary ms-1">#{{ s.machinenumber }}</span>{% endif %}
|
||||
{% if s.intune_device_id %}<div class="small text-muted mt-1">Intune: <code>{{ s.intune_device_id }}</code></div>{% endif %}
|
||||
{% if s.intune_device_id %}<div class="small text-muted mt-1">Intune: <code>{{ s.intune_device_id }}</code>
|
||||
<button type="button" class="btn btn-sm btn-outline-secondary py-0 px-1 ms-1"
|
||||
style="font-size:0.7rem; line-height:1;"
|
||||
onclick="navigator.clipboard.writeText('{{ s.intune_device_id }}').then(()=>{this.textContent='copied';setTimeout(()=>{this.textContent='copy'},1500)});">copy</button>
|
||||
</div>{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
<span class="badge bg-{{ border }}">{{ s.status or 'in_progress' }}</span>
|
||||
|
||||
Reference in New Issue
Block a user