TestimoX

API Reference

Class

PsLoggingPolicyQuery

Namespace ComputerX.SecurityPolicy
Assembly ComputerX
Modifiers static

Reads PowerShell logging policy (Windows PowerShell/Core) from policy registry keys.

Inheritance

  • Object
  • PsLoggingPolicyQuery

Methods

public static PsLoggingPolicyState Get(String computerName = null) #
Returns: PsLoggingPolicyState

Gets PowerShell logging policy for a computer.

Parameters

computerName System.String = null optionalposition: 0