-
Notifications
You must be signed in to change notification settings - Fork 32
Function TcpPort
Mark Wragg edited this page Jun 17, 2019
·
2 revisions
Test a a Tcp Port.
Test that a Tcp Port is listening and optionally validate any TestNetConnectionResult property.
[Parameter(
Mandatory = $true,
Position = 2,
ParameterSetName = 'Set 1')]
[Parameter(
Mandatory = $true,
Position = 3,
ParameterSetName = 'Set 1')]
[Parameter(
Mandatory = $true,
Position = 4,
ParameterSetName = 'Set 1')]
[Parameter(
Mandatory = $true,
Position = 5,
ParameterSetName = 'Set 1')]
Be, BeExactly, Match, MatchExactly
TcpPort localhost 80 PingSucceeded { Should Be $true }
TcpPort localhost 80 TcpTestSucceeded { Should Be $true }
Getting Started
Contributing
Functions