Sorry for wasting your time, already found the correct syntax..
 Code:
$hashtext = ReadProfileString("$userini", "UserSettings", "Hashtext")
$md5arg = WshPipe('\\cef-de.local\netlogon\md5.exe -n -l -d$hashtext')
$md5result = Join($md5arg[0], @CRLF) ?
$rc = WRITEPROFILESTRING("$userini", "UserSettings", "md5", $md5result)


Edited by Mart (2014-04-15 09:23 AM)
Edit Reason: Please use code tags when posting code.