-
Notifications
You must be signed in to change notification settings - Fork 6
/
AdExplorer.yml
44 lines (44 loc) · 1.49 KB
/
AdExplorer.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
43
44
version: "1.52"
description: AdExplorer. Advanced Active Directory (AD) viewer and editor
homepage: https://docs.microsoft.com/en-us/sysinternals/downloads/adexplorer
license:
identifier: Freeware
url: https://docs.microsoft.com/en-us/sysinternals/license-terms
url: https://download.sysinternals.com/files/AdExplorer.zip
hash: 56536bff1e9da136a53f68c6f4f1cd51f79be919a27249a193a2bc8fc472e89a
pre_install: |
$sysint = 'HKCU:\SOFTWARE\Sysinternals'
$fin = "$sysint\Active Directory Explorer"
New-Item $sysint, $fin -ErrorAction 'SilentlyContinue' | Out-Null
Set-ItemProperty -Path $fin -Name 'EulaAccepted' -Value 1 -Type 'DWord' -Force | Out-Null
pre_uninstall: |
if ($purge) {
$sysInt = 'HKCU:\SOFTWARE\Sysinternals'
Remove-Item "$sysInt\Active Directory Explorer" -ErrorAction 'SilentlyContinue' -Force -Recurse
if ((Get-ChildItem $sysInt).Count -eq 0) { Remove-Item $sysInt -ErrorAction 'SilentlyContinue' -Force -Recurse }
}
architecture:
64bit:
bin:
- AdExplorer64.exe
- - AdExplorer64.exe
- AdExplorer
shortcuts:
- - AdExplorer64.exe
- SysInternals\AdExplorer
32bit:
bin: AdExplorer.exe
shortcuts:
- - AdExplorer.exe
- SysInternals\AdExplorer
arm64:
bin:
- AdExplorer64a.exe
- - AdExplorer64a.exe
- AdExplorer
shortcuts:
- - AdExplorer64a.exe
- SysInternals\AdExplorer
checkver: Active Directory Explorer\s+v([\d.]+)</h1
autoupdate:
url: https://download.sysinternals.com/files/AdExplorer.zip