New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Question: Azure Powershell Scripts in a Function #294
Comments
Yes, here's an SO thread that walks through how that is done. http://stackoverflow.com/a/40883318/6465830 |
@tohling thank you for the response, it is my assumption that azure powershell is already installed for azure functions to utilize when you choose powershell as the function language? |
Yes, Azure PowerShell is already installed. You will be working with:
|
Awesome thanks again! |
Closing issue as question was answered |
@tohling @napalm684 I went ahead and used this approach to import complete suite of Azure RM into Azure functions by updating $env:psmodulepath to include "D:\home\site\wwwroot\azuremodules" within azure function and reference base(azurerm) psd1 file to import... this approach seemed inevitable and simplest to use all the modules of AzureRM. Thankyou for raising this issue and providing some valuable comments. |
Random question, I know you can run powershell in an azure function. Is it possible to run "azure powershell" scripts via an azure function to spin up/down infrastructure. The question then becomes if it is possible how would one install azure powershell in the context of the azure function? Thanks in advance, hopefully this hasn't already been asked as I couldn't find it (if it was).
The text was updated successfully, but these errors were encountered: