Commit e21eec9
authored
Change the order in which VMNetworkAdapter info is collected (#405)
# Description
This pull request includes changes to the `Get-CommonConfigState` and
`Get-ServerConfigState` functions in the `SdnDiag.Common.psm1` and
`SdnDiag.Server.psm1` files, respectively. The modifications aim to
enhance the data collection process for network adapter and Hyper-V
network details.
Changes in `Get-CommonConfigState`:
* Added commands to export VPort and VMQ Queue details.
Changes in `Get-ServerConfigState`:
* Reorganized and updated the gathering of Hyper-V network configuration
details, including the reintroduction of commands to export
VMNetworkAdapter and related details in a more efficient format.
[[1]](diffhunk://#diff-11217f20b55d3b4ea34c8c217794c81d65acc4852dff9bf4295e5cc4d6dfaeedL670-R674)
[[2]](diffhunk://#diff-11217f20b55d3b4ea34c8c217794c81d65acc4852dff9bf4295e5cc4d6dfaeedR704-R715)
# Change type
- [x] 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:
- [x] My code follows the style and contribution guidelines of this
project.
- [x] I have tested and validated my code changes.1 parent 8910552 commit e21eec9
2 files changed
+17
-13
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
535 | 535 | | |
536 | 536 | | |
537 | 537 | | |
| 538 | + | |
| 539 | + | |
538 | 540 | | |
539 | 541 | | |
540 | 542 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
667 | 667 | | |
668 | 668 | | |
669 | 669 | | |
670 | | - | |
671 | | - | |
672 | | - | |
673 | | - | |
674 | | - | |
675 | | - | |
676 | | - | |
677 | | - | |
678 | | - | |
679 | | - | |
680 | | - | |
681 | | - | |
682 | | - | |
683 | 670 | | |
684 | 671 | | |
| 672 | + | |
| 673 | + | |
| 674 | + | |
685 | 675 | | |
686 | 676 | | |
687 | 677 | | |
| |||
711 | 701 | | |
712 | 702 | | |
713 | 703 | | |
| 704 | + | |
| 705 | + | |
| 706 | + | |
| 707 | + | |
| 708 | + | |
| 709 | + | |
| 710 | + | |
| 711 | + | |
| 712 | + | |
| 713 | + | |
| 714 | + | |
| 715 | + | |
714 | 716 | | |
715 | 717 | | |
716 | 718 | | |
| |||
0 commit comments