How can you check if the systemstart network initialization is complete?

rated by 0 users
This post has 5 Replies | 1 Follower

Top 25 Contributor
Posts 93
Top Contributor
brima Posted: 02-07-2012 2:11 PM

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 regards
brima

Top 10 Contributor
Posts 296
Microsoft MVP
Top Contributor

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

Top 25 Contributor
Posts 93
Top Contributor

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 regards
brima

Top 25 Contributor
Posts 93
Top Contributor
Top 10 Contributor
Posts 296
Microsoft MVP
Top Contributor

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

Top 25 Contributor
Posts 93
Top Contributor

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!

Best regards
brima

Page 1 of 1 (6 items) | RSS
Copyright 2012 PowerShell.com. All rights reserved.