VeeamON 2024 | #BounceForwardThrowback (Win Custom Shoes!)
Thx all.I created another script to automate the E1000 to VMXNET3 change on the Windows machines. You will have to place this script locally on the machine and then schedule a task so that it runs at startup.You can do this for example with a Group Policy.$path = "C:\TEMP\NetIP.json"if (Test-Path $path) { Write-Host "IP Configuration backup already exists. Skipping ..."}else { $NetIP = Get-NetIPConfiguration #Check if IP address is not APIPA if ($NetIP.IPv4Address.IPAddress -inotlike "169.25*") { $myObject = [PSCustomObject]@{ IPAddress = $NetIP.IPv4Address.IPAddress Subnet = $NetIP.IPv4Address.PrefixLength Gateway = $NetIP.IPv4DefaultGateway.NextHop DNS1 = $NetIP.DNSServer.ServerAddresses[0] DNS2 = $NetIP.DNSServer.ServerAddresses[1] } $myObject | ConvertTo-Json -depth 1 | Out-File $path } }$hypervisor = Get-CimInstance -ClassName Win32_ComputerSystem | Select-Object Manufacturer#Check if VM
Already have an account? Login
Enter your username or e-mail address. We'll send you an e-mail with instructions to reset your password.
Sorry, we're still checking this file's contents to make sure it's safe to download. Please try again in a few minutes.
Sorry, our virus scanner detected that this file isn't safe to download.