Below are the steps to execute PowerShell script from your Local machine:
- Install PowerShell version 7.1 or newer (Reference Link: https://docs.microsoft.com/en-us/powershell/scripting/install/installing-powershell?view=powershell-7)
$PSVersionTable
- Once installed, open PowerShell (pwsh) as Adminstrator (in Windows) and Install PowerShell Module Azure version 4.7.0 or later (Reference Link: https://docs.microsoft.com/en-us/powershell/azure/install-az-ps?view=azps-4.7.0)
Install-Module -Name Az -RequiredVersion 4.7.0 -AllowClobber
- Install Powershell Module SQLServer (Reference Link: https://docs.microsoft.com/en-us/sql/powershell/download-sql-server-ps-module?view=sql-server-ver15)
Install-Module -Name SqlServer -Force -Confirm
- Install Az.Synapse PowerShell module for Synapse Analytics
Install-Module -Name Az.Synapse
- Connect to Azure Account using commands below:
Connect-AzAccount
- Follow rest of the steps 2 through 4 from section '4 Easy Steps to Deployment' at READ ME.