💡 Learn more : Overview of Azure PowerShell.
Because some folks like to work with PowerShell and Azure AND want to stay inside of Visual Studio 2017, I hear the following questions from time to time.
Since folks typically have VS already installed, the easiest way is to grab the extension. If VS is open, then go to Tools and Extensions and search the online marketplace for PowerShell.
Download and install the extension and you'll have access to PowerShell in Other Languages and can create a PowerShell project and manage your existing .ps1 files.
If you prefer an interactive windows, then click View -> Other Windows -> PowerShell Interactive Window -> and run your cmdlet:
If you don't have Visual Studio installed, then you can install the PowerShell tools through the Visual Studio installer with the Azure workload.
and you should be off and running! I hope this helps.