API Reference
Class
WinRmLocalService
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:
ViewReturns WinRM service security settings for the specified controller (reads remote HKLM policy keys).
Parameters
- domainName System.String
- DNS domain name (optional).
- controller System.String
- Target DC NetBIOS/DNS name.