Hey Rad,

Suggestion for your RemotePath

Code:
Function RemotePath($Path,optional $sComputer)
$sComputer=IIf(Not $sComputer,'','\\'+Join(Split($sComputer,'\'),'',3)+'\')
$RemotePath=$sComputer+Join(Split($Path,':'),CHR(36))
Endfunction