DetentShell The PowerShell 7 ISE we should have been delivered 8 years ago*

Running scripts

F5 runs the script, F8 runs just the selection, and the Stop button ends a runaway script. DetentShell also knows which PowerShell your script belongs on, and tells you before you run it.

DetentShell logo

The compatibility badge is the migration-risk feature. As staff edit a script, a classifier grades it green, yellow, or red for PowerShell 7 compatibility, and flagged scripts get one routing question before they execute instead of failing mid-run in production. For a team sitting on years of 5.1 scripts, that converts unknown porting risk into a per-script verdict they see while editing.

The toolbar picker sets the engine per tab: Auto, pinned PowerShell 7, or pinned Windows PowerShell 5.1. Under Auto, a flagged script prompts once — Yes routes the run to Windows PowerShell 5.1, No pins 7, Cancel runs nothing — and the answer sticks until the text changes. Pin the engine when you know better than the classifier. F5 on a saved, clean file runs the file dot-sourced, so $PSScriptRoot resolves and relative includes work; a dirty buffer runs the on-screen text. Stop ends the pipeline without recycling the session, so your variables survive. An execution timeout is available in Settings, off by default.

Write your script in the editor, press F5, read the results in the console. To try just a few lines, select them and press F8. If a box pops up asking about Windows PowerShell 5.1, that’s DetentShell noticing your script uses something the newer PowerShell doesn’t have, and offering to run it the old way. If a script runs away from you, the red Stop button on the toolbar ends it, and everything you’d already loaded is still there afterward.

FieldValue
ExecutionScripts run only when the user runs them; no background execution
Engine routingUser-visible and user-controlled per tab; the migration prompt never routes silently
TimeoutsOptional, user-configured, off by default
WhatWhy
Microsoft.PowerShell.SDK (bundled)The PowerShell 7 engine itself — scripts run on Microsoft’s own engine, hosted in-process
Windows PowerShell 5.1 (optional)Target for red/yellow scripts routed by the migration gate

Engine routing is deliberate and visible: which engine ran a script is never a silent decision, which keeps run behavior explainable after the fact.

Next

Next up: debugging, or back to the wiki index.

Get DetentShell
PS> Start-Process "https://detentpoint.com/detentshell/download"
# Coming soon — ships once the installer is code-signed

Coming soon. DetentShell launches at $29.99 in the Microsoft Store for its first two weeks. The regular price that follows is not final yet and will be published here first; volume licensing for teams is handled separately.

Follow progress on the changelog →