-
Pass-through wired or wireless (Wi-Fi) NIC to VM using Hyper-V Discrete Device Assignment (DDA) in Windows Server 2016
Hyper-V Discrete Device Assignment (DDA) was developed for attaching (passing through) video adapters into virtual machines. This feature exists on other hypervisors (for example VMDirectPath I/O passthrough on VMware ESXi) for a long time and it is used to virtualize applications that can leverage GPU hardware. Such applications are used for example for scientific calculations…
-
PowerShell advanced function (cmdlet) to get Windows Firewall rules according specified protocols and ports
I wrote a very simple helper function (you can use it as cmdlet in own module) to simplify work with Get-NetFirewallRule cmdlet. Examples Get FW rules from remote server based on multiple protocols and ports Get-RvNetFirewallRule -Protocol TCP, UDP -LocalPort @(135..138) -CimSession MyRemoteServer | Format-Table Get disabled rule from the local server based on specified protocol…
-
PowerShell Workflow to enable or disable IP protocols (IPv4 or IPv6) on network adapters of remote servers
I wrote a very simple PowerShell workflow to solve an issue on one particular environment. The problem was that system administrators thought that it is a good idea to disable IPv6 protocol on all NICs on all servers. Disabling IPv6 protocol is a very bad practice. This will not disable IPv6. Microsoft does not tests…
-
Building Microsoft System Center Cloud – SCVMM 2012 R2 – Networking – Set VM Network on the virtual machine
Add VM Network to the VM VM – Properties – Hardware Configuration – Network Adapters – <One of the network adapters> Not using network virtualization (Hyper-V isolation)… Connectivity (o) Connected to a VM Network Select VM Network. Select Logical Switch. Select Port Classification. Using network virtualization (Hyper-V isolation)… Connectivity (o) Connected to a VM Network…
-
Building Microsoft System Center Cloud – SCVMM 2012 R2 – Networking – Network configuration on Hyper-V hosts
Now we need to add network objects that we created (Logical Switches) to our hosts. You can automate the whole process by Physical Computer Profile or by PowerShell and for example modify all hosts in the same group. In my case I have a single cluster with two nodes so when I remove old Hyper-V…