See the FAQ Forum or just do this from a domain admin account:
code:
$source='\\server\share\file.txt'
$dest='\c$\windows\system32\'
$comps=netview2()
for each $comp in $comps
copy $source '\\'+$comp+$dest
next

NetView2() is a UDF. Admin tasks should NEVER be done as part of a logon script.
_________________________
There are two types of vessels, submarines and targets.