TestimoX

API Reference

Class

PowerShellLoggingState

Namespace ADPlayground.Gpo.PowerShellLoggingAnalyzer
Assembly ADPlayground
Implements
IEquatable<PowerShellLoggingState>
Modifiers sealed

Effective PowerShell logging state derived from policy.

Inheritance

  • Object
  • PowerShellLoggingState

Constructors

public PowerShellLoggingState(String DomainName, String TargetDn, Boolean ModuleLogging, Boolean ScriptBlockLogging, Boolean Transcription) #

Effective PowerShell logging state derived from policy.

Parameters

DomainName System.String requiredposition: 0
Target domain.
TargetDn System.String requiredposition: 1
Policy target distinguished name.
ModuleLogging System.Boolean requiredposition: 2
True when module logging is enabled.
ScriptBlockLogging System.Boolean requiredposition: 3
True when script block logging is enabled.
Transcription System.Boolean requiredposition: 4
True when transcription is enabled.

Methods

public PowerShellLoggingState <Clone>$() #
Returns: PowerShellLoggingState
public Void Deconstruct(out String DomainName, out String TargetDn, out Boolean ModuleLogging, out Boolean ScriptBlockLogging, out Boolean Transcription) #
Returns: Void

Parameters

DomainName String requiredposition: 0
TargetDn String requiredposition: 1
ModuleLogging Boolean requiredposition: 2
ScriptBlockLogging Boolean requiredposition: 3
Transcription Boolean requiredposition: 4
public virtual Boolean Equals(PowerShellLoggingState other) #
Returns: Boolean

Parameters

obj Object requiredposition: 0
public override Int32 GetHashCode() #
Returns: Int32
public override String ToString() #
Returns: String

Properties

public String DomainName { get; set; } #

Target domain.

public String TargetDn { get; set; } #

Policy target distinguished name.

public Boolean ModuleLogging { get; set; } #

True when module logging is enabled.

public Boolean ScriptBlockLogging { get; set; } #

True when script block logging is enabled.

public Boolean Transcription { get; set; } #

True when transcription is enabled.