Hi,i work on script that deploy my network settings and other settings on new servers.
The script install software. (from a mounted iso file via Remote Service Board) and restart the system.One part of the software is the Broadcom BACS Tool, after the systemrestart the script start the bacscli Tool for create the network team ...On some servers there is a problem, the script start the bacscli Tool, but the windows network initialization is is not ready yet, you can see this in the systray, it show the Network icon with a blue spinning circle (W2K8 R2).
How can you check if the initialization is complete, before the script begins configuring the network.My workAround: I using 1 min. waiting loop, but I hope there is a more elegant solution.Thank you.Best regardsbrima
Try using Test-Connection <machine name> -Quiet -Count 1
This returns true or false. You won't be able to ping the machine until the network is ready
This not worked(!)
see the picture, the ping / test-connection work but the network is in this moment not ready, see the blue circle in the systray network icon! and before the network is not ready you can not use the Broadcom Bacscli Tool.
Best regardsbrima
In that acse trying testing for a service that has to have started such as the server, DHCP client or windows time service - you won't be able to get to them until the network is ready
Sorry for my late answer, i tested your tip today, but this also not worked, the blue circle is active on the network icon in the systray but the services server or dhcp show the status running, the w32time show the status stopped.
The status for w32time is not changed after the "blue circle period", after tihs it is also stopped!