-
Notifications
You must be signed in to change notification settings - Fork 6
/
TCPView.yml
48 lines (48 loc) · 1.54 KB
/
TCPView.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
45
46
47
48
version: "4.19"
description: TCPView. Detailed listings of all TCP and UDP endpoints on system, including the local and remote addresses and state of TCP connections
homepage: https://docs.microsoft.com/en-us/sysinternals/downloads/tcpview
license:
identifier: Freeware
url: https://docs.microsoft.com/en-us/sysinternals/license-terms
url: https://download.sysinternals.com/files/TCPView.zip
hash: 4fc5ceba3e1b27ad95a24df35d094b454ec5f9478e12a8ca2b1b222705b9683b
pre_install: |
$sysint = 'HKCU:\SOFTWARE\Sysinternals'
$fin = "$sysint\TCPView"
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\TCPView" -ErrorAction 'SilentlyContinue' -Force -Recurse
if ((Get-ChildItem $sysInt).Count -eq 0) { Remove-Item $sysInt -ErrorAction 'SilentlyContinue' -Force -Recurse }
}
architecture:
64bit:
bin:
- tcpvcon64.exe
- - tcpvcon64.exe
- tcpvcon
- - tcpvcon64.exe
- tcpview
shortcuts:
- - Tcpview64.exe
- SysInternals\TCPView
32bit:
bin: tcpvcon.exe
shortcuts:
- - Tcpview.exe
- SysInternals\TCPView
arm64:
bin:
- tcpvcon64a.exe
- - tcpvcon64a.exe
- tcpvcon
- - tcpvcon64a.exe
- Tcpview
shortcuts:
- - Tcpview64a.exe
- SysInternals\TCPView
checkver: TCPView\s+v([\d.]+)</h1
autoupdate:
url: https://download.sysinternals.com/files/TCPView.zip