Recommended Posts

I don't know about the clock, but the colors can be manipulated through the Properties dialog of PowerShell

image.jpeg

This site talks about the "new" Terminal tab which includes experimental features, https://devblogs.microsoft.com/commandline/new-experimental-console-features/ so it could have been something that was there and then removed, or some other trick is needed to get the Clock prefix.

On 26/05/2023 at 11:58, Steven P. said:

I don't know about the clock, but the colors can be manipulated through the Properties dialog of PowerShell

image.jpeg

This site talks about the "new" Terminal tab which includes experimental features, https://devblogs.microsoft.com/commandline/new-experimental-console-features/ so it could have been something that was there and then removed, or some other trick is needed to get the Clock prefix.

Thanks. I think you are talking about CMD/PowerShell, not the (Windows) Terminal. The Terminal doesn't have such right-click menu, it has a "Settings", and by clicking on it, it goes to the Terminal setting page that has nothing about the feature.

ss.png.e46705d3d2f7ba07bfc4d57d1eba0a5b.png

On 26/05/2023 at 15:16, binaryzero said:

+1 Oh My Posh\Powerlines. 

Been using it for years...

Thanks. I'm not a power user of the command line. I use it for some CLI apps (like FFMPEG). I love this theme. Could you help me to make my Terminal prompt like the original SS above (from NeoWin)? I can add the clock by this command: prompt $T$H$H$H$S$P$. I know nothing more!

sss.png.11188c5a1413f2a5e83f2a305a600e3d.png

 

On 26/05/2023 at 16:16, DonC said:

On PowerShell you can define a "prompt" function to do that kind of thing but the OP is using the command shell.

EDIT: Just realised it was a Neowin screenshot and not OP's actual shell. Oh My Posh is good advice.

It's (Windows) Terminal. The SS is about Terminal version 1.17 (NeoWin blog post).

https://www.neowin.net/news/windows-terminal-preview-117-now-out-with-mica-support-and-process-restart/

On 26/05/2023 at 10:57, neo2023 said:

I don't use 3rd-party app. The Neowin post uses Windows Terminal (like me). I think it has been modified by some "Prompt" command in "Environment Variables".

all the ones you see are from oh-my-post, there is even articles on MS's site on how to set it up

https://learn.microsoft.com/en-us/windows/terminal/tutorials/custom-prompt-setup

I now notice that it is CMD this is being used and not Powershell.

There is a way to modify the CMD prompt;

prompt | Microsoft Learn

Try this in cmd;

prompt $c$t$f$g$p$g

I didn't get it exactly the same as in your screen shot. Still trying to get the last piece.

Ok. Got it.

prompt $c$t$f$g$p$g$_%username%@%computername%$g

 

Edited by Spannercrank
On 26/05/2023 at 12:37, neo2023 said:

@Spannercrank Many thanks. Yours is closer to the Neowin SS. I think I have to ask the post author, but I don't know if he is here (in this forum)!

s.png.424d76fc7c18253225f6318cfca9d1ce.png

Try this one;

prompt $c$t$f$g$p$g$_%username%@%computername%$g

On 26/05/2023 at 07:57, neo2023 said:

I don't use 3rd-party app. The Neowin post uses Windows Terminal (like me). I think it has been modified by some "Prompt" command in "Environment Variables".

I’m using Windows Terminal as well. 
 

https://starship.rs/

 

On 26/05/2023 at 13:30, Spannercrank said:

Working on it.

I don't think I got one of the colors exactly right but try this;

