$laptopname = Read-Host -Prompt "which laptop"
Do
{
IF (Test-Connection -BufferSize 32 -Count 1 -ComputerName $laptopname -Quiet) {
Get-WMIObject -Class Win32_physicalmedia -ComputerName $laptopname | Format-List PSComputername, SerialNumber
Get-WMIObject -Class Win32_DiskDrive -ComputerName $laptopname |Format-List model, SerialNumber
} Else {
Write-Host "laptop "$laptopname "is not on the network"
}
$laptopname = Read-Host -Prompt "next laptop or 0 to exit"
} until ($laptopname -eq 0)
Troubleshooting public DNS replication
Sometimes we might run into a DNS replication problem in the public domain. This might be because of a DNSSec issue