Skip to content

Check ps remoteaccess class present#584

Merged
arudell merged 5 commits into
mainfrom
check-ps_remoteaccess-class-present
Jun 9, 2026
Merged

Check ps remoteaccess class present#584
arudell merged 5 commits into
mainfrom
check-ps_remoteaccess-class-present

Conversation

@arudell

@arudell arudell commented Jun 4, 2026

Copy link
Copy Markdown
Member

Description

This pull request introduces a new health check for SDN Gateway nodes to ensure the RemoteAccess CIM class is available, which helps verify that the necessary WMI providers for gateway functionality are installed and operational. The new test is integrated into the gateway diagnostics workflow and its metadata is added to the configuration.

New Gateway Health Check:

  • Added Test-SdnGatewayRemoteAccessCimClass function to validate that the PS_RemoteAccess CIM class is accessible in the root/microsoft/windows/remoteaccess namespace, ensuring the RemoteAccess role is installed and functional on Gateway nodes.
  • Integrated the new health check into the Debug-SdnGateway diagnostic workflow, so it runs automatically with other gateway tests.
  • Registered the new test and its metadata (friendly name, description, impact) in the SdnDiag.Health.Config.psd1 configuration file for reporting and documentation purposes.

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 added 2 commits June 4, 2026 13:07
Added a new health test function to validate RemoteAccess CIM class accessibility.
@arudell arudell requested a review from a team as a code owner June 4, 2026 18:07
@arudell arudell enabled auto-merge (squash) June 9, 2026 15:41
@arudell arudell merged commit ae89a92 into main Jun 9, 2026
8 checks passed
@arudell arudell deleted the check-ps_remoteaccess-class-present branch June 9, 2026 19:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants