This line of code (originally formulated by Radimus) would work better in the long run as well. It will take and strip out the \\ or \ if supplied and add them if they're not supplied

'\\COMP1\' or 'COMP1' or '\COMP1\' or 'COMP\' are all handled correctly as '\\COMP1\' for the final value.

$sComputer = '\\'+Join(Split($sComputer,'\'),'',3)+'\'