log on to Filer via batch file
2014-08-13 08:45 AM
i am using NET USE to log onto filer via batch file. but no success.
any other way to log onto filer via a batch file..
i am creating a batch file ( runs as scheduled ) and in that file..
i need to log onto filer and run a command and dump output to a text file.
6 REPLIES 6
Re: log on to Filer via batch file
2014-08-14 12:52 AM
as already said, try powershell.
if you really need a classic batch file, then I suggest using plink.exe from putty.
this would look something like that:
plink.exe user@filer snapmirror status >output.txt