In this Azure PowerShell article, we will discuss the syntax and usage of the Get-AzApplicationInsights PowerShell command with certain examples.
Table of Contents
Get-AzApplicationInsights
This Azure PowerShell command can help you to return the Application Insights components.
Syntax
Below is the syntax of the Get-AzApplicationInsights PowerShell command.
Get-AzApplicationInsights
Get-AzApplicationInsights
-Name <String>
-ResourceGroupName <String>
Get-AzApplicationInsights
-ResourceGroupName <String>
Let’s discuss a few examples of how to use the Get-AzApplicationInsights PowerShell command.
Example-1
You can execute the below Azure PowerShell command to get the details of the Application Insights components.
Get-AzApplicationInsights
After executing the above command, I got the below-expected output.
PS C:\windows\system32> Get-AzApplicationInsights
Location Name Etag Kind ResourceGroupName
-------- ---- ---- ---- -----------------
eastus tsinfonewal "74154363-0000-0100-0000-6462262d0000" web DEMORG1
eastus demotsinfo "8f1535f1-0000-0100-0000-6462422e0000" web demoRsgGroup
eastus demotsinfo "90159f73-0000-0100-0000-646242a50000" web newresgroup
northeurope insight2061 "cd0339ea-0000-0200-0000-6384f5bc0000" web DEMORG1
You can see the same output below

Example-2
You can execute the below Azure PowerShell command to get application insights resources.
Get-AzApplicationInsights -ResourceGroupName "demoRsgGroup" -Name "demotsinfo"
After executing the above command, I got the below-expected output

Conclusion
In this Azure PowerShell article, we discussed the syntax and usage of the Get-AzApplicationInsights PowerShell command with examples of how to use this command. Thanks for reading this article !!!