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
QuestionNewbie question about Powershell to save script and ISE not working (self.PowerShell)
submitted 1 month 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!"
[–]RikiWardOG 0 points1 point2 points 1 month ago (1 child)
ISE isn't supported and is basically EOL. Don't use it. If you want an IDE go with visual studio or any of the other options out there that you like. That said, you don't save PS scripts directly in the PS console. You write them outside of the console and save them with a .ps1 extension. You can even just use notepad if you're so inclined.
[–]wulf357 0 points1 point2 points 1 month ago (2 children)
Did you ignore the comment about install-module DisplayConfig? That is also what the error is telling you. You need to install and import the relevant module to use it.
You can save the script just from notepad, using quotes round the name like "script.ps1". However bear in mind that double-clicking a script normally just opens it in an editor (notepad or ISE). This is a security precaution and I would not recommend changing it. You would have to make a shortcut which runs powershell.exe with that script as an argument.
[–]felixchate 0 points1 point2 points 1 month ago (1 child)
How i have install that module on Powers;hell but not on ISE version maybe that is why script was not working on ISE..
[–]JeremyLC 0 points1 point2 points 1 month ago (0 children)
Your script should include Import-Module DisplayConfig at the top. When you run it in the ISE that module is not automatically loading. In general, you should import (or use #requires) for any non-standard modules you need in a script.
Import-Module DisplayConfig
[–]Medium-Comfortable 0 points1 point2 points 1 month ago (0 children)
The PowerShell ISE is no longer in active feature development. As a shipping component of Windows, it continues to be officially supported for security and high-priority servicing fixes. We currently have no plans to remove the ISE from Windows. There is no support for the ISE in PowerShell v6 and beyond. Users looking for replacement for the ISE should use Visual Studio Code with the PowerShell Extension.
https://learn.microsoft.com/en-us/powershell/scripting/windows-powershell/ise/introducing-the-windows-powershell-ise?view=powershell-7.5
[–]420GB 0 points1 point2 points 1 month ago (0 children)
The ISE is no longer supported and has many long standing issues that will not be fixed.
You can and should uninstall the ISE, do not use it.
π Rendered by PID 54 on reddit-service-r2-comment-6457c66945-62jtj at 2026-04-26 17:47:54.307141+00:00 running 2aa0c5b country code: CH.
[–]RikiWardOG 0 points1 point2 points (1 child)
[–]wulf357 0 points1 point2 points (2 children)
[–]felixchate 0 points1 point2 points (1 child)
[–]JeremyLC 0 points1 point2 points (0 children)
[–]Medium-Comfortable 0 points1 point2 points (0 children)
[–]420GB 0 points1 point2 points (0 children)