PowerShell, Red PowerShell $ip='90.0.0.0' $result=(Resolve-DnsName $ip).NameHost if($result -match 'static'){$ip + ' static'} else{$result + ' no static'} 1234 $ip='90.0.0.0'$result=(Resolve-DnsName $ip).NameHostif($result -match 'static'){$ip + ' static'}else{$result + ' no static'}