DNS IP change
$ComputerName = get-content " $env:USERPROFILE \desktop\servers.txt" $report = @() foreach ( $Computer in $ComputerName ) { $Networks = Get-WmiObject -Class "win32_networkadapterconfiguration" -ComputerName $Computer } foreach ( $Network in $Networks ) { $IPAddress = $Network . IpAddress [ 0 ] $SubnetMask = $Network . IPSubnet [ 0 ] $DefaultGateway = $Network . DefaultIPGateway $DNSServers = $Network . DNSServerSearchOrder $MACAddress = $Network . MACAddress $OutputObj = New-Object -Type PSObject $OutputObj | Add-Member -MemberType NoteProperty -Name ComputerName -Value $Computer . ToUpper(...