Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 586323
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T15:05:44+00:00 2026-05-13T15:05:44+00:00

I’ve been trying to switch over to PowerShell from my old favorite 4NT. It’s

  • 0

I’ve been trying to switch over to PowerShell from my old favorite 4NT. It’s missing a lot of niceties that 4NT has been adding over the last 20 years (I’m an old 4DOS user).

For example, in 4NT if you type a few letters then hit up/down, then the history list is filtered by what you typed. Page up/down does a popup with all matches and you can cursor through them. All in the console window space, no GUI. This is a big time-saver that I miss. There are many other things like this missing from powershell.exe.

Are there any alternatives to powershell.exe that perhaps have features like this, that really take advantage of the console environment? I realize there are a lot of GUI-based tools that embed PowerShell as a pane, but I’m really interested in a cmd.exe/4nt.exe replacement that stays as a 100% console application (except for maybe an options dialog or whatever).

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T15:05:44+00:00Added an answer on May 13, 2026 at 3:05 pm

    Joshua already mentioned F7. You can also do partial history matches in Powershell.exe by typing some of the command and pressing F8 – repeat F8 to cycle through matches (see about_history). There are also a few more line editing features than folks typically know about. These are documented in the about_line_editing help topic. Still, line editing in the PowerShell console host leaves something to be desired. FWIW all of the other hosts I’m aware of are GUI based.

    BTW I was a 4NT user for years (as well as Korn shell user). Even with a few missing amenities found in 4NT, I find PowerShell a much more capable shell and, as a developer, all the “language” bits are pretty easy to adapt to and use. I never really liked the Korn shell if / fi and case / esac statements – just rubbed my sense of aethestics the wrong way. 🙂 Plus in PowerShell you can do cool stuff with your history like:

    # Search history using regex
    PS> get-history -count 999 | select-string '\b(fl|ft)\b'
    
    # Look at your shell usage pattern by hour of day - Name column is hour of day
    PS> ghy | group {$_.StartExecutionTime.Hour}
    
    Count Name       Group
    ----- ----       -----
       30 21         {$allargs, echoargs -arg $allArgs, echoargs $a
        2 22         {ghy | group {$_.StartExecutionTime.Hour}, ls}
    
    # Look at commands in terms of execution time (sorted descending)
    PS> ghy | Select CommandLine,Id,`
          @{n='ExecutionTime';e={$_.EndExecutionTime - $_.StartExecutionTime}} | 
          Sort ExecutionTime -Desc 
    
    CommandLine                                        Id ExecutionTime
    -----------                                        -- -------------
    ls C:\Windows\System32 ...                         94 00:00:06.0233445
    ls C:\Windows\System32\...                         93 00:00:01.1360650
    gps | fl                                           89 00:00:00.5780330
    dir                                                80 00:00:00.0950054
    ls                                                 83 00:00:00.0870050
    ghy | Select CommandLin...                         92 00:00:00.0810046
    dir                                                67 00:00:00.0750042
    ghy | Select CommandLin...                         95 00:00:00.0580034
    ghy | Select CommandLin...                         96 00:00:00.0570032
    ghy | Select CommandLin...                         97 00:00:00.0540031
    dir                                                76 00:00:00.0500029
    get-history -count 999 ...                         88 00:00:00.0420024
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

No related questions found

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.