Hello,
I'm Hoang, a System Admin.
I have 5-years of experience working with Powershell script relate Windows, Active directory, Office 365, AzureAD.
I think I can help you build a mini Tool GUI to turn off PC.
Please consider and contact me, we will discuss all the requirements needed to complete it.
Thank you.