Followed the instructions to the T, the script appears to work only the behaviour I get is that I'm not presented with any of the message boxes relating to it not being able to find a connection, no message or progress windows on the System Center Configuration Manager screen. So it is partially working, if I then connect the cable the Task Sequence continues. Any ideas?
Also, is it possible to add a power cable check for a laptop device to the script please?