@@ -261,7 +261,7 @@ let Today = now(); VMComputer | extend DaysSinceBoot = Today - BootTime | summar
261
261
### Summary of Azure VMs by image, location, and SKU
262
262
263
263
``` kusto
264
- VMComputer | where AzureLocation != "" | summarize by ComputerName , AzureImageOffering, AzureLocation, AzureImageSku
264
+ VMComputer | where AzureLocation != "" | summarize by Computer , AzureImageOffering, AzureLocation, AzureImageSku
265
265
```
266
266
267
267
### List the physical memory capacity of all managed computers
@@ -279,7 +279,7 @@ VMComputer | summarize arg_max(TimeGenerated, *) by _ResourceId | project Comput
279
279
### Find all processes with "sql" in the command line
280
280
281
281
``` kusto
282
- VMComputer | where CommandLine contains_cs "sql" | summarize arg_max(TimeGenerated, *) by _ResourceId
282
+ VMProcess | where CommandLine contains_cs "sql" | summarize arg_max(TimeGenerated, *) by _ResourceId
283
283
```
284
284
285
285
### Find a machine (most recent record) by resource name
@@ -303,7 +303,7 @@ VMProcess | where Machine == "m-559dbcd8-3130-454d-8d1d-f624e57961bc" | summariz
303
303
### List all computers running SQL Server
304
304
305
305
``` kusto
306
- VMComputer | where AzureResourceName in ((search in (VMProcess) "\ *sql\ *" | distinct Machine)) | distinct Computer
306
+ VMComputer | where AzureResourceName in ((search in (VMProcess) "*sql*" | distinct Machine)) | distinct Computer
307
307
```
308
308
309
309
### List all unique product versions of curl in my datacenter
@@ -315,7 +315,7 @@ VMProcess | where ExecutableName == "curl" | distinct ProductVersion
315
315
### Create a computer group of all computers running CentOS
316
316
317
317
``` kusto
318
- VMComputer | where OperatingSystemFullName contains_cs "CentOS" | distinct ComputerName
318
+ VMComputer | where OperatingSystemFullName contains_cs "CentOS" | distinct Computer
319
319
```
320
320
321
321
### Bytes sent and received trends
0 commit comments