Showing results for 
Search instead for 
Did you mean: 
Level 7
Report Inappropriate Content
Message 1 of 2

Mass Import of Windows Data Sources using PowerShell

I've created a PowerShell script that will comb Active Directory for all the Computers listed and create a perfectly formatted CSV file that you can import into ESM. So in theory, within minutes, you can create a domain worth of data sources with little to no effort. No IPs will be listed so as long as you have the applicable DNS listed in ESM, it will query for the IP as needed.

The code is on my github at PowerShell/ESM_Import_Script.ps1 at master · WiredPulse/PowerShell · GitHub .

1 Reply
andy777 McAfee Employee
McAfee Employee
Report Inappropriate Content
Message 2 of 2

Re: Mass Import of Windows Data Sources using PowerShell

That is solid work and good looking code. Thanks for posting it!

You Deserve an Award
Don't forget, when your helpful posts earn a kudos or get accepted as a solution you can unlock perks and badges. Those aren't the only badges, either. How many can you collect? Click here to learn more.

Community Help Hub

    New to the forums or need help finding your way around the forums? There's a whole hub of community resources to help you.

  • Find Forum FAQs
  • Learn How to Earn Badges
  • Ask for Help
Go to Community Help

Join the Community

    Thousands of customers use the McAfee Community for peer-to-peer and expert product support. Enjoy these benefits with a free membership:

  • Get helpful solutions from McAfee experts.
  • Stay connected to product conversations that matter to you.
  • Participate in product groups led by McAfee employees.
Join the Community
Join the Community