Skip to content

Sajal Choudhary

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

Create VNIC in Azure

POWERSHELL AZURE NETWORK
Planted .
## 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 Books Evergreen TIL Stories Poems Photos

© 2026 Sajal Choudhary

Streak New posts for 134 consecutive weeks