I need JScript that will be launched on Windows from command line. The script shoudl detect (using WScript, I guess) is the current user local admin on given computer or no.

How could I do this?