- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-05-2017 01:01 PM
Is there a way to check if a port is open via a script? I just want to check if a custom port i have on my network is open via a workflow script.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-06-2017 06:26 AM
I wrote 2 x KB Articles some time ago that you might find useful:
Port Scan Natively Using Powershell
Port Scan Natively Using Bash on Linux

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-05-2017 01:23 PM
Port scanning is the first step in the Discovery process. In this stage, Discovery scans the configured IP addresses for TCP and UDP IP ports to determine what ports are open or responsive. When scanning IP Ranges, Discovery searches for responses from WMI, SSH and SNMP protocols. Port scanning results are found in the input package of the Shazzam probe in the ECC Queue
Discovery Troubleshooting - Port Scanning - ServiceNow Wiki
Regards,
Sachin

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-06-2017 12:11 AM
Hi Adrian,
You could use a powershell workflow activity and use the port scanner script below for example:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-06-2017 06:05 AM
Thank you this is exactly what i was looking for
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-06-2017 06:26 AM
I wrote 2 x KB Articles some time ago that you might find useful:
Port Scan Natively Using Powershell
Port Scan Natively Using Bash on Linux