Orienting one transform to point up from another

Can anyone out there give me a Unity Javascript expression that yields a rotation whose forward-axis (Z) runs along the up-axis (Y) of another (specified) transform?

TIA

I figured out what was wrong with my code - I was using a Quaternion as a Vector3.

I’m silly like that.

Just in case anyone’s curious, here’s a working approach:

soughtRotation = knownTransform.rotation * Quaternion.LookRotation(Vector3.up);