Ctrl Alt Delete

I have a GUI that will give users a notification if their password is about to expire in X days.

They already have an icon on their Desktop that will take them to the Ctrl AlT Delete screen within their RDP session. I want to replicate that within the button to keep the actions the same.

 

I hope, the icon you referencing is an application. If so, you can use start-process cmdlet to execute that app. You need to add statements / validation within your button function to perform the job.

It is just a shortcut that runs the following command.

C:\Windows\explorer.exe shell:::{2559a1f2-21d7-11d4-bdaf-00c04f60b9f0}