Search notes:

PowerShell cmdLet add-azVirtualNetworkSubnetConfig

add-azVirtualNetworkSubnetConfig creates an in-memory representation of a subnet.
After creating this in memory representation, it should be piped to set-azVirtualNetwork to update the network accordingly:
$sn = add-azVirtualNetworkSubnetConfig …
$sn | set-azVirtualNetwork

See also

Powershell command noun: azVirtualNetworkSubnetConfig

Index