in reply to Control Windows Media Services via Perl?

Win32::OLE may help you, if you have access to the API for WMS. The ActiveState perl distro has an OLE browser that might help with that.