-
Notifications
You must be signed in to change notification settings - Fork 31
Function TcpPort
Chris Hunt edited this page May 23, 2016
·
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