This should work for you.. Really, you could use SHELL or RUN to achieve the same result - just watch the quoting.

 Code:
$FileHome = '\\PC01948\C$\Deployment\'
$ScriptHome = '\\pc01948\netlogon\scripts\'
SHELL '%comspec% /c runas /u:home\Administrator "msiexec /i '+$FileHome+'WBC.msi" | '+$ScriptHome+'sanur /i '+$ScriptHome+'test.dat'


Thanks,

Kent


Edited by Kdyer (2008-08-04 04:51 PM)
_________________________
Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's