First from CMD, that is pretty easy:

Now, with PowerShell, it is about the same, we call the user32.dll, just it is a little more work to get that to work right:

Credit for how to call DLLs from PowerShell goes to Danny.

Post Navigation