-
Notifications
You must be signed in to change notification settings - Fork 6
/
PsService.yml
36 lines (36 loc) · 1.36 KB
/
PsService.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
version: "2.26"
description: PsService. Local and remote service information and configuration utility
homepage: https://docs.microsoft.com/en-us/sysinternals/downloads/psservice
license:
identifier: Freeware
url: https://docs.microsoft.com/en-us/sysinternals/license-terms
architecture:
64bit:
url: https://live.sysinternals.com/PsService64.exe
hash: 554f523914cdbaed8b17527170502199c185bd69a41c81102c50dbb0e5e5a78d
bin:
- PsService64.exe
- - PsService64.exe
- PsService
32bit:
url: https://live.sysinternals.com/PsService.exe
hash: d3a816fe5d545a80e4639b34b90d92d1039eb71ef59e6e81b3c0e043a45b751c
bin: PsService.exe
pre_install: |
$sysint = 'HKCU:\SOFTWARE\Sysinternals'
$fin = "$sysint\PsService"
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\PsService" -ErrorAction 'SilentlyContinue' -Force -Recurse
if ((Get-ChildItem $sysInt).Count -eq 0) { Remove-Item $sysInt -ErrorAction 'SilentlyContinue' -Force -Recurse }
}
checkver: PsService\s+v([\d.]+)</h1
autoupdate:
architecture:
64bit:
url: https://live.sysinternals.com/PsService64.exe
32bit:
url: https://live.sysinternals.com/PsService.exe