Duplicate entries in Output to File

Started by confuseis

confuseis

Duplicate entries in Output to File   23 March 2014, 04:28

Hi All

I run net scanner from the command line to send its data to a csv file which I can use for other purposes. Problem for me is that most of the machines have 2 Nic's, 1 wireless and 1 wired and this generates the username twice as it has 2 IP's, which is great ordinarily.

I want to use the csv file for a script and for this I prefer to have the user name appear just once despite having 2 Ip's. Anyone in the know?

Thanks
SoftPerfect Support forum - Andrew avatar image

Re: Duplicate entries in Output to File   24 March 2014, 15:09

The latest build features the /merge command line switch.

It removes any duplicate lines from the output (even if some already were in the file).

Try running it like this

netscan /append /merge /cols:"logged user" /auto:z:\result.txt

or like this

netscan /merge /cols:"logged user" /auto:z:\result.csv

Sometimes you can find a solution faster if you try the forum search, have a look at the knowledge base, or check the software user manual to see if your question has already been answered.

Our forum rules are simple:

  • Be polite.
  • Do not spam.
  • Write in English. If possible, check your spelling and grammar.

Author:

Subject

A brief and informative title for your message, approximately 4–8 words:

     

Spam prevention: please enter the following code in the input field below.

 **     **  **     **        **  **    **  **    ** 
 **     **  **     **        **  ***   **  **   **  
 **     **  **     **        **  ****  **  **  **   
 **     **  **     **        **  ** ** **  *****    
  **   **   **     **  **    **  **  ****  **  **   
   ** **    **     **  **    **  **   ***  **   **  
    ***      *******    ******   **    **  **    ** 

Message: