If you are waiting for a specific DNS record to be created, then it’s nice to use the following PowerShell command:
do {nslookup google.ee. 8.8.8.8;sleep 1} while (1)
It’s an indefinite loop with two commands:
- nslookup for DNS query;
- sleep for waiting one second between the next query
It can be used for other commands too.
This comment has been removed by a blog administrator.
ReplyDelete