简体   繁体   中英

“azure” not recognized in Azure powershell

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM