-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathInvoke-redirectToO4B.reg
32 lines (26 loc) · 2.09 KB
/
Invoke-redirectToO4B.reg
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
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Lieben Consultancy\O4BAM\Redirections]
[HKEY_LOCAL_MACHINE\SOFTWARE\Lieben Consultancy\O4BAM\Redirections\AppDataFolderExample]
"existingDataAction"="delete"
"source"="$($ENV:APPDATA)\\TempTest"
"target"="appdata\\test"
"setEnvironmentVariable"=dword:00000000
"hideSource"=dword:00000001
[HKEY_LOCAL_MACHINE\SOFTWARE\Lieben Consultancy\O4BAM\Redirections\DesktopExample]
"setEnvironmentVariable"=dword:00000001
"source"="Desktop"
"target"="\\Desktop"
"hideSource"=dword:00000001
"existingDataAction"="move"
[HKEY_LOCAL_MACHINE\SOFTWARE\Lieben Consultancy\O4BAM\Redirections\Downloads]
"setEnvironmentVariable"=dword:00000001
"source"="Downloads"
"target"="\\Downloads"
"hideSource"=dword:00000001
"existingDataAction"="move"
[HKEY_LOCAL_MACHINE\SOFTWARE\Lieben Consultancy\O4BAM\Redirections\MyDocsExample]
"setEnvironmentVariable"=dword:00000001
"source"="MyDocuments"
"target"="\\$($Env:USERNAME)\\Documents"
"hideSource"=dword:00000001
"existingDataAction"="move"