TestimoX

API Reference

Class

WinRmLocalService

Namespace ADPlayground.DomainControllers
Assembly ADPlayground
Modifiers static

Reads local Windows Remote Management (WinRM) security posture on a Domain Controller via Remote Registry. Focuses on allowing unencrypted traffic, Basic authentication, and storing RunAs credentials under the WinRM Service policy keys.

Inheritance

  • Object
  • WinRmLocalService

Methods

public static View Get(String domainName, String controller) #
Returns: View

Returns WinRM service security settings for the specified controller (reads remote HKLM policy keys).

Parameters

domainName System.String requiredposition: 0
DNS domain name (optional).
controller System.String requiredposition: 1
Target DC NetBIOS/DNS name.