prompt $e[30m$e[47m$c$t$f$e[37m$e[46m$g$p$e[36m$e[40m$g$e[96m$_%username%$e[37m@$e[32m%computername%$e[37m$g

 

On 26/05/2023 at 21:17, Spannercrank said:

I don't think I got one of the colors exactly right but try this;

prompt $e[30m$e[47m$c$t$f$e[37m$e[46m$g$p$e[36m$e[40m$g$e[96m$_%username%$e[37m@$e[32m%computername%$e[37m$g

Oh God!!! You are a genius 😍👏🏻... Many many thanks. You would be God if you find out the aqua colour and the brackets code. Thanks... 👍🏻

s.png.adf980e3f2b18355b72de1b5e954cd4d.png

On 26/05/2023 at 21:17, Spannercrank said:

 

 

On 26/05/2023 at 18:54, neo2023 said:

Oh God!!! You are a genius 😍👏🏻... Many many thanks. You would be God if you find out the aqua colour and the brackets code. Thanks... 👍🏻

s.png.adf980e3f2b18355b72de1b5e954cd4d.png

 

You can get the aqua colour with a 24 bit colour code:

prompt $e[30m$e[47m$c$t$f$e[37m$e[48;2;0;128;128m$g$p$e[38;2;0;128;128m$e[40m$g$e[96m$_%username%$e[37m@$e[32m%computername%$e[37m$g

The 24 bit version of the background colour change is the following bit. You can adjust the RGB values (Red 0, Green 128, Blue 128 in the examples above) from 0 to 255 to fine tune it. Substitute "48" with "38" to change the foreground colour instead of the background colour.

$e[48;2;0;128;128m

 

On 26/05/2023 at 14:28, DonC said:

You can get the aqua colour with a 24 bit colour code:

prompt $e[30m$e[47m$c$t$f$e[37m$e[48;2;0;128;128m$g$p$e[38;2;0;128;128m$e[40m$g$e[96m$_%username%$e[37m@$e[32m%computername%$e[37m$g

The 24 bit version of the background colour change is the following bit. You can adjust the RGB values (Red 0, Green 128, Blue 128 in the examples above) from 0 to 255 to fine tune it. Substitute "48" with "38" to change the foreground colour instead of the background colour.

$e[48;2;0;128;128m

 

I was wondering why I could not get the color right. Thanks.

Here is the final version with the square brackets;

prompt $e[30m$e[47m[$t]$e[37m$e[48;2;0;128;128m$g$p$e[38;2;0;128;128m$e[40m$g$e[96m$_%username%$e[37m@$e[32m%computername%$e[37m$g
 

 

On 26/05/2023 at 21:58, DonC said:

You can get the aqua colour with a 24 bit colour code:

prompt $e[30m$e[47m$c$t$f$e[37m$e[48;2;0;128;128m$g$p$e[38;2;0;128;128m$e[40m$g$e[96m$_%username%$e[37m@$e[32m%computername%$e[37m$g

The 24 bit version of the background colour change is the following bit. You can adjust the RGB values (Red 0, Green 128, Blue 128 in the examples above) from 0 to 255 to fine tune it. Substitute "48" with "38" to change the foreground colour instead of the background colour.

$e[48;2;0;128;128m

 

Co0o0o0o0o0o0l 🥳... Many thanks for the colour code.

On 26/05/2023 at 22:04, Spannercrank said:

I was wondering why I could not get the color right. Thanks.

Here is the final version with the square brackets;

prompt $e[30m$e[47m[$t]$e[37m$e[48;2;0;128;128m$g$p$e[38;2;0;128;128m$e[40m$g$e[96m$_%username%$e[37m@$e[32m%computername%$e[37m$g
 

 

Many many many thanks 🥳👍🏻👌🏻. I removed "%username%" and "%computername%" but it didn't remove the second line. Do you know how we can remove it?

ssss.png.b6845f318a3d65f6c1c12f487083bf16.png

On 26/05/2023 at 14:45, neo2023 said:

Co0o0o0o0o0o0l 🥳... Many thanks for the colour code.

Many many many thanks 🥳👍🏻👌🏻. I removed "%username%" and "%computername%" but it didn't remove the second line. Do you know how we can remove it?

ssss.png.b6845f318a3d65f6c1c12f487083bf16.png

From the end of the prompt line remove up to and including the $_.

So you should have;

prompt $e[30m$e[47m[$t]$e[37m$e[48;2;0;128;128m$g$p$e[38;2;0;128;128m$e[40m$g$e[96m

 

On 26/05/2023 at 20:07, neo2023 said:

@Spannercrank Thanks 👍🏻. My last question. I see the command text and background colour I type is changing to a new colour (Aqua text on Black Background). Should it be there, or can I change it to the default (Terminal's default colours)?

image.png.f4d7f416f6a4e3faaa588f50c3eb9238.png

For that you need to put the colour reset code on the end:

prompt $e[30m$e[47m[$t]$e[37m$e[48;2;0;128;128m$g$p$e[38;2;0;128;128m$e[40m$g$e[96m$e[0m

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • If its the devs fault you would think Unreal would help M$ take full advantage of Unreal and work with them to fix the performance issues. Otherwise they are catching unwarranted bad press.
    • Thanks for the advice guys, I'll give my current GPU a clean and then run the benchmarks to see how similar it is. Hopefully a bit of a clean-out will help it last a bit longer.
    • Pretty sure those will still be in this game. The series' well-explored psychosis themes will return as well.
    • "performance issues? what performance issues?!"
    • Microsoft making much needed change to Windows 11, 10 Patch Tuesday security updates by Sayan Sen Recently, Microsoft delivered its latest Defender patches for Windows 11 ISOs. These definitions are released from time to time alongside the general security updates available during Patch Tuesday. Speaking of Defender, the company has now announced another important change that affects how security updates are delivered to enterprise devices running Windows. According to a recent announcement, Microsoft Defender for Endpoint's endpoint detection and response (EDR) updates will no longer be bundled with the monthly Windows security updates or Patch Tuesdays. Instead the company is shifting delivery of these updates to Microsoft Update, bringing EDR servicing in line with several other Microsoft Defender components. If you recall, Microsoft last year moved PowerShell updates to Microsoft Update (MU) as well since it provides automatic updates for Microsoft products and services. Thus the move is intended to allow Microsoft to deliver EDR improvements and security enhancements independently of the OS's regular monthly update cycle; this should enable faster deployment of protection updates without requiring organizations to wait for the next Patch release. For those unfamiliar, Microsoft Defender for Endpoint's EDR capabilities are designed to help organizations detect, investigate, and respond to advanced threats across managed devices. Keeping these components updated is critical for maintaining protection against evolving attack techniques. The rollout has already began for Windows 10 devices in late May 2026 (last month) and Microsoft says it will gradually expand support to Windows 11 and the remaining supported Windows versions over the coming months. The company expects deployment across Windows 10 and Windows 11 to be completed by fall 2026 or around Q3 of this year. Once the transition is complete, EDR updates will be delivered through Microsoft Update using KB5005292, provided the required prerequisite updates have already been installed. Microsoft is also introducing a new Defender Update Service as part of the change. Following installation of the first update, devices will automatically create a new directory located at %ProgramData%\Microsoft\Microsoft Defender\Defender Update. Microsoft notes that restarts may occasionally be necessary in case of "rare" failure scenarios. For most organizations, the tech giant says no action will be required as long as Microsoft Update is already permitted within their update management strategy. Admins who rely on manually deployed update packages, however, will need to adjust their processes to ensure the new Defender update package is included. Microsoft also recommends reviewing internal documentation and notifying helpdesk and security operations teams about the updated delivery mechanism to avoid confusion during the transition. As a prerequisite, the tech giant notes that systems must be running Sense version 10.8798.25857.1000 or later and have one of the following Windows updates (or later) installed: Win11 24H2 KB5062660 (2025-07 Cumulative Update Preview) Win11 23H2 KB5062663 (2025-07 Cumulative Update Preview) Win11 22H2 KB5062663 (2025-07 Cumulative Update Preview) Win10 22H2 KB5062649 (2025-07 Cumulative Update Preview) Win10 1809 KB5063877 (2025-08 Cumulative Update) Server 2019 KB5063877 (2025-08 Cumulative Update) Server 2022 KB5063880 (2025-08 Cumulative Update) Server 2025 KB5063878 (2025-08 Cumulative Update) As always, organizations should verify that their update policies align with the new servicing approach before the broader rollout reaches all supported Windows platforms later this year. In case of major problems, the EDR update can be rolled back to the inbox version stored in %ProgramFiles%\\Windows Defender Advanced Threat Protection (ATP) using: MpCmdRun.exe -RevertMde -Product Edr -ToVersion Inbox For those who have access to the Microsoft 365 Admin Center portal, you can view the message here under ID MC1381119.
  • Recent Achievements

    • One Month Later
      DJC50PLUS earned a badge
      One Month Later
    • Week One Done
      DJC50PLUS earned a badge
      Week One Done
    • Proficient
      Eric Biran went up a rank
      Proficient
    • Dedicated
      Conjor earned a badge
      Dedicated
    • Week One Done
      Windows Guy earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      493
    2. 2
      PsYcHoKiLLa
      248
    3. 3
      Steven P.
      73
    4. 4
      +Edouard
      69
    5. 5
      neufuse
      68
  • Tell a friend

    Love Neowin? Tell a friend!