-
Notifications
You must be signed in to change notification settings - Fork 32
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
RE: How do I run Azure powershell commands? #47
Comments
Ping @forki @vasily-kirichenko @sergey-tihon @dtchepak We should answer this :) @stuartjdavies - did you find a solution for this? |
Sorry, I try To stay away from both PS and Azure. |
@stuartjdavies sorry, i missed this question. As I understand, it is not possible right now. |
@dsyme @forki @vasily-kirichenko @sergey-tihon No, I didn't find a solution. It was a while since I looked at this but by memory I don't think it works for any package you want to load. Not just the azure package. If this is the case it might be a good feature to add. Anyway, there may better things to spend time on. |
I worked thru creating this exact feature before, The module cmdlets don't list with RunspaceConfiguration.Cmdlets so they are missing. A module cmdlet list can be piped into PSRuntimeHosted instance in the cmdlets member to fix the missing cmdlets. I think I created an new constructor PSRuntimeHosted(snapIns:string[], modules:[]) I forget where I got stuck but the root issue is RunspaceConfiguration.Cmdlets don't list the module commands so they have to be added to the provider with additional effort. |
* Added ability to call Azure PowerShell cmdlets. fsprojects#47 * New type inference approach for PS TP and new tests * Added paket dependency to FSharp.TypeProviders.StarterPack
Please try latest package from NuGet type PS = PowerShellProvider< "Azure" > |
Please test it and reopen this issue if needed |
Hi,
How do I run Azure powershell commands?
Below is my script:
Some initialization...
See "http://azure.microsoft.com/en-us/documentation/articles/install-configure-powershell/"
for more examples
How do I run commands from the Azure module?
In my opinion this would be an awesome feature for F# I think because it would open up many possibilities.
Regards
Stuart Davies
The text was updated successfully, but these errors were encountered: