It is build like an ini file so readprofilestring should do.
It is in the [service1] section in my case.

Code:

$rc = ReadProfileString("c:\path to the file\outlookprofile.prf", "Service1", "homeserver")
?$rc
sleep 5

_________________________
Mart

- Chuck Norris once sold ebay to ebay on ebay.