Can I create a custom windows dialog box?

Jalen Barnes 20 Reputation points
2023-08-03T14:35:04.13+00:00

Hello,

I want to be able to create a custom windows dialog box to alert users of necessary maintenance on the end users device. Currently all PC's in our environment run Windows 10 Enterprise, and I want the message to mimic the look of the image I attached:

Your PC will automatically restart in one minute

Is it possible to customize these dialog boxes ?

PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,562 questions
0 comments No comments
{count} votes

Accepted answer
  1. Ian Xue 37,536 Reputation points Microsoft Vendor
    2023-08-04T05:47:34.8433333+00:00

    Hi,

    I didn't find a way to use WinUI in PowerShell, however, you can try the BurntToast module.

    https://github.com/Windos/BurntToast

    Best Regards,

    Ian Xue


    If the Answer is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.