AzStackHci.DiagnosticSettings

0.7.2

Microsoft Azure Local - Diagnostics settings and connectivity tests support module

Minimum PowerShell version

5.1

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Module -Name AzStackHci.DiagnosticSettings

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

Install-PSResource -Name AzStackHci.DiagnosticSettings

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Owners

Copyright

(c) 2026 Microsoft Corporation. All rights reserved.

Package Details

Author(s)

  • Microsoft Corporation

Tags

Microsoft AzStackHci Diagnostic Settings Connectivity AzureLocal

Functions

Get-AzStackHciMemoryDumpSettings Set-AzStackHciMemoryDumpSettings Restore-AzStackHciMemoryDumpSettings Get-AzStackHciPageFileSettings Restore-AzStackHciPageFileSettings Set-AzStackHciPageFileSettings Set-AzStackHciPageFileSettingsMinimal Get-AzStackHciUserModeCrashDumpSettings Set-AzStackHciUserModeCrashDumpSettings Restore-AzStackHciUserModeCrashDumpSettings Test-AzStackHciSSLInspection Send-ClusterPerformanceHistory Test-AzureLocalConnectivity Test-Layer7Connectivity Test-TCPConnectivity Get-AzStackHciOsConfigSettings Test-ArcMachinePrivateLinkScopeEnabled Remove-AzStackHciDiagnosticArtifact Get-AzStackHciVMCheckpointHealth

PSEditions

Desktop Core

Dependencies

This module has no dependencies.

Release Notes

## v0.7.2

- Use executing-module caches; honor -NoAutoUpdate for OEMs.
- Fix Defender collection completeness and the 2610 pagefile registry reference path.
- Improve OSConfig reporting performance through validated baseline/policy evidence reuse and indexed lookups; consolidate baseline exports with failure-safe persistence and add granular collection/report timings.
- Optimize connectivity discovery, worker merges and completed-row dispatch; expose discovery, worker import and coordination timings without reducing diagnostic coverage.
- Keep coordinator progress with -NoOutput; respect $ProgressPreference and isolate node progress.
- Clarify DRTM/VBS/HVCI capability limitations using captured evidence; preserve baseline deltas, grading and schemas.
- Unify Summary cards, group Power Plan health/consistency and clarify expected disabled HCI services. Preserve raw evidence, assessments and schemas.
- Fix the standalone Secured-Core probe dependency and make live CI freshness checks explicitly opt-in.
- Clarify absent Azure Arc Private Link Scope association without claiming endpoint usage; retain green output. Keep progress with -NoOutput; honor $ProgressPreference. Refresh bundled endpoint documentation.
- Fix sequential redirect capture, detailed-diagnostics artifact retention and OSConfig warning badges. Align consumer integration guidance with connectivity 1.3. See CHANGELOG.md.
- Security Capabilities: full names with acronyms, INFO observations outside baseline counts, separate enabled/running/capability values and explicit failures. Installed product readers; no private fallback or remediation. OSConfig 1.5; see CHANGELOG.md.
- Corrected pinned 2610 references (423/397 settings), shared-reader probe and independent known-writer-issue advisories. Effective-intent integration and live qualification remain gated. See CHANGELOG.md.
- Add bounded recorded-customization/default evidence and separate scalar comparisons in OSConfig HTML/JSON/CSV/PassThru. Preserve published counts, source failures and historical replay; no precedence inference or remediation.
- Connectivity 1.3: detailed failed/inspection endpoint file and structured HTTP attempts, headers, available body/error text and certificate evidence in JSON/PassThru. No extra probes. See CHANGELOG.md.
- OSConfig 1.5; Defender/baseline 1.1: WDAC, SAM-primary account policy, supporting export comparisons, collection coverage, reboot INFO; read legacy 1.0. See CHANGELOG.md.
- Add phase timing, reuse fresh node Drift Control evidence, avoid summary-only HTML, and batch post-sweep connectivity probes. Fix StrictMode exceptional paths, destination ports and conditional ASR absence warnings.

## v0.7.1

- NTP reachability requires native exit zero and two timing samples; retries and cluster result contracts remain intact. Synchronization health remains a separate OSConfig assessment.
- Correct both remote-registry baseline paths and align Device Guard validation with its policy key in both bundled CSVs. Hashes and provenance identify local corrections pending upstream.
- No runtime path overrides, policy changes or schema changes. Update the module and rerun collection; CSVs are bundled, not downloaded at runtime. Full details in CHANGELOG.md.

## v0.7.0

- OSConfig schema 1.4 adds baseline/Defender evidence to reports, PassThru and HealthSummaryOnly. Missing evidence never passes; stored policy remains supporting evidence.
- Read-only LSA, local-account/SAM and Schannel checks extend coverage without policy/authentication changes. Typed comparisons preserve raw evidence. Full limitations in CHANGELOG.md.
- Defender separates findings, coverage and attribution. Cluster metadata collected once; improved summaries, themes, links and partial-failure handling.
- Connectivity schema 1.2 adds redirect and TCP/DNS diagnostics without replacing Layer-7 results. IP text prefers IPv4 with IPv6 fallback; manual tests honor inventory ports/Arc Gateway.
- Downloads validate transfers with bounded recovery; trust/access/protocol failures remain failures. Unavailable speed does not abort reports.

## v0.6.9

- OSConfig schema 1.3 reports component evidence; partial healthy evidence is SKIPPED.
- Layer 7 retries transient connection failures once.
- Test-ArcMachinePrivateLinkScopeEnabled validates full Arc machine IDs and queries the encoded subscription instead of relying on the active Az context.
- Reconciles Get-AzStackHciVMCheckpointHealth through upstream v0.2.33: bounded historic jobs with explicit incomplete coverage, evidence-incomplete report totals, corrected VmEvents example, VM-associated ImageStore AVHDX classification, aggregate attached-chain size, and all v0.2.32 identity/event/artifact/confidence improvements.
- Initializes StrictMode cleanup and fallback state before exception-prone proxy parsing, range-probe, TLS-request, diagnostic-upload, preference-restoration, and cluster page-file paths. Normal single-proxy connectivity tests now reach download testing and final HTML/CSV report-location output.
- Separates canonical reports and restore backups into typed Reports and Backups folders. Report producers warn about recognized artifacts older than 180 days without deleting them. Remove-AzStackHciDiagnosticArtifact provides explicit WhatIf/ShouldProcess cleanup; backups require explicit selection, valid checksums, 730-day age by default, and retention of at least five newest valid files. Restore prefers typed backup folders and falls back to the legacy root. ACLs are unchanged.
- Page-file backups now use a versioned SHA-256 payload; restore validates path, filename, schema, target, and sizes before mutation. Unsigned legacy backups require -AllowLegacyUnsignedBackup, and page-file restore reports rollback outcome.
- Page-file, memory-dump, and user-mode crash-dump cluster restores now return one result per target node with AttemptedNodeCount, ReturnedNodeCount, and Complete telemetry; failed apply operations include rollback telemetry.
- Connectivity fan-out, checkpoint diagnostic and ownership fan-outs, and OS-config Drift Control collection now use a shared 30-minute deadline, stop timed-out jobs, preserve completed evidence, and report incomplete outcomes explicitly.
- Introduces Get-AzStackHciVMCheckpointHealth, a read-only checkpoint, differencing-disk, Hyper-V Replica, storage, event, and VSS health assessment with TXT, CSV, HTML, telemetry, debug-log, and ZIP artifacts.
- The command indexes events by VM identity, identifies the audited VM in event CSV rows, guarantees event CSV artifacts for early exits, classifies cluster-role/Hyper-V inventory mismatches explicitly, and distinguishes VHD topology completeness from file-metadata completeness.
- CSVs reporting IncompatibleFileSystemFilter receive conditional read-only validation guidance for CSV state, cross-node minifilters, and recent Failover Clustering events. FileSystemReFs alone remains expected, and the report does not instruct operators to unload a filter.
- Checkpoint reports distinguish disk/checkpoint age, retain VM attribution and replica/CSV advisories, and separate unreferenced disks from ownership mismatches. Windows PowerShell 5.1 only; see CHANGELOG.md.
- Test-AzureLocalConnectivity now warns when -ForceGitHubEndpointsUpdate is used WITHOUT -NoAutoUpdate (the GitHub endpoint refresh is already attempted by default, so the switch is a no-op on its own) — mirrors the existing -InstallMissingModuleOnNodes guidance.
- Get-AzStackHciOsConfigSettings pending-reboot detection regex tightened to require both "reboot" and "pending" so it can never accidentally match the "No pending reboot" line.
- Cluster -PassThru JSONReportPath is now derived with [IO.Path]::ChangeExtension, so it always carries a .json extension and can never accidentally equal ReportPath.
- Output handling is hardened so -NoOutput state does not affect later calls, machine-level verbose/debug preferences do not leak into module output, and normal progress remains visible. Test-ArcMachinePrivateLinkScopeEnabled now also confirms when the Arc machine uses the expected public endpoints with no Private Link Scope assigned.
- Get-AzStackHciOsConfigSettings aligns HTML and -PassThru health outcomes: detected domain GPOs and Arc Agent version drift are warnings, complete local-only GPO evidence passes, and unavailable or N/A GPO evidence is shown as Unknown and skipped rather than reported as healthy.
- Pending reboot warnings now propagate through each affected node's HTML section, Events & Reboots sub-tab, and node tab. JSON and -PassThru expose typed trigger reasons under PendingRebootHealth.Details[] and every Nodes[].PendingReboot entry; the additive OS-config health-summary schema advances from 1.1 to 1.2.
- OSConfig CSV evidence is array-normalized for Windows PowerShell 5.1 single-row correctness. Power Plan consistency now measures agreement only; NTP-source and installed-program differences are warnings. Missing Drift Control is emitted as SKIPPED with node details, and StabilityEvents adds a uniform Details alias while preserving Events. Schema remains 1.2 before release.
- Connectivity HTML summaries now classify findings and distinguish configuration gaps from connectivity failures. OSConfig summaries wrap on mobile. Contracts are unchanged.

## v0.6.8

- OSConfig schema 1.1 adds predictable run subfolders beneath -ExportPath, explicit output paths and opt-in typed inventory. The default root is C:\ProgramData\AzStackHci.DiagnosticSettings; summary-only paths are null.
- Connectivity schema 1.1 replaces ArrayList NoteProperties with a structured -PassThru object: endpoint rows are in .Results and cluster node objects in .Nodes[]. This breaks consumers that treated the return itself as rows.
- Full migration details and release history are retained in CHANGELOG.md.

For v0.6.7 and earlier release history, see CHANGELOG.md shipped with this module.

FileList

Version History

Version Downloads Last updated
0.7.2 (current version) 253 11/24/2026
0.7.1 394 9/29/2026
0.7.0 30 9/25/2026
0.6.9 105 8/28/2026
0.6.8 219 7/15/2026
0.6.7 63 7/7/2026
0.6.6 755 4/28/2026
0.6.5 62 4/20/2026
0.6.4 30 4/17/2026
0.6.2 162 3/18/2026
0.6.1 297 12/4/2025
0.6.0 208 9/17/2025
0.5.9 35 9/10/2025
Show more