opexxx

PowerShellLogging.reg

Mar 8th, 2017
169
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
REG 0.70 KB | None | 0 0
  1. Windows Registry Editor Version 5.00
  2.  
  3. [HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Policies\Microsoft\Windows\PowerShell]
  4.  
  5. [HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Policies\Microsoft\Windows\PowerShell\ModuleLogging]
  6. "EnableModuleLogging"=dword:00000001
  7.  
  8. [HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Policies\Microsoft\Windows\PowerShell\ModuleLogging\ModuleNames]
  9. "*"="*"
  10.  
  11. [HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Policies\Microsoft\Windows\PowerShell\ScriptBlockLogging]
  12. "EnableScriptBlockLogging"=dword:00000001
  13.  
  14. [HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Policies\Microsoft\Windows\PowerShell\Transcription]
  15. "EnableTranscripting"=dword:00000001
  16. "OutputDirectory"=""
  17. "EnableInvocationHeader"=dword:00000001
Add Comment
Please, Sign In to add comment