Windows 10
A Microsoft operating system that runs on personal computers and tablets.
11,196 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi,
For WinPE, we use Wpeutil WaitForNetwork.
Inside the OS (Win 11), how to achieve the same as Wpeutil is not available inside the Windows.
Is the interface DHCP-enabled? If it is, this might work:
https://blog.oddbit.com/post/2012-11-04-powershell-wait-for-networking/
If the interface(s) use static address assignments you can get the router address from the interface use Test-NetConnection to see if it "alive".