Skip to the content.

Previous page >

Content

Demonstrate how to send the diagnostic settings of a Windows Virtual Desktop workspace to a Log Analytics workspace.

UI Deployment

Click the button below to deploy:

PowerShell Deployment

#Variable
$DeploymentName="WVD-Workspace-DiagnosticsSettings"
$RgName="jdld-we-demo-wvd-rg1"

New-AzResourceGroupDeployment -Name $DeploymentName -ResourceGroupName $RgName `
  -TemplateParameterFile .\parameters.json `
  -TemplateUri https://raw.githubusercontent.com/JamesDLD/AzureRm-Template/master/Deploy-WvdWorkspaceDiagnostics/template.json