--- title: "Configure scanning with SQL scripts" slug: "configure-scanning-with-sql-scripts" type: "index" canonical: "docs.lansweeper.com/configure-scanning-with-sql-scripts" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.lansweeper.com/llms.txt > Use this file to discover all available pages before exploring further. # Configure scanning with SQL scripts 3 articles ## [Add IP ranges and map credentials with a SQL script](https://docs.lansweeper.com/classic/docs/add-ip-ranges-and-map-credentials-with-a-sql-script.md) Published on 2026-09-09 If you need to add several IP range scanning targets to a scanning server and control which scanning credentials each range uses, a database script is faster than the web console. This script adds an... ## [Auto-configure a scanning server with a SQL script](https://docs.lansweeper.com/classic/docs/auto-configure-a-scanning-server-with-a-sql-script.md) Published on 2026-09-09 Configuring a scanning server through the web console takes many steps: server options, scanning targets, Active Directory scanning, Asset Radar, an LsAgent group, and an IP location. If you set up... ## [Bulk-configure scanning servers with a SQL script](https://docs.lansweeper.com/classic/docs/bulk-configure-scanning-servers-with-a-sql-script.md) Published on 2026-09-09 If you run many scanning servers, configuring each one through the web console is slow. This script applies the same core configuration as Auto-configure a scanning server with a SQL script , but...