Task sheduler. ID for an operational ethernet network

Frenzy 1 Reputation point
2020-10-15T04:45:39.25+00:00

Hello, I just want to know the ID event for "access to operational ethernet network" I know that there is an event ID for when an ethernet wire is connected (ID 15501) but what I want is different (indeed the wire remains connected at startup).
This is to make a vbs script to connect to network drives when the ethernet connection is operational.
Thank you in advance.

Windows 10 Network
Windows 10 Network
Windows 10: A Microsoft operating system that runs on personal computers and tablets.Network: A group of devices that communicate either wirelessly or via a physical connection.
2,339 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Candy Luo 12,701 Reputation points Microsoft Vendor
    2020-10-15T07:41:01.823+00:00

    Hi ,

    It seems there is no other event ID except can ID 15501 inform "access to operational ethernet network". You might concern to use PowerShell cmdlets to trigger the information.

    Get-NetConnectionProfile  
    

    If the interfaces IPv4 connectivity indicates “Internet” the machine connectivity is INTERNET, then means you have accessed to operational ethernet network.

    As the picture below:

    32477-image.png

    Best Regards,

    Candy

    --------------------------------------------------------------

    If the Answer is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.