문제

For the first time I'm trying out Azure Powershell. I'm selected my subscription and am trying to run the following command: azure site log tail websitename

However when I run the command I get the following error:

azure : The term 'azure' is not recognized as the name of a cmdlet...

What am I doing wrong here?

도움이 되었습니까?

해결책

Your example command is an Azure cross-platform command line command. The equivalent PowerShell command is:

Get-AzureWebsiteLog websitename -Tail 

다른 팁

First you need to install the powershell tool for the azure from azure site. This is another utility which recognise all the cmdlts which is assosicated with azure. After that it's very easy to use powershell ise.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top