How to run PowerShell command from SharePoint Script Editor?

I want to run PowerShell command (any command) from SharePoint Script Editor.

Please let me know how can I achieve it?

I use the below script to lunch notepad, just to test it, and even it doesn’t work:

<script src="" type="text/javascript"></script>

<script language="javascript" type="text/javascript">

function LaunchApp() {
   var shell = new ActiveXObject("");"notepad.exe", 1, True);

<button type="button" id="btn" onclick=LaunchApp()>Run App</button>

Please help.