Skip to content

Conversation

@arudell
Copy link
Member

@arudell arudell commented Nov 20, 2025

Description

This pull request makes minor improvements to the SDN diagnostics scripts by enhancing logging and clarifying the handling of function output. The main changes focus on providing better feedback after resource dumps and ensuring that command outputs are not unnecessarily displayed.

Enhancements to resource dump feedback and output handling:

  • Added a log message in Invoke-SdnResourceDump to indicate the number of files exported and the output directory, improving visibility into the results of the resource dump operation. (src/modules/SdnDiag.NetworkController.psm1)
  • Suppressed unwanted output from Invoke-SdnResourceDump in Start-SdnDataCollection by assigning the result to $null, ensuring cleaner script output. (src/SdnDiagnostics.psm1)

Change type

  • Bug fix (non-breaking change)
  • Code style update (formatting, local variables)
  • New Feature (non-breaking change that adds new functionality without impacting existing)
  • Breaking change (fix or feature that may cause functionality impact)
  • Other

Checklist:

  • My code follows the style and contribution guidelines of this project.
  • I have tested and validated my code changes.

@arudell arudell requested a review from a team as a code owner November 20, 2025 21:26
@arudell arudell linked an issue Nov 20, 2025 that may be closed by this pull request
@arudell arudell added the enhancement New feature or request label Nov 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Improve output of Invoke-SdnResourceDump

3 participants