-
Notifications
You must be signed in to change notification settings - Fork 6
/
NTFSInfo.yml
30 lines (30 loc) · 1.25 KB
/
NTFSInfo.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: "1.2"
description: NTFSInfo. Shows detailed information about NTFS volumes, including the size and location of the Master File Table (MFT) and MFT-zone, as well as the sizes of the NTFS meta-data files.
homepage: https://docs.microsoft.com/en-us/sysinternals/downloads/ntfsinfo
license:
identifier: Freeware
url: https://docs.microsoft.com/en-us/sysinternals/license-terms
url: https://download.sysinternals.com/files/NTFSInfo.zip
hash: c71445a4d8df9ccb21923beb575e315529e264ad672de445110aabdc01bc5a9d
pre_install: |
$sysint = 'HKCU:\SOFTWARE\Sysinternals'
$fin = "$sysint\NTFSInfo"
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\NTFSInfo" -ErrorAction 'SilentlyContinue' -Force -Recurse
if ((Get-ChildItem $sysInt).Count -eq 0) { Remove-Item $sysInt -ErrorAction 'SilentlyContinue' -Force -Recurse }
}
architecture:
64bit:
bin:
- ntfsinfo64.exe
- - ntfsinfo64.exe
- ntfsinfo
32bit:
bin: ntfsinfo.exe
checkver: NTFSInfo\s+v([\d.]+)</h1
autoupdate:
url: https://download.sysinternals.com/files/NTFSInfo.zip