how to write a custom windows script for OpManager

how to write a custom windows script for OpManager

Where can I find examples of how to write  custom Windows scripts and use them inside OPManager ?

OPManager version = 11

Thanks,

                New to ADSelfService Plus?