Someone must have thought about this.. I've got a teensy logon script and I want it to quickly figure out whether the box has a hope in H. of talking to a DC e.g. it's:
a) Not connected to a network.
b) Is connected to a home/other network somewhere
If possible I'd like it to be generic i.e. no comparing current IP address against some hard-coded value.
Any ideas on what's the best thing to look at or test?