Editor and terminals
An editor that understands PowerShell, and a console that works like the one in VS Code.
Editor
- PowerShell, C# and Razor are highlighted from their real parsers; Markdown, JSON, XML, CSS and log files are supported too.
- PSScriptAnalyzer marks problems as you type, and Format (or save) tidies the script with Invoke-Formatter. Install it from the toolbar the first time.
- Full C# highlighting and error detection come from Roslyn, installed on demand with Install C# Syntax Engine.
- Open several workspace folders; a root bar filters the editor tabs per folder. Auto Session reopens folders, tabs and unsaved edits on the next start.
- Log files get Error, Warning, Info, Debug and Verbose filters.
Terminals
- New terminal
- Ctrl+Shift+T or +. Up to eight extra terminals, each with its own PowerShell runspace, starting in your current folder.
- Split
- Alt+Shift+D or Split shows two terminals side by side. Click a pane to make it active; F5, Stop and Tab completion follow the active pane.
- Inline input
- Alt+Shift+I moves the command line into the terminal itself, with a block cursor, history and completion.
- Output channels
- Messages tagged by tools such as Blob, Graph, Vault, EXE and PsExec collect in the Output menu with unread badges colored by severity.
Every shortcut can be changed in Help, Hotkeys.
Intune packaging
Right-click a project folder for Create EXE, Create Intunewin and Create IntuneApp.
Publish a Win32 app
- Choose the .intunewin and fill in the app: display name, publisher, description, version, install and uninstall command lines, and an optional icon.
- Pick the detection rule: registry, file or folder, a PowerShell detection script, or an MSI product code with an optional version check.
- Set the assignment (none, all devices or all users; available or required) and the minimum Windows release.
- Select Deploy to Intune. The dialog shows
https://microsoft.com/deviceloginand a one-time code. Open the link in any browser, enter the code and sign in with your Intune admin account. - PSConsole creates the app, uploads the encrypted package to Intune's storage, waits for Intune to process it and applies the assignment. Each step is logged in the dialog with a progress bar.
Sign-in uses Microsoft's device code flow for the Microsoft Graph command line tools, so you don't need an app registration, and your password is only ever typed into Microsoft's page. Save your tenant ID once in Help, Tenant ID and it fills in automatically.
Inspect and extract a .intunewin
- Open any .intunewin and its metadata appears in its own tab, read from the package's Detection.xml: app name, setup file, size, and for MSIs the product code, version, upgrade code and publisher. Each value has a copy chip, or use Copy All.
- A .intunewin is a ZIP, but the content inside it is AES-encrypted. Extract decrypts it with the keys in Detection.xml and checks the HMAC first, so you get the original files back intact.
- Create IntuneApp starts from the same tab with the app details already filled in.
EXEs and signing
- Create EXE embeds the folder's files and runs the entry script on the target, then cleans up after itself.
- Code Signing can create a self-signed certificate in one click and signs every EXE with a timestamp (DigiCert, then Sectigo, then GlobalSign as fallbacks), so signatures stay valid after the certificate expires.
- A ready DeployCert.zip contains the certificate and a script to trust it on endpoints through Intune.
- Optionally, a compiled EXE can report its output, status and device details to your own database with an insert-only credential.
Modules for deployments
Right-click any folder in Files and choose Import Module... to save a PowerShell module into it, so the package ships with what its scripts need.
- Searches the PowerShell Gallery directly over its NuGet v2 API. PowerShellGet isn't used, so there is no NuGet provider bootstrap and no untrusted-repository prompt, and nothing is installed on this PC.
- Internal feeds registered on the PC and modules already installed on it are searched at the same time, each in its own section. Switch a source off with its chip.
- Click a result to see its versions and required modules; double-click to import.
- Include required modules saves dependencies next to it, and the console shows the line your script needs:
$env:PSModulePath = "$PSScriptRoot;$env:PSModulePath". Keep version folder and Overwrite are optional. - The import is assembled in a hidden folder and moved into place at the end, so a cancelled or failed import leaves nothing behind.
Database
A Database tab for your own MySQL and SQL Server databases.
Getting it
- Help, Install MySQL Connector downloads the driver once (about 10 MB from NuGet). PSConsole.exe stays small; the driver loads at run time.
- The Database tab appears in the explorer.
- Help, Connect DB adds your primary MySQL connection; "+ Add Another Connection" adds more, MySQL or SQL Server.
Using it
- Browse
- Connections, then databases, then tables. On SQL Server you only see the databases your login can open.
- Preview
- Click a table for its first 500 rows. Right-click for DESCRIBE or a row count.
- Query
- Type SQL in the box under the tree and press Ctrl+Enter or Run. It runs against the database you selected.
- Results
- Each result opens in its own amber tab as a grid, with the row and column count.
- Credentials
- Stored encrypted with AES-256 on this PC. SQL Server connections use an encrypted connection.
Cloud sync
Sync, share and roam using a MySQL database you control. There is no PSConsole cloud service.
Setting it up
- Install the MySQL connector and connect your primary database (see Database). PSConsole creates its tables the first time.
- In the Cloud DB tab, select Login / Sign Up. Sign Up creates a password-less account: a random token is stored encrypted on this PC, and only its hash goes to the database.
- The Cloud tab appears in the explorer, and Sync to Cloud appears when you right-click files and folders.
What you get
- Sync
- Files are encrypted with AES-256 before upload. Synced items show in the accent color in the Files tree.
- Large and binary files
- EXEs, installers, archives and very large files are stored as a placeholder note instead of the file.
- Community
- Share a script with everyone on the same database; it gets a Community label.
- Conflicts
- If a file changed on both sides, choose Overwrite Cloud, Keep Cloud Version or Review Changes in Compare.
- Notes and Vault
- Notes and the Vault can sync through the same account; Vault items can be shared read-only with users or groups.
- New PC
- Copy
C:\ProgramData\PSConsoleto the new machine and everything reconnects.
Remote support
A PowerShell session on another computer, as a tab in your console.
- Connect
- Project, Remote Targets. Direct to RemoteService on your network, or through the cloud relay where both sides connect outbound, so the remote PC needs no open inbound port.
- Work
- Commands, F5 scripts, Tab completion from the remote session, and Stop or Ctrl+C.
- Prompts
- Confirmations, Read-Host, mandatory parameters and Get-Credential from the remote script open as dialogs on your screen.
- Files
- The transfer button next to + opens Remote Files: upload files or whole folders, create folders, delete. The remote side refuses drive roots, Windows folders, user profiles and its own files.
- Enroll
- Install RemoteService with its Install.ps1 and enroll the PC once with a one-time code.
Also in PSConsole
- Vault
- Logins, app registration secrets, API keys and certificates, encrypted with an optional master password. Scripts use
Get-PSCSecret; any PowerShell session can useGet-Secret -Vault PSConsole. Imports from Edge, Chrome, 1Password and Bitwarden, and warns about weak, reused or expiring secrets. - Notes
- Always-saved, encrypted notes, tasks and journal entries with nesting, tags and reminders.
- Microsoft Graph
- Intune reports for detected apps, Autopilot group tags, stale devices and Windows builds, plus ad-hoc queries, exported to CSV.
- Azure Files and Blob
- Browse a share or container through a SAS link from the Vault, upload folders and download with progress.
- VirtualBox
- Create, start, snapshot and restore test VMs, including unattended Windows installs.
- Git and Compare
- Status, diffs and commit and push for the open folder; any two files side by side.
- Local AI assistant
- Chat and script analysis through Ollama on your own machine.
- Launch shortcuts
- After associating file types, Win+R
psbrings PSConsole forward andps -adminopens it elevated.