Azure Graph Explorer – List all Unused VNIC’s
This Azure Graph query will list all the VNIC’s in all subscriptions that aren’t connected to Virtual Machines, Network Security Group or Private EndPoints.
<archive/>
This Azure Graph query will list all the VNIC’s in all subscriptions that aren’t connected to Virtual Machines, Network Security Group or Private EndPoints.
Here’s a quick script, it loop through the subscriptions matching the -like String, it will then get give all the resource group names, resource names and types, this…