In the past I mount a remote shared folder as drive W: in my local Windows Explorer with
a command similar to:

net use w: \\192.168.0.21\myshare /persistent:no

This works successfully on a IPv4 connection.

At first:
Which remote port does the "net share" command (implicitely) connect to on remote server?

Can I use the same command through a VPN and IPv4 connection as well?

Can I use the same command (with IPv6) address for an IPv6 command as well?
Example:

net use w: \\<IPv6 address>\myshare /persistent:no

Peter