Skip to content

Latest commit

 

History

History
24 lines (12 loc) · 1.13 KB

UsingPowerShellFromLocal.md

File metadata and controls

24 lines (12 loc) · 1.13 KB

Below are the steps to execute PowerShell script from your Local machine:

  1. Install PowerShell version 7.1 or newer (Reference Link: https://docs.microsoft.com/en-us/powershell/scripting/install/installing-powershell?view=powershell-7)

$PSVersionTable

  1. 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

  1. 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

  1. Install Az.Synapse PowerShell module for Synapse Analytics

Install-Module -Name Az.Synapse

  1. Connect to Azure Account using commands below:

Connect-AzAccount

  1. Follow rest of the steps 2 through 4 from section '4 Easy Steps to Deployment' at READ ME.