I created a Powershell / PWSH Wrapper for SDK3 ...

Discussion related to "Everything" 1.5.
noldi
Posts: 2
Joined: Fri Aug 22, 2025 1:28 pm

I created a Powershell / PWSH Wrapper for SDK3 ...

Post by noldi »

Hey Everyone :D

I've created a PowerShell wrapper. (general-purpose workarounds with es.exe are no longer necessary.)

https://github.com/gitnol/PowerEverything3

Tested it with:
- PowerShell 7.6.9
- Everything 1.5.0.1424b-x64
- SDK Version 3.0.1.12

Update: see the latest "What's new" post below: What's new

Perhaps someone needs this. Feel free to clone and modify.
Thanks to voidtools for these awesome products. Saved me so much lifetime.. Thanks again!
Last edited by noldi on Tue Nov 03, 2026 6:32 pm, edited 1 time in total.
noldi
Posts: 2
Joined: Fri Aug 22, 2025 1:28 pm

Re: I created a Powershell / PWSH Wrapper for SDK3 ...

Post by noldi »

What's new – PowerEverything3 0.1.0

Everything SDK 3.0.0.9
  • Updated Everything3_x64.dll to SDK 3.0.0.9 (more robust connection when Everything is busy, SDK crash fixes)
  • Tested with Everything 1.5.0.1423b and PowerShell 7.5/7.6
Fixes
  • Text properties (Name, Path, Extension, Type) now return the full text instead of only the first character
  • -Properties Name and -SortBy @{Property='Name'} now work (were silently ignored)
  • Index, count and size values are passed to the SDK as proper 64-bit values (SIZE_T)
  • Size is $null instead of 18446744073709551615 when unknown (e.g. folders)
New
  • -MaxResults 0 returns all results
  • -Offset for paging through large result sets
  • -CheckExists optionally verifies that each result still exists
  • About 12× faster: 5,000 results in 0.5 s instead of 6.3 s
  • Loading the module no longer writes to the console (messages via -Verbose)
Practical example: Examples/Find-ArchivesWithExtractedFolder.ps1
  • Finds archives (zip, 7z, rar, iso, tar.gz …) left next to their extracted folder
  • Scans a whole file server in seconds (-AllShares); falls back to a file-system scan without Everything
  • Resolves owners via AD (no RSAT needed), writes a CSV and optionally mails the owners with \\server\share links
  • Never deletes anything
Please note
  • Exists is only filled with -CheckExists, otherwise $null
  • Requires PowerShell 7.0+ (Windows PowerShell 5.1 was never supported; the README previously said otherwise)
Repository: github.com/gitnol/PowerEverything3
noldi
Posts: 2
Joined: Fri Aug 22, 2025 1:28 pm

Re: I created a Powershell / PWSH Wrapper for SDK3 ...

Post by noldi »

What's new – PowerEverything3 (update after 0.1.0)

Everything SDK 3.0.1.12
  • Updated Everything3_x64.dll from SDK 3.0.0.9 to 3.0.1.12 (multiple sessions support, better waiting on busy pipes)
  • Tested with Everything 1.5.0.1424b (and 1.5.0.1423b) and PowerShell 7.6.9
Fixes
  • Find-Files -Extensions returned no results on Everything 1.5. The query was built as (ext:a|ext:b), but Everything does not treat round brackets as grouping. It now builds ext:a;b, and leading dots (.pdf) are accepted
  • Thanks to andbrai for reporting this and for the patch (issue #1). I did not take over ext:a|b as it means "ext:a OR name contains b" and returned false hits such as docxlist.xml
New
  • Integration tests (Pester) for Find-Files -Extensions: tests/Integration, own fixture folder in %TEMP%, results compared with the file system
  • skills/everything-search: a skill for AI coding agents (e.g. Claude Code) with the usage of the module and the search-syntax pitfalls below
Search syntax pitfalls (measured on 1.5.0.1423b and 1.5.0.1424b)
  • Round brackets do not group: * (ext:pdf) finds nothing. Use < > for grouping
  • Several extensions: ext:pdf;docx, not ext:pdf|docx
  • Everything indexes long paths. A path like C:\Users\NAME~1.X\... (8.3 short name, e.g. from %TEMP%) finds nothing
  • "C:\Folder" counts the folder itself, "C:\Folder\" does not: an empty folder gives 1 hit without and 0 with the trailing backslash
Please note
  • Find-Files -Extensions needs this update. Before, it silently returned nothing
  • Everything 1.5.0.1424b removes the old beta instance "1.5a". Connect-Everything -InstanceName '1.5a' now fails with "pipe not found"; the default instance works
  • Everything 1.5.0.1424b only accepts connections from programs in the same Windows session. A scheduled task running without a logged-on user (session 0) can open a connection, but its first search fails with error 0xE0000003. If you need this, run the script in the user's session or use a normal file system scan instead. I tested only this one case (not RDP sessions)
Repository: github.com/gitnol/PowerEverything3
Last edited by noldi on Tue Nov 03, 2026 7:18 pm, edited 1 time in total.