$val1 = Read-host "Please Enter the hostname" $val2 = Read-Host "Please enter the ip address" $cmdval = "dnscmd 10.2.3.4 /recordadd mydomain.com $val1.mydomain.com. A $val2" Invoke-Expression $cmdval
Join the community of 500,000 technology professionals and ask your questions.
Connect with top rated Experts
13 Experts available now in Live!