on a laptop (win7) I'm connected through VPN (IPsec, with the Sophos VPN Client) to a network with a domain server (Server1012 and mixed clients Win7 and Win10 all connected through the same LAN-switch, no VLAN). The laptop is not part of the domain and I logged on as a local user. I would like to use the net view
command for the domain which should be net view /domain:DOMAINNAME
.
Let's say the domain name is XYZ123
(XYZ123.local
) how should I use the command? For other command line applications/commands I use XYZ123.local
e.g. ping PC1.XYZ123.local
which works fine, but the net view command doesn't work:
net view /domain:XYZ123.local
gives me the error "87: wrong parameter"
net view /domain:XYZ123
gives me the error "6118: server list is not available"
if possible at all in this scenario, which should I use? did I miss anything?
Edit: Right now my solution is to log on to a remote machine directly on the domain network and then use the command locally. Is there a way to do that with less afford or a way for an automation?