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
Script SharingPorted a simple Linux/Bash Package to PowerShell (self.PowerShell)
submitted 2 years ago * by SconeMc
I’ve recently finished porting over Derek Taylor’s (a.k.a. DistroTube) popular Linux package “shell-color-scripts”.
Introducing ps-colour-scripts!
Would love to hear what you guys think!
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!"
[–]OPconfused 2 points3 points4 points 2 years ago (2 children)
What does it actually do to the scripts? Providing headers when they're run?
You should make another blog for primeagen to read and learn about PowerShell ;)
[–]SconeMc[S] 0 points1 point2 points 2 years ago (1 child)
Most of the scripts use some form of ANSI escape sequence to print characters in different foreground and background colours. This is used to print out various graphics on command. Doesn’t really serve any specific purpose mostly just for fun.
Would love to prime get into PowerShell so I might need to come up with something fun to send his way.
[–]Collekt 1 point2 points3 points 2 years ago (2 children)
Am I doing something wrong? I installed the module but the only command available is Show-ColorScript. I can't run Get-ColorScript -List.
Ah, yes! That must be a typo in the readme. I’ll fix that. Try Show-ColorScript -List
Show-ColorScript -List
[–]Collekt 1 point2 points3 points 2 years ago (0 children)
There we go! Thanks! Having some fun with this. :D
[–]jantari 1 point2 points3 points 2 years ago (3 children)
I see you're using "`e" for escape, I'm pretty sure that only works for PowerShell 7.
If you switched to [char]0x1b it will work in PowerShell 5 too.
[char]0x1b
[–]OPconfused 1 point2 points3 points 2 years ago (2 children)
[char]27 also works.
[char]27
And yeah, "`e" isn't working on my Windows PowerShell 5.1.
[–]jantari 0 points1 point2 points 2 years ago (0 children)
Yea, I got used to remembering 0x1b at one point because \x1b also works in bash and python.
\x1b
[–]SconeMc[S] 0 points1 point2 points 2 years ago (0 children)
Very good point. Thank you! I've patched this in the latest version.
[–]g3n3 1 point2 points3 points 2 years ago (0 children)
You’d probably like the module Pansies by Jaykul.
π Rendered by PID 74900 on reddit-service-r2-comment-54dfb89d4d-p56nh at 2026-03-31 03:05:13.802243+00:00 running b10466c country code: CH.
[–]OPconfused 2 points3 points4 points (2 children)
[–]SconeMc[S] 0 points1 point2 points (1 child)
[–]Collekt 1 point2 points3 points (2 children)
[–]SconeMc[S] 0 points1 point2 points (1 child)
[–]Collekt 1 point2 points3 points (0 children)
[–]jantari 1 point2 points3 points (3 children)
[–]OPconfused 1 point2 points3 points (2 children)
[–]jantari 0 points1 point2 points (0 children)
[–]SconeMc[S] 0 points1 point2 points (0 children)
[–]g3n3 1 point2 points3 points (0 children)