Scripts query and set selected Azure VM Nics to Inherit DNS Settings from Subnet.
Repo contains several important files:
- Used to create
.csvfile ultimately consumed bySetAzureVMNicsToInheritDNSFromSubnet.ps1. - Output file is stored in
.\CsvExport - The output file is intended to be reviewed and filtered by a human. Please place resulting manually filtered
.csvfiles in the.\CsvFilteredfolder.
- Prompts for input Csv files in
.\CsvFiltered - Once input file is received, script sets selected VMs to inherit DNS for the Azure portal subnet.
- Script is intended to be run with VScode in the root of the AzureDNSRepair Folder