Test-NetworkConnection
SYNOPSIS
Tests for an active local network connection, excluding wireless and virtual network adapters.
SYNTAX
Test-NetworkConnection [<CommonParameters>]
DESCRIPTION
Tests for an active local network connection, excluding wireless and virtual network adapters, by querying the Win32_NetworkAdapter WMI class.
EXAMPLES
EXAMPLE 1
Test-NetworkConnection
PARAMETERS
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.