→ 🚀Are you a Lansweeper Champion?! Join our Contributor Program Sign up here!

Community FAQ
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
nmulvihill
Engaged Sweeper II
I have a list of assets and the groups I want to add them to. I have created the groups and have the keys associated to them in a separate file. I need a SQL query to add these to the Database.

File 1: AssetName,(Desired)AssetGroup
Asset1,Group1
Asset2,Group1
Asset3,Group2
Asset4,Group3
Asset5,Group3
Asset6,Group3
...

File 2: AssetGroup,AssetGroupID
Group1,10
Group2,11
Group3,12
...

I can retrieve all of the necessary information via PowerShell and I can query the DB, I just don't know how I would set up the SQL to import into the DB.
0 REPLIES 0

Archive

This board contains archived posts from the retired Lansweeper Forum and Insiders Community.

New to Lansweeper?

Try Lansweeper For Free

Experience Lansweeper with your own data.
Sign up now for a 14-day free trial.

Try Now