Provides all the details you need to deploy the Cisco Catalyst 8000V VM using PowerShell.
This section describes how to create and manage VMs on Azure Local using Windows PowerShell. The following table outlines the high-level steps involved to create and manage the VM. It also provides the link to the respective Azure Local documentation. To learn about the PowerShell commands used in detail. refer to this PowerShell Command page.
-
Review the detailed Azure Local documentation for each step.
-
Refer to the PowerShell command reference for syntax and usage examples.
|
Action |
PowerShell command and description |
Link to the Azure PowerShell documentation |
|---|---|---|
|
Create the VM |
Creates a new VM. |
https://learn.microsoft.com/en-us/azure/azure-local/manage/vm-powershell?view=azloc-2604#create-a-vm |
|
Create a disk |
Creates one or more new virtual hard disks. |
https://learn.microsoft.com/en-us/powershell/module/hyper-v/new-vhd?view=windowsserver2025-ps |
|
Add a hard disk |
Adds a hard disk drive to a virtual machine. |
|
|
Configure the VM settings |
Configures settings for the virtual processors of a virtual machine. Settings are applied uniformly to all virtual processors belonging to the virtual machine. |
|
|
Configure the memory |
Configures the memory of a virtual machine. |
https://learn.microsoft.com/en-us/powershell/module/hyper-v/set-vmmemory?view=windowsserver2025-ps |
|
Connect the switch and the VLAN |
Connects a virtual network adapter to a virtual switch. |
|
|
Configure the firmware of the VM |
Sets the firmware configuration of a virtual machine. |
https://learn.microsoft.com/en-us/powershell/module/hyper-v/set-vmfirmware?view=windowsserver2025-ps |
|
Configure a virtual DVD Drive |
Configures a virtual DVD drive. |
https://learn.microsoft.com/en-us/powershell/module/hyper-v/set-vmdvddrive?view=windowsserver2025-ps |
|
Start the VM |
Starts the virtual machine. |
https://learn.microsoft.com/en-us/powershell/module/hyper-v/start-vm?view=windowsserver2025-ps |