mirror of
https://github.com/Microsoft/sql-server-samples.git
synced 2025-12-08 14:58:54 +00:00
Updated parameter value in readme.md - spelling of LicenseType did not match parameter in underlying PowerShell script.
services, platforms, author, ms.author, ms.date
| services | platforms | author | ms.author | ms.date |
|---|---|---|---|---|
| Azure Arc enabled SQL Server | Azure | anosov1960 | sashan | 12/08/2020 |
Running the script using Cloud Shell
Use the following steps to migrate your existing SQL Server - Azure Arc resources from Microsoft.AzureData namespace to Microsoft.AzureArcData namespace.
-
Launch the Cloud Shell. For details, read more about PowerShell in Cloud Shell.
-
Upload the script to the shell using the following command:
curl https://raw.githubusercontent.com/microsoft/sql-server-samples/master/samples/manage/azure-arc-enabled-sql-server/migrate-to-azure-arc-data.ps1 -o migrate-to-azure-arc-data.ps1 -
Run the script.
./migrate-to-azure-arc-data.ps1
Note
- To paste the commands into the shell, use
Ctrl-Shift-Von Windows orCmd-von MacOS.- The script will be uploaded directly to the home folder associated with your Cloud Shell session.
- The script will prompt for the resource group name and print a message when migration is completed.