Neither the first, nor the second approach work. TBH, instead of the command in 1) i actually had to use "NET USE \\$computer $password /USER:$computer\Administrator" instead of your line (here and in the attempts above) to make it even work

2) i tried in combination with 1 and without, didn't work either...