You can redirect the error stream to null:
net use $extractSource $networkCred.Password /USER:$usercred 2>null
Or use 2>&1 to redirect the error stream to the standard output stream and both to null:
net use $extractSource $networkCred.Password /USER:$usercred 2>&1>null