import depuis ancien GitHub
This commit is contained in:
20
get-preferred-server/readme.md
Normal file
20
get-preferred-server/readme.md
Normal file
@@ -0,0 +1,20 @@
|
||||
# Retrieve the Preferred Server Based on the IP Address
|
||||
|
||||

|
||||
|
||||
This script allows you to **identify the preferred server** for a device, based on its **IP address**, by querying a central SQL database.
|
||||
|
||||
---
|
||||
|
||||
## 🔧 Configuration
|
||||
|
||||
Before using the script, update the following lines with your SQL connection details:
|
||||
|
||||
```powershell
|
||||
$dataSource = "InstanceSQL"
|
||||
$user = "SQLAccount"
|
||||
$PassSQL = "SQLPassword"
|
||||
$database = "DatabaseName"
|
||||
```
|
||||
|
||||
Make sure the account has permission to query the relevant table containing IP/server associations
|
||||
Reference in New Issue
Block a user