r/PowerShell 15h ago

Misc Custom Oh My Posh themes + customization script

16 Upvotes

Hey guys I created my own Oh My Posh themes for powershell (and wsl bash, cmd). I just wanted some aesthetically pleasing themes and the ones on the actual website were just not cutting it for me. So I created these. Moreover I created a simple script which can allow you to spin up your own theme in a matter of minutes. By your own theme I mean one where you control what segments go into the thing and also control the colors for it. Please do check it out and lmk how to improve and if there are any suggestions/feedback!

 

GitHub - oabdullah3/omi-posh: Oh My Posh themes for your terminal, designed by me


r/PowerShell 12h ago

Solved AdvantageBuilder: PowerShell GUI demo — super simple user input macro

0 Upvotes

I’ve put together a short demo showing how AdvantageBuilder can run interactive PowerShell scripts with simple GUI prompts.

(see comment for link)

The macro in the video is called Simple PowerShell GUI, and it demonstrates three built‑in commands:

  • prompt — ask the user for input
  • alert — display a message
  • confirm — yes/no dialog

Here’s the full macro source:

# get user input

$age = prompt "How old are you?" "20"

# get user confirmation

$question = "Are you really " + $age + "?"

$reply = confirm $question

if($reply)

{

alert("Your age has been confirmed!")

}

else

{

alert("Your age has NOT been confirmed!")

}

In the video, I show the macro inside the macro list, open it in the Macro Editor, run it from the editor, then close the editor and run it again by double‑clicking the macro in the list.