Help importing locations & Computers
-
Can someone help me write a command line that would import the location and data below?
Importme.csv
Location Computer name Hostname User
Conference1 Computer1 10.23.15.1 Username1
Conference1 Computer2 10.23.15.2 Username3
Conference1 Computer3 10.23.15.3 Username3
Conference1 Computer4 10.23.15.4 Username3
Conference1 Computer5 10.23.15.5 Username3
Conference1 Computer6 10.23.15.6 Username3
Conference1 Computer7 10.23.15.7 Username3
Conference1 Computer8 10.23.15.8 Username3
Conference1 Computer9 10.23.15.9 Username3
Conference1 Computer10 10.23.15.10 Username1
Main1 Computer11 10.23.15.11 Username1
Main2 Computer12 10.23.15.12 Username1
Main4 Computer13 10.23.15.13 Username1
Main3 Computer14 10.23.15.14 Username1
Conference2 Computer15 10.23.15.15 Username1
Conference2 Computer16 10.23.15.16 Username1
Conference2 Computer17 10.23.15.17 Username2
Conference2 Computer18 10.23.15.18 Username2
Conference2 Computer19 10.23.15.19 Username2
Conference2 Computer20 10.23.15.20 Username2veyon-cli networkobjects import importme.csv format "%location%,%name%;%host%;%user%"
-
Valid variables are %type%, %name%, %host%, %mac% and %location%. Various examples are given in the command help (veyon-cli networkobjects help import).
from docs..
- Construct each line as following - do not include header, do not separate with spaces
Computer15;10.23.15.15;"Conference2"
note the quotes
2. Go to "C:\Program Files\Veyon" open cmd in this folder
command:veyon-cli networkobjects import "FULL PATH TO CSV FILE HERE" format "%name%;%host%;\"%location%\""
- You should see
[OK]
on the command line - Read the docs for better understanding