Repository navigation
Releases
PS Tools v4.0.1
PS Tools 4.0.1
Patch release on top of 4.0.0. It fixes the popup freezing and the slow right-click, makes the Explorer menu registration safer, and ships a new icon.
What is fixed since 4.0.0
- Faster right-click. Tool checks (git, code, winget and the like) no longer start a
cmd /c whereprocess before every popup. PATH and PATHEXT are searched inside the app instead. - No more hung helper processes. Commands run by the app read both output streams asynchronously, so the timeout applies and a hung process is killed.
- Multi-selection. The popup now keeps waiting while selected files are still arriving, up to 10 seconds, and stops after 4 seconds without a new file. Selecting 200 files lists all 200 in one popup. A leftover lock from a crashed popup clears after 8 seconds.
- Explorer menu registration. The registry plan is built before anything is changed, empty values are skipped, and a single broken favorite is dropped instead of removing the whole PS Tools menu.
- Popup focus. The Power menu retries taking foreground and focus after it is shown.
- Main window. One tooltip is reused instead of creating a new one on every activation.
What is new
- New icon. Blue tile with a gear, a prompt and a magnifier, in
app.icoat 16, 24, 32, 48, 64 and 256 px.app/make-icon.ps1redraws the same icon. - CI failure annotations. Failed UI scenarios, script exceptions, visual diffs and strict lint issues are printed as annotations, so a red run shows its cause without downloading logs.
Known gaps
- Not tested on real hardware. In particular, how Windows 11 shows the entries in its modern right-click menu on a real PC.
- The exe is not code-signed, so SmartScreen may warn the first time.
- The v3 dialogs that v4 does not redesign (Recipes, Rename, Search, Structure, Library, Results grid, Space map) keep their v3 look and still have pixel lint warnings.
Install
Unzip all files into one folder and run PSTools.exe. actions.json, cheatsheet.json and commands.json must stay next to the exe. No installer and no background process. Settings and history are kept under %LOCALAPPDATA%\PSTools and in HKCU. Check the download with SHA256.txt.
PS Tools v4.0.0
PS Tools 4.0.0
PS Tools v4 is a rebuild of the v3 tool around one action model, a keyboard-first Power menu, a Run console, a cheat sheet and a folder of your own scripts.
What is new since v3.1.0
- New main window. Home (working folder, suggestions, favorites, recent runs, get started), Actions (the full tree with search and a details card), Run, Cheat sheet, History and Settings. Ctrl+1 to Ctrl+6 switch pages, Ctrl+K opens the Power menu.
- One action model. The v3 actions were converted into a catalog with ids, menu paths, contexts and risk levels, and more than 300 actions ship in total. Your own actions live in a folder and can override or hide built-in ones. A Problems list shows broken user actions.
- Power menu. Right-click, open the Power menu, type two or three letters and press Enter. Recent, Suggested and Favorites sections, ranked search, keys 1 to 9, details on
?, inline inputs, and a Shift view for rare or risky actions. Starring an action puts it in the Explorer menu right away. - Run console. Windows PowerShell 5.1, PowerShell 7 or cmd, autocomplete, history with Ctrl+R (PSReadLine history can be imported), Stop kills the whole process tree, show as table, copy command plus output, open in terminal. Commands that change files are flagged and ask first (you can turn that off in Settings).
- Save as action. Turn any command you ran into a menu action, with placeholders such as
{dir}and{input:...}. - Cheat sheet. 399 task-style PowerShell entries in 25 categories, a cmd to PowerShell table (61 rows) and a bash to PowerShell table (106 rows). Searching
grepfinds Select-String. Try here opens the example in the Run console and never runs it. Save as action keeps placeholders. - Your own actions. Drop a
.ps1,.cmdor.batwith a comment header into%LOCALAPPDATA%\PSTools\actions\.docs/USER_ACTIONS.mdlists every key and placeholder and has ten examples that CI loads with the real parser. - One-screen first run and a Settings page with the Explorer menu (favorites, order, preview), the actions folder and its problems, Run console options, data and privacy, and About. The old presets and the separate menu preview window are gone.
Verification
Everything was verified on GitHub Actions windows-latest runners: build with the real .NET Framework csc, self-test, action tests with golden files and undo checks, a parse of every declarative command and every cheat sheet entry on Windows PowerShell 5.1, execution of 224 cheat sheet entries, UI Automation scenarios including a keyboard-only tour, and light and dark screenshots at 100% and 150% with a pixel diff against reviewed baselines and a pixel lint.
Known gaps
- Not tested on real hardware. In particular, how Windows 11 shows the entries in its modern right-click menu on a real PC (the classic-menu switch in the first-run screen avoids "Show more options").
- The exe is not code-signed, so SmartScreen may warn the first time.
- 175 cheat sheet entries (network, administrator, file-changing and a few slow ones) are parsed and risk-checked but never executed in CI.
- The v3 dialogs that v4 does not redesign (Recipes, Rename, Search, Structure, Library, Results grid, Space map) keep their v3 look and still have pixel lint warnings.
- Cold start to a visible Power menu was measured at a median of about 470 ms on CI (first launch of a fresh exe about 700 ms to 1 s), above the 700 ms target for a first launch only.
Install
Unzip all files into one folder and run PSTools.exe. actions.json, cheatsheet.json and commands.json must stay next to the exe. No installer and no background process. Settings and history are kept under %LOCALAPPDATA%\PSTools and in HKCU, as in v3. Migration backs up your settings and leaves recipes and undo history untouched. Check the download with SHA256.txt.
Release v3.1.0
Release notes: PS Tools v3.1.0
Right-click menu
New Menu page with presets (Minimal, Everyday, Developer, Everything), one list per context (folder, background, file, drive), and an Add... menu for pins and groups.
Pins are saved and applied to the Explorer menu right away. No separate Apply step.
The preview shows the exact menu with foldable groups. Pinned entries are starred, and the same plan drives the real install.
Full uninstall and Remove Explorer menu are always visible and no longer clip at 125%, 150% or 200% scaling.
Actions and commands
Every action has a PowerShell equivalent: view it, edit it, copy it, run it here, open PowerShell with it, or pin it. The 90 snippets are parse-checked against PowerShell 7.
The command library and recipes auto-update the installed menu when you change pins or save.
Smart suggestions
Suggestions based on what is installed (for example git) and on recent use. They show first in the palette as “Suggested: reason”.
UI polish
One consistent font scale, themed dropdowns, and double-buffered painting for less flicker, in both light and dark themes.
“Edit commands.json” moved into the Command library’s top bar so it can’t be pushed off-screen.
Under the hood
A built-in --selftest (15 checks) and --dump-snippets for CI.
Settings migrate from v2 automatically.
tools/snippet-check.ps1 and tools/layout-check.ps1 verify snippets and layouts.
Release v3.0.0
Release notes: v3.0.0
New
Pins per context. Choose where you right-click (Folder, Inside a folder, File, Drive) and pin up to 12 actions to the top of that menu, in the order you want. Pinning an action also turns it on.
Menu changes apply on their own. Every change is saved at once and the Explorer menu updates about a second later. There is no Apply button; if the menu isn’t installed yet, an Install Explorer menu button appears.
Live preview. The preview is built from the same plan as the real menu, with a “Holding Shift” switch.
PowerShell equivalent. Select any action to see what it does, whether it changes files, whether Undo covers it, where it appears, and the PowerShell command that does the same thing. Use Copy command, or Open PowerShell with command, which opens PowerShell in the folder with the command on your clipboard. Nothing runs by itself.
Suggested here. The action list and Ctrl+K show actions that fit the folder (pictures, zip files, git repos, build folders, project files, big folders, likely duplicates) and what’s on your clipboard. Suggestions only appear in the window, not in the Explorer menu.
Keep your pinned actions? Choosing a preset no longer wipes your pins.
--selftest and --dump-snippets command-line options for checking the build.
Fixed
Overlapping or ghost text on checkboxes and radio buttons, and blue system-colored group headers, in the setup guide, preview, main window and command library.
Pinned command-library snippets and recipes now update the installed menu without a manual Apply.
Upgrading
Old fav= favorites are converted to pins for every context where the action applies (in that context’s defaults, or in every supported context if it isn’t in any). Settings are saved as version 3, so downgrading to 2.x loses the pins.
Known
In the Everyday preset, “Inside a folder” has 13 top-level entries (12 pins and groups plus the “open PS Tools” entry), one over the spec’s limit of 12 if you count that entry. I counted only pins and groups. Dropping one default pin would fix it.
Release v2.6.0
PS Tools v2.6.0
Polish: clearer pinning, a setup guide you can reopen, and more consistent controls and dialogs.
New
- Pin groups: pin a whole group to put its submenu first in the right-click menu. Pinned actions and groups show a star.
- Pin from anywhere: select an item on the Menu page and use the pin button, right-click it, or use Pin next to Run on the Actions page.
- Setup guide: reopen the first-run dialog any time from the left rail, the Menu page or the Ctrl+K palette. It starts on your current preset.
- Dialogs and controls: messages and confirmations now match the app, in dark mode too. Checkboxes and radio buttons are drawn in the Windows 11 style. Drop-downs, spin boxes, scrollbars and context menus follow dark mode.
Fixed
- The pin button now says what it will do, and is disabled until you select something. Before, it quietly unpinned actions that were pinned by default.
- Run and Pin buttons could wrap out of view at the smallest window size.
Good to know
- Choosing a preset, including from the setup guide, replaces your choices and clears pins.
Footprint and uninstall
- Settings gain optional
pingroup=lines. No new files or registry keys. Full uninstall removes the same things as before.
Release v2.5.0
PS Tools v2.5.0
A new look: PS Tools now looks and behaves like a Windows 11 app.
New
- Navigation rail: switch between Actions and Menu and settings, and open Recipes, Undo history and Space map, from the left.
- Windows 11 design: rounded cards and controls, buttons with hover and press animation, focus rings, a selection pill with an accent bar, and icons per module. It follows your system light or dark theme and your Windows accent color.
- Fonts and icons: Segoe UI Variable and the Fluent icon font when installed. Windows 10 falls back to Segoe UI and Segoe MDL2 Assets.
- Every window restyled: command palette, recipes, undo history, space map, rename, search, structure, update and first-run all share the new look. The progress dialog has an accent progress bar and the toast is a card.
- Keyboard: Tab into the rail, Up and Down to move, Enter to open.
Fixed
- Text that was cut off in the first-run dialog, the main window tip, the command library and the update window.
- List columns now fill the window width.
Good to know
- The minimum window size is now 860 x 520.
- The History button moved into the rail as Undo history.
Footprint and uninstall
- No new files, no images, no fonts and no registry writes. It only reads your theme and accent color. Full uninstall removes the same things as before.
For developers
- New
Fluent.cswith the controls.layout-check.ps1also detects clipped label text.
Release v2.2.0
PS Tools v2.2.0
Undo is now a history, and you can see where your disk space went.
New
- Undo history: the History... button (also Undo history... in the Ctrl+K palette and the folder background menu) lists the last 10 operations, newest first. Select one to see exactly what undoing it will do. Undo goes in order, so Undo this and the N above it also undoes everything newer. A recipe counts as one operation.
- Folder space map: Folder space map... (Inspect module, and the right-click menu) scans a folder and draws it as colored tiles sized by the space they take, with the contents of folders visible inside them. Click a folder to open it, Backspace goes up. Right-click a tile to open it, show it in Explorer, copy its path or move it to the Recycle Bin (after asking). The scan can be cancelled and shows what it found so far. Nothing changes unless you choose the Recycle Bin.
Good to know
- History keeps the last 10 operations and up to 1 GB of backups. When it goes over, the oldest entries and their backups are deleted. Clear history deletes all of it.
- The old single
undo.txtmoves into the history automatically on first use. - The space map skips links and junctions and groups each folder's smaller files after its 80 largest.
- Folder space map and Undo history... are in the Everyday preset. If you already use a preset, pick it again or tick them on the Menu page to add them.
Footprint and uninstall
- Undo history lives in
%LOCALAPPDATA%\PSTools\undowith backups inundo-data. Full uninstall deletes both, as before. No new registry keys.
For developers
- New
Journal.cs,Space.cs,SpaceForm.cs,UndoHistoryForm.csandMapActions.cs.footprint-check.ps1now checks the new undo folder, andlayout-check.ps1covers the new windows.
Release v2.1.0
PS Tools v2.1.0
Recipes: chain actions into your own one-click workflows, with a single confirmation and a single Undo.
New
- Recipes: a recipe is a named list of actions that run one after another on the same selection. Open Manage recipes... from the action list, the Ctrl+K palette, or the Recipes module.
- Recipe editor: create, copy and delete recipes, add, remove and reorder steps, and pick steps from a searchable list with a hint for each. You can also add three example recipes, import recipes from a file, and export one to share. Ctrl+S saves.
- One OK: if any step asks for confirmation, you see every step and answer once.
- One Undo: Undo last reverts the whole recipe, not just the last step. If a step fails or you cancel, the earlier steps stay undoable.
- Right-click menu: tick Show in the right-click menu on a recipe and press Apply to Explorer menu. It appears in a Recipes submenu, only for the kinds of item all its steps support.
- Checks before running: a recipe with a missing step, no steps, or steps that mix files and folders is listed but refuses to run, and says why. The editor marks bad steps in red.
Good to know
- Every step runs on the items you picked. A step does not receive files an earlier step created, but it sees the changes earlier steps made to your items. "Sort, then remove empty folders" works; "resize images, then zip the resized copies" does not.
- These are not offered as steps: result lists (find duplicates, folder sizes, git status), the clipboard-paste actions, administrator actions, and the System module. If several steps copy to the clipboard, the last one wins.
- Recipes live in
recipes.jsonnext toPSTools.exe, likecommands.json. It is plain JSON you can edit or share. If the exe is in a protected folder such as Program Files, saving shows a message; move the exe somewhere you can write to.
Improved
- The "copied to clipboard" toast now shows its Undo link when the action also changed files.
Footprint and uninstall
- No new registry keys. Full uninstall does not delete
recipes.json, so your recipes survive a reinstall. - Settings from v2.0.0-beta.3 load unchanged.
For developers
app/tools/layout-check.ps1now also checks the recipe editor and step picker.- New source files
Recipes.csandRecipesForm.csare picked up bybuild.cmdautomatically. The READMEs document recipes and therecipes.jsonformat.
Release v2.0.0-beta3
PS Tools v2.0.0-beta.3
The Menu page can now scroll, the app scales with Windows display scaling, and there is a command palette and a right-click menu preview. This is intended to be the last beta before 2.0.0.
Fixed
Menu and settings page: the right column could be cut off in a short window, with the bottom buttons unreachable and no way to scroll. It now scrolls, the mouse wheel works anywhere over it, and Apply to Explorer menu stays pinned at the bottom.
Actions page, command library and Update everything: the same fixed-height clipping is fixed. Long descriptions now size to fit and scroll, and the tool list scrolls.
Action list: the stray horizontal scroll bar is gone.
Window size: the window is clamped to your screen at launch.
New
Command palette (Ctrl+K): type to find any action. Recently used ones come first. Ctrl+F now focuses the list search, which Ctrl+K used to do.
Right-click menu preview: on the Menu page and in the first-run dialog, see the real menu layout before you apply it. Choose folder, folder background, drive or file, and tick Holding Shift to include Shift-only entries.
Menu page filter: filter actions, and expand or collapse everything. Ticks you haven’t applied yet survive filtering.
Window memory: the window remembers its size and position.
Page shortcuts: Ctrl+1, Ctrl+2 and Ctrl+Tab switch pages.
Results windows: columns size to their content, long paths show in a tooltip, and a filter with no matches shows an empty message. You can drag result files out to Explorer, which copies them.
Improved
High-DPI: windows, list rows, columns and the tree scale with Windows display scaling. At 100% nothing changes.
Polish: buttons and tabs have hover and pressed states, and lists and the tree scroll with less flicker. The search box is focused at launch, the list keeps your selection while you type, and status messages clear after 7 seconds. The undo toast fades in and out and has rounded corners on Windows 11.
Windows 11: the title bar and window border use the app’s colours.
Known limits
Display scaling is read at launch. If you drag the window to a monitor with a different scale, restart PS Tools.
The command palette shows the 60 best matches.
Footprint and uninstall
No new registry keys or files. settings.txt gains window position and recent-action lines, and Full uninstall deletes them with the rest.
Settings from beta.2 load unchanged.
For developers
New app/tools/layout-check.ps1 opens the main window (both pages, three sizes), the menu preview and the first-run dialog, and fails if any control is clipped or overflowing. It only reads and writes no settings.
New source files PaletteForm.cs and PreviewForm.cs are picked up by build.cmd automatically. The READMEs are updated.
Release v2.0.0-beta.2
Highlights
- First-run dialog with presets (Minimal, Everyday, Developer, Everything); Windows 11 classic-menu option
- Flat daily entries in the right-click menu; image and zip entries only for matching files
- New: download link from clipboard, search here, smart zip, safe extract, image convert/shrink/strip metadata
- Undo link on toasts and an Undo entry in the menu
- Command library: {path} resolves to your folder, Run here, review before anything that changes files
- Menu re-points itself if you move the exe (--repair), --quiet CLI mode, footprint-check script