How should you complete the command?
HOTSPOT
HOTSPOT
You are using PowerShell to administer Azure Log Analytics workspaces.
You need to list the available workspaces and their properties.
How should you complete the command? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point.

Answer: 
Explanation:
Box 1: Get-AzResource
Use the following command to examine the access control mode for all workspaces in the subscription:
PowerShell
Get-AzResource -ResourceType Microsoft.OperationalInsights/workspaces –
ExpandProperties | foreach {$_.Name + ": " +
$_.Properties.features.enableLogAccessUsingOnlyResourcePermissions
Box 2: -ResourceType
Latest AZ-400 Practice Questions with 289 Q&As
Updated Study Material | Instant Download | Detailed Answers and Explanations
Subscribe
Login
0 Comments