title: How to run an elevated command prompt through powershell
body: <p>I am making a Powershell GUI program so I can easily change audit, and password settings with the click of a button. I already have the code to do this, but it's written in batch and so I run it in cmd using <code>CMD /C " "</code>to solve that problem. The new problem is that I need to run CMD in elevated mode to actually perform the code. I am using SAPIEN PowerShell Studio 2017 to create the program.</p>