Skip to content

Sajal Choudhary

Garden Stream Nordletter Books About
Colophon Now Feeds
Evergreen TIL Shelf Stories Poems
Blog Micro Photos
Books Film TV Games
til powershellazurenetwork
Sajal Choudhary https://sajalchoudhary.net

Create VNIC in Azure

POWERSHELL AZURE NETWORK
## Create a network interface for the VM. ##
$nic = @{
    Name = "nic2"
    ResourceGroupName = $RGName
    Location = $Region
    Subnet = $vnet.Subnets[0]
}
$nicVM = New-AzNetworkInterface @nic

references:

Updated August 4, 2024 at 11:16 . Thoughts? Email me.
Posted to:
Mastodon Bluesky
About Colophon Now Evergreen TIL Stories Poems Photos Bookshelf

© 2026 Sajal Choudhary

Streak New posts for 126 consecutive weeks