Windows 10 | Setting NIC Properties dependig on Vendor via Powershell

Get-NetAdapter -Physical | where InterfaceDescription -eq “Intel(R) Ethernet Connection (7) I219-V” | Set-NetAdapterAdvancedProperty -NoRestart -DisplayName “Energieeffizientes Ethernet” -DisplayValue “Aus” Get-NetAdapter -Physical | where InterfaceDescription -eq “Realtek*” | Set-NetAdapterAdvancedProperty -NoRestart -RegistryKeyword “EEE” -RegistryType “REG_SZ” -RegistryValue “0” Get-NetAdapter -Physical | where DriverProvider -eq “Intel” | where DriverVersion -like “12.18.8.*” | Set-NetAdapterAdvancedProperty -NoRestart -DisplayName “Energieeffizientes Ethernet” -DisplayValue “Ein” […]

Windows 10 | WakeOnLan | GPO via powershell

You have a problem with running WOL properly on Windows 10 in a corporate environment? Distribute a powershell (argghhh) script like this via GPO. All 192.168 NICs are renamed into a standard OFFICEN (OFFICE1..999). $adapter = gwmi win32_networkadapterconfiguration | ? { $_.IPaddress -like “*192.168*”} $i = 1 foreach($element in $adapter){ $adapterindex = $element.index $newname = […]

KVM | host network interface settings on debian

First do: https://bytesandbones.wordpress.com/2018/02/22/debian-disabling-the-spooky-network-manager/   Then edit /etc/network/interfaces like:   # This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5). source /etc/network/interfaces.d/* # The loopback network interface auto lo iface lo inet loopback iface enp1s0f0 inet manual auto br0 iface br0 inet static address […]