Update scripts.md

This commit is contained in:
Pedro Lopes
2019-07-08 11:23:31 -07:00
committed by GitHub
parent 3fcd775910
commit 261aea0ff9
@@ -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.