-
Notifications
You must be signed in to change notification settings - Fork 6
/
Coreinfo.yml
30 lines (30 loc) · 1.25 KB
/
Coreinfo.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
version: "3.6"
description: Coreinfo. Shows the mapping between logical processors and the physical processor, NUMA node, and socket on which they reside, as well as the cache's assigned to each logical processor.
homepage: https://docs.microsoft.com/en-us/sysinternals/downloads/coreinfo
license:
identifier: Freeware
url: https://docs.microsoft.com/en-us/sysinternals/license-terms
url: https://download.sysinternals.com/files/Coreinfo.zip
hash: 969a77fd34f20d41ba6af8dac450bca7ea39d47c2bbf431dbf4e14e77ddab09c
pre_install: |
$sysint = 'HKCU:\SOFTWARE\Sysinternals'
$fin = "$sysint\Coreinfo"
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\Coreinfo" -ErrorAction 'SilentlyContinue' -Force -Recurse
if ((Get-ChildItem $sysInt).Count -eq 0) { Remove-Item $sysInt -ErrorAction 'SilentlyContinue' -Force -Recurse }
}
architecture:
64bit:
bin:
- Coreinfo64.exe
- - Coreinfo64.exe
- Coreinfo
32bit:
bin: Coreinfo.exe
checkver: Coreinfo\s+v([\d.]+)</h1
autoupdate:
url: https://download.sysinternals.com/files/Coreinfo.zip