# $nsgNameTargetVMSubnet -> Name of the NSG associated to the Target VM Subnet \Set-AzureBastion-NSG-Inbound-security-rules-on-Target-VM-Subnet nsg-tst-myh-app-01 rg-tst-myh-networking-01 \Set-AzureBastion-NSG-Inbound-security-rules-on-Target-VM-Subnet Set-AzContext -Subscription "" (if not using the default subscription) When downloaded or copied, run the script with the following parameters: If you have multiple Azure subscriptions, make sure to select the appropriate subscription using the Set-AzContext cmdlet before executing the script. If you are not running the script from Cloud Shell, don’t forget to sign in with the Connect-AzAccount cmdlet to connect your Azure account. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |