Skip to content

Latest commit

 

History

History
26 lines (19 loc) · 619 Bytes

discover-custom-location.md

File metadata and controls

26 lines (19 loc) · 619 Bytes
titledescriptionauthorms.topicms.datems.author
include file
include file
dominicbetts
include
11/12/2024
dobett

You can discover your custom location name by running the following command:

az iot ops list -g <your Azure resource group> --query "[0].extendedLocation.name" -o tsv | awk -F'/''{print $NF}'

You can discover your custom location name by running the following command:

az iot ops list -g <your Azure resource group>--query "[0].extendedLocation.name"-o tsv) -split'/'|Select-Object-Last 1

close