When querying data, the first thing we want to know is „What data is avaiable ?“. Azure Resource Graph (ARG), in its current iteration stores resources from a subscription with the following values:
# We list one resource and get the PSCustomobject values
$q = 'top 1 by name'
Search-AzGraph -Query $q |Get-Member -MemberType Noteproperty |Select-Object Name
So there are 16 properties available for querying, which we will explore. the interesting thing here is that ARG stores also… Read more Azure Resource Graph III – Entity properties
After a first insight into Azure Resource Graph (in public preview as of Oct 2018) here, lets do a bit of an analysis of the data, the Az.ResourceGraph Module provides. Lets say, we want to know which kind of resources (providers) we have in our subscription The search query for this is simple: „project type“… Read more Azure Resource Graph II – Output data type
Hi All ! Azure Automation allows the installation of Modules published on the PS Gallery, or beeing uploaded from a ZIP File. The ZIP-Upload can be automated with commands from AzureRM.Automation Module, but i was facing the following problem. When i automatically deploy an Azure Automation Account, how can i install a PowerShell Module from… Read more Install a PS Module from the PS Gallery in Azure Automation by Script
LogAnalytics Workspaces can be used for many reasons. Run typical Operations Management for your Infrastructure Services Log-Consolidation engine for an Azure Automation Account Log Collector for Microsoft foreign Logs (Syslog, other custom Logs This blogpost will demonstrate how easy it is to create a Log Analytics Workspace. Step 1 – Logon to Azure with PowerShell… Read more Create a LogAnalytics Workspace with PowerShell