Have you looked at SETSYSTEMSTATE, which gives you the ability to Hibernate, power off, etc. for a computer?

Thanks,

Kent
_________________________
Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's