API Reference
Class
PowerShell
PowerShell policy keys (Module/ScriptBlock/Transcription).
Inheritance
- Object
- PowerShell
Inherited Methods
Fields
public const String Base #Base key for PowerShell policies.
Value:
Software\Policies\Microsoft\Windows\PowerShellpublic const String ModuleLogging_Enable #Enables module logging (DWORD 1).
Value:
ModuleLogging\EnableModuleLoggingpublic const String ScriptBlock_Enable #Enables script block logging (DWORD 1).
Value:
ScriptBlockLogging\EnableScriptBlockLoggingpublic const String Transcription_Enable #Enables PowerShell transcription (DWORD 1).
Value:
Transcription\EnableTranscripting