Exam4Training

Which Windows Power Shell command should you execute?

You manage an Azure Web Site named contosoweb. Logging is enabled for contosoweb.

You need to view only errors from your log files in a continuous stream as they occur.

Which Windows Power Shell command should you execute?
A . Get-AzureWebSiteLog -Name contosoweb -OutBuffer Error
B . Save-AzureWebSiteLog -Name contosoweb -Output Errors
C . Get-AzureWebSiteLog -Name contosoweb -Tail CMessage Error
D . Get-AzureWebSiteLog -Name contosoweb -Message Error

Answer: C

Explanation:

Example

This example starts log streaming and show error logs only.

Windows PowerShell

C:PS>Get-AzureWebsiteLog -Tail -Message Error

Explanation:

http://msdn.microsoft.com/en-us/library/dn495187.aspx

Latest 70-533 Dumps Valid Version with 351 Q&As

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund

Exit mobile version