This is pretty basic so I'm not including examples just yet. Just #include the enclosed services.au3 file.
Attachment removed. Download from
Code Removed. Use the link to my web site (in my signature), click on Code >> My Extra UDFs >> Services.au3
Edit 3: May 16/ 2008
Updated to add impersonation level to most functions for better control of remote services.