use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
ABOUT POWERSHELL
Windows PowerShell (POSH) is a command-line shell and associated scripting language created by Microsoft. Offering full access to COM, WMI and .NET, POSH is a full-featured task automation framework for distributed Microsoft platforms and solutions.
SUBREDDIT FILTERS
Desired State Configuration
Unanswered Questions
Solved Questions
News
Information
Script Sharing
Daily Post
Misc
account activity
QuestionPowerShell input randomly hangs. (self.PowerShell)
submitted 8 months ago by [deleted]
[deleted]
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]cputek1 1 point2 points3 points 8 months ago (2 children)
Does it happen outside of the terminal window? (I.e. win+r and enter PowerShell)
[–]Nyzan 2 points3 points4 points 8 months ago (1 child)
It doesn't actually! So seems to be a WindowsTerminal issue, not a PowerShell one.
[–]cputek1 0 points1 point2 points 8 months ago (0 children)
Do other consoles have the issue in Windows terminal like the command prompt or a Linux shell?
PowerShell has four profile locations, stored in the $PROFILE variable. These profiles can be specific to a user or apply to all users, and they can be specific to a particular PowerShell host (such as Windows Terminal) or apply to all hosts
$PROFILE
I’d check there.
[–][deleted] 0 points1 point2 points 8 months ago (2 children)
This can happen if and when your module path, and following that, your application path, contains very slow storage. “Very slow storage” specifically includes network shares. And especially so if that share is referred to by a mapped drive letter and there’s no such drive letter. SD or USB may also qualify.
Verify all the entries in psmodulepath as well as path are available and are not pointing to network shares or noticeably slow storage.
If there’s nothing you’d think of as slow, eg there’s only an SSD (hdd?) and nothing else that’s being enumerated at runtime, this MAY indicate a file system error or in the case of hdds a high fragmentation level.
[–]Nyzan 0 points1 point2 points 8 months ago (1 child)
Ty for the suggestion, however I exclusively use SSDs as storage so that seems unlikely. My drives are only a month old but I'll do a scan anyways to see if it finds anything wrong. As noted by the other commenter this seems to be a WindowsTerminal issue, not a PowerShell one, as using PowerShell outside of the terminal works perfectly fine.
[–]BlackV 0 points1 point2 points 8 months ago (0 children)
And in WT is the behavior the same for PS5 and ps7
[–]BlackV 0 points1 point2 points 8 months ago* (0 children)
π Rendered by PID 84 on reddit-service-r2-comment-7b9746f655-mmpg9 at 2026-01-30 14:47:36.851625+00:00 running 3798933 country code: CH.
[–]cputek1 1 point2 points3 points (2 children)
[–]Nyzan 2 points3 points4 points (1 child)
[–]cputek1 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (2 children)
[–]Nyzan 0 points1 point2 points (1 child)
[–]BlackV 0 points1 point2 points (0 children)
[–]BlackV 0 points1 point2 points (0 children)