I have a Microsoft keyboard that I just bought, but it has no sleep button. what it does have is 5 programmable keys that can open programs. I want to program one of the buttons to put the computer in standby mode (where the power light is flashing). what I am using right now is "Rundll32.exe Powrprof.dll,SetSuspendState Sleep" and "rundll32.exe powrprof.dll,SetSuspendState 0,1,0" but these do something different (the power light is off, not flashing) what would be a command that I would use to put the computer in standby mode?
I'm pretty sure you can find a PowerShell command to do that, save it on a script file and set your keyboard execute that.
Check on google for "Powershell Standby", this looks good.