-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathwin-client-extra.yml
42 lines (42 loc) · 1.49 KB
/
win-client-extra.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
- name: install sysinternals
win_chocolatey:
state: present
name: "sysinternals"
# - name: Enable powershell command logging
# win_regedit:
# path: HKLM:\Software\Policies\Microsoft\Windows\PowerShell\ScriptBlockLogging
# name: EnableScriptBlockLogging
# data: 1
# type: dword
# - name: Enable module logging for powershell command logging
# win_regedit:
# path: HKLM:\Software\Policies\Microsoft\Windows\PowerShell\ModuleLogging
# name: EnableModuleLogging
# data: 1
# type: dword
# - name: Enable module logging for powershell command logging
# win_regedit:
# # path: HKLM:\Software\Policies\Microsoft\Windows\PowerShell\ModuleLogging
# # name: ModuleNames
# path: HKLM:\Software\Policies\Microsoft\Windows\PowerShell\ModuleLogging\ModuleNames
# name: "*"
# data: "*"
# type: string
# - name: Enable powershell command transcription
# win_regedit:
# path: HKLM:\SOFTWARE\Wow6432Node\Policies\Microsoft\Windows\PowerShell\Transcription
# name: EnableTranscripting
# data: 1
# type: dword
# - name: Enable powershell command with header
# win_regedit:
# path: HKLM:\SOFTWARE\Wow6432Node\Policies\Microsoft\Windows\PowerShell\Transcription
# name: EnableInvocationHeader
# data: 1
# type: dword
# - name: set powershell command transcription directory
# win_regedit:
# path: HKLM:\SOFTWARE\Wow6432Node\Policies\Microsoft\Windows\PowerShell\Transcription
# name: OutputDirectory
# data: ""
# type: string