Is it possible to programmatically get at WSUS?

I was thinking we can always implement a monthly schedule of rebooting the systems.