API Reference
Class
LgpoPaths
Helper methods for locating Local Group Policy registry.pol files.
Inheritance
- Object
- LgpoPaths
Methods
public static String GetPolPath(String computerName, Boolean machine) #Returns:
StringGets the full path to the LGPO Registry.pol file on a local or remote computer.
Parameters
- computerName System.String
- Target host name or null/. for local machine.
- machine System.Boolean
- When true, returns the Machine scope path; otherwise, the User scope path.
Returns
Full path to the Registry.pol file for the requested scope.
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object