Skip to content

si-kotic/Test-OpenPorts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 

Repository files navigation

Test-OpenPort

Test-OpenPort will test if a device is listening on a particular port.

Usage

Parameters

Address

Specifies the address to which you want to connect.

Argument Value
Type String
Position Named
Default value None
Accept pipeline input True
Accept wildcard characters False
Mandatory True

Port

Specifies the port to which you want to connect.

Argument Value
Type String
Position Named
Default value None
Accept pipeline input True
Accept wildcard characters False
Mandatory True

Syntax

Test-OpenPort -Address www.google.co.uk -Port 443

Example

C:\>Test-OpenPort -Address www.google.co.uk -Port 443
+Successfully connected to www.google.co.uk on Port 443
C:\>Test-OpenPort www.google.co.uk -Port 8888
-Could not connect to  on Port 8888

About

Replaces Telnet with a powershell function and works out of the box.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors