-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathAdInsight.yml
44 lines (44 loc) · 1.58 KB
/
AdInsight.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.2"
description: AdInsight. LDAP (Light-weight Directory Access Protocol) real-time monitoring tool aimed at troubleshooting Active Directory client applications.
homepage: https://docs.microsoft.com/en-us/sysinternals/downloads/adinsight
license:
identifier: Freeware
url: https://docs.microsoft.com/en-us/sysinternals/license-terms
url: https://download.sysinternals.com/files/AdInsight.zip
hash: c613a6fabd3410bf91bda38fa0d2f9db6c63f79dba86e4a6a28379a290928ca1
pre_install: |
$sysint = 'HKCU:\SOFTWARE\Sysinternals'
$fin = "$sysint\ADInsight"
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\ADInsight" -ErrorAction 'SilentlyContinue' -Force -Recurse
if ((Get-ChildItem $sysInt).Count -eq 0) { Remove-Item $sysInt -ErrorAction 'SilentlyContinue' -Force -Recurse }
}
architecture:
64bit:
bin:
- AdInsight64.exe
- - AdInsight64.exe
- AdInsight
shortcuts:
- - AdInsight64.exe
- SysInternals\Insight for Active Directory
32bit:
bin: AdInsight.exe
shortcuts:
- - AdInsight.exe
- SysInternals\Insight for Active Directory
arm64:
bin:
- AdInsight64a.exe
- - AdInsight64a.exe
- AdInsight
shortcuts:
- - AdInsight64a.exe
- SysInternals\Insight for Active Directory
checkver: Insight for Active Directory\s+v([\d.]+)</h1
autoupdate:
url: https://download.sysinternals.com/files/AdInsight.zip