The module allows you to scan a range of IP addresses to obtain information about the status of individual machines. Returns information about ICMP status, optionally the machine name from DNS, and status of ports or remote management protocols like WMI/WSMan

Minimum PowerShell version


Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Module -Name PSSubnetScan

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

Install-PSResource -Name PSSubnetScan

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More



(c) 2020 Michal Gajda. All rights reserved.

Package Details


  • Michal Gajda


Get-PSSubnet Get-PSSubnetInfo Get-PSSubnetScan


This module has no dependencies.

Release Notes

v2.0.3  - Add AsHashtable param to return result in hasthable format.
       - Add SslProtocol param to define specific SSL protocol for tests.
       - Add TlsCipherSuite param to define specific TLS cipher suite for tests. Supported only on Linux PowerShell Core.

v2.0.2 - Change data type of PortList param from int[] to string[] for support ports with protocols
       - Add CommonPorts param.

v2.0.1 - Implementing Udp port scan

v2.0.0 - Rewrite whole script module to binary module


Version History

Version Downloads Last updated (current version) 226 4/14/2022 366 2/4/2021 29 1/26/2021 185 4/29/2020