Windows
nslookup myip.opendns.com resolver1.opendns.com
Linux
dig +short myip.opendns.com @resolver1.opendns.com
Windows
nslookup myip.opendns.com resolver1.opendns.com
Linux
dig +short myip.opendns.com @resolver1.opendns.com
Here is how you can emulate Azure managed identity on your local system by running an instance metadata service identity endpoint and simulating the token API to return an access token from Azure CLI. You can use this for example to log into SQL Server Management studio using your Azure CLI identity, or locally test code that uses the "Azure only" [ManagedIdentityCredential](https://learn
This PowerShell script streams Application Insights live metric traces to your local system and displays them in a PowerShell grid view. This is useful since the Azure Portal trace viewing experience is somewhat limited.
Warning
This script uses undocumented functionality. Exercise caution when running any scripts against your infrastructure.
To use:
This script retrieves published Azure location information and transforms it into GeoJSON format, with Point
features indicating Azure regions and LineString
features indicating links between paired regions.
$locations=az account list-locations --query "[?metadata.regionType=='Physical']"|convertfrom-json
@{type='FeatureCollection';features=$($locations|?{$_.metadata.pairedRegion.count -eq 1}|%{$r=$_;$p=$locations|?{$_.name -eq $r.metadata.pairedRegion[0].name}|select -first 1;if($null -ne $p -and -not (($r.metadata.longitude -eq 0 -and $r.metadata.latitude -eq 0) -or ($p.metadata.longitude -eq 0 -and $p.meta