Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

PowerShell is an alternate option in Azure to execute commands, such as creating a resource group or virtual network. Powershell is required if you plan to create a resource group, virtual networks and virtual subnetworks via Powershell. These commands are not required if you are using Azure Portal to execute these commands.  For details on PowerShell, refer to the PowerShell documentation. For executing comments via Azure Portal, refer to Deploying a SBC SWe Lite via Azure Marketplace.

Log into PowerShell

PowerShell is an option used to execute various commands when deploying SBC SWe Lite via Azure. Use Azure CLI PowerShell module or Azure RM PowerShell module to login into PowerShell as follows:

...

  1. Access PowerShell. Refer to PowerShell documentation.
  2. Run the following commands (per Azure CLI PowerShell module):

    Code Block
    $ResourceGroup = "SWeLite-RG"
    $VirtualNetwork = "SWeLite-Network"
    
    ### Azure CLI ###
    az network nic create --resource-group $ResourceGroup --name "swelite-2" --vnet-name $VirtualNetwork --subnet pkt0
    az vm nic add -g $ResourceGroup --vm-name "swelite" --nics "swelite-2"