Quantcast
Channel: The Official Scripting Guys Forum! forum
Viewing all articles
Browse latest Browse all 15028

WMIC with NETUSE CREATE

$
0
0

Hi Team,

I want to know two things

1) What is the actual use of WMIC NETUSE CREATE command ?

2) If we can Map Drive in Remote System through WMIC NETUSE Create Command than How ? I tried to perform this job using few parameter passing but getting following error message:

Hint: <assignlist> = <propertyname>=<propertyvalue> [, <assignlist>].

WMIC /NODE:"Server1" /User:"domain\myusername" /Password:"mypassword" NETUSE CREATE RemotePath="\\FileServer\CommonShared",LocalName="Z:",Persistaent:"YES",AccessMask="",Comment="",ConnectionState=""

Invalid format. Hint: <assignlist> = <propertyname>=<propertyvalue> [, <assignlist>].


Regards, Brijesh Shah


Viewing all articles
Browse latest Browse all 15028

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>