Tag Archives: PowerShell Programming language

PowerShell is a task automation and configuration management program from Microsoft, consisting of a command-line shell and the associated scripting language. Platforms are Windows PowerShell .NET Framework, Implementation language on C#.

How to Ping Multiple Devices at Once in PowerShell?

Ping a Range of IP Addresses using Windows PowerShell

By pinging an IP range, you can instantly determine if the IP addresses within a range are available and reachable on a windows machine where is capable with Powershell. It also shows you which IPs are connected to a device und which device is currently online.

Launch start or press the Windowskey, then type powershell on the keyboard, select powershell app in the chooser.

Out from the opened powershell run the following two lines one after each other with use copy and paste.

$ping = New-Object System.Net.Networkinformation.Ping
1..10 | % { $ping.send("192.168.10.$_") | where {$_.status -eq "Success"} | Select-Object Address,Status }

  IP range “1..10” Change the start (1) or end (10) to the IP range you want to ping on the network. Note that the last octet figure can’t exceed 255.

The command sends ICMP echo request messages to all IPv4 addresses in this range and wait for echo replies, the output will look similar this.

If you get truncated output then use the command bellow.

10..100 | % { $ping.send("192.168.10.$_") | where {$_.status -eq "Success"} | Select-Object -Property Address,Status | Format-Table -AutoSize }


This PowerShell class provides functionality similar to the Ping.exe command line tool. The Ping class sends an Internet Control Message Protocol (ICMP) echo request message to a remote computer and wait for an ICMP echo reply message from that computer.


This post shows how you can easily scan entire IP subnets or ranges in PowerShell without using additional tools that have to be installed first.

How to check .NET version with PowerShell

To check the .NET Framework version with PowerShell on Windows 10 and Windows 11, follow these steps.

Hit the key on your keyboard and typing “powershell”, right-click the top result and choose Run as administrator.

Paste the following line into PowerShell and hit the Enter key.

Get-ChildItem 'HKLM:\SOFTWARE\Microsoft\NET Framework Setup\NDP' -Recurse | Get-ItemProperty -Name Version,Release -EA 0 | Where { $_.PSChildName -match '^(?!S)\p{L}'} | Select PSChildName, Version, Release

If you ran the command above, PowerShell will return the information for both the client and the full version of .NET Framework installed on Windows 10 or if you are already using Windows 11.

How to check .NET version with PowerShell