How to enable powershell on azure web role?

287 Views Asked by At

I want to remote PowerShell connection.

How to enable PowerShell on windows azure web role ? ...or, Is it possible ?

Thanks!

1

There are 1 best solutions below

0
On

You will need to enable website diagnostic logging and then you can use Powershell CMDLets to save or get the latest parts of the log file. How to enable Diagnostics Logging for Azure Web Sites.

These are the cmdlets you'll need to use inside Powershell to get the log files from your website:

Get-AzureWebSiteLog -Name webappname -Tail
Save-AzureWebSiteLog -Name webappname