Question:
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:
1 2 |
azure : The term 'azure' is not recognized as the name of a cmdlet... |
What am I doing wrong here?
Answer:
Your example command is an Azure cross-platform command line command. The equivalent PowerShell command is:
1 2 |
Get-AzureWebsiteLog websitename -Tail |