Reputation: 7830
I found all Azure Management Cmdlets here:
Windows Azure Management Cmdlets.
My question is how can I use these cmdlets in C# to create, remove and deploy an Azure Website?
Upvotes: 0
Views: 1503
Reputation: 1085
Without azure login we can not fire any command. We can Create Website in following steps.
Ref to deploy site : http://blogs.msdn.com/b/cdndevs/archive/2015/04/23/azure-powershell-azure-websites-for-the-command-line-junkies-part-1.aspx
Upvotes: 0
Reputation: 1186
Windows Azure managemnet cmdlets have been updated and now it includes web site creation. Check it here.
Upvotes: 1
Reputation: 6823
Here is a link to the samples from my book, PowerShell for Developers.
This example embeds the PowerShell engine in a C# application. You can then call the Azure PowerShell cmdlets and/or external PowerShell scripts that contain the workflow that you develop.
Upvotes: 0