mirror of
https://github.com/Microsoft/sql-server-samples.git
synced 2025-12-08 14:58:54 +00:00
Update scripts.md
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# ESU registration script examples
|
||||
|
||||
Microsoft shares example scripts in [T-SQL](#tsql) and [Powershell](#ps) that can generate the required SQL Server instance registration information.
|
||||
Microsoft shares example scripts in [T-SQL](#tsql) and [Powershell](#ps) that can generate the required SQL Server instance registration information. The Powershell samples create a CSV file that can be used to bulk register SQL Server instances covered by an ESU subscription.
|
||||
|
||||
## <a name="tsql"></a> T-SQL
|
||||
To collect registration information from a **single instance**, you can use the example T-SQL script [EOS_DataGenerator_SingleInstance.sql](./scripts/EOS_DataGenerator_SingleInstance.sql) below:
|
||||
@@ -47,4 +47,4 @@ To collect registration information from **all instances in a single machine**,
|
||||
To collect registration information from **all instances listed in a text file**, you can use the example Powershell script [EOS_DataGenerator_InputList.ps1](./scripts/EOS_DataGenerator_InputList.ps1). Refer to [ServerInstances.txt](./scripts/ServerInstances.txt) for an input text file example.
|
||||
|
||||
> [!NOTE]
|
||||
> Verify if the **Host Type** is correct for your SQL Server instance before uploading the CSV file.
|
||||
> Verify if the **Host Type** is correct for your SQL Server instance before uploading the CSV file.
|
||||
|
||||
Reference in New Issue
Block a user