There is a typo in this line
 Code:
$strWks - ReadProfileString($strComps,"computers",$objComp)
should be
 Code:
$strWks = ReadProfileString($strComps,"computers",$objComp)

But that's probably not the issue if it works on three of them.


Edited by ShaneEP (2016-05-25 04:51 PM)