IsPortActive
1.1.1
If the process name is svchost, the script will find the service and display name in addition to the process name.
Here are key switches to guide the script's behavior:
-Port to specify the port number to
If the process name is svchost, the script will find the service and display name in addition to the process name.
Here are key switches to guide the script's behavior:
-Port to specify the port number to check for active connections.
-ProcessName to specify the name of the process to check for active connections.
-ProcessId to specify the process ID to check for active connections.
Additional utilities include:
-Version switch displays the current version of the script.
-Help switch brings up the help information for the script usage.
-CheckForUpdate switch verifies if the current script version is up-to-date.
Installation Options
Owners
Package Details
Author(s)
- asheroto
Tags
PowerShell Windows port active network check program listening
Functions
LineSeparator Check-GitHubRelease Get-Connections
Dependencies
This script has no dependencies.
Release Notes
[Version 0.0.1] - Initial Release.
[Version 0.0.2] - Removed function.
[Version 0.0.3] - Improved description.
[Version 0.0.4] - Fix example.
[Version 0.0.5] - Added code signing cert.
[Version 1.0.0] - Totally refactored script. Added support for UDP ports. Added support for checking by process name and process ID. Added support for returning service/display name if it's svchost. Added -Help, -CheckForUpdate, and -Version.
[Version 1.1.0] - Removed Get-WmiObject references, some duplicate checks, and updated to best practices.
[Version 1.1.1] - Changed Write-Error to Write-Warning.
FileList
- IsPortActive.nuspec
- IsPortActive.ps1