In this article I am going to show you how you can bulk check sccm client health and version via powershell. The script output will look like below (I have hidden the server names)
I will also show you how to output the result to a text file.
If you see a client version next to the client name this means the client is healthy. If the client is unhealthy you will get an error in red or no version listed.
Steps To Bulk Check SCCM Client Health and Version Via Powershell
Follow these steps
- Open notepad and enter all the client names you want to check, save the file as a .txt file
- Open System Center Configuration Manager
- Click on the down facing arrow then Connect via Windows Powershell
- To output the client health result in a powershell window type in Get-Content -path C:\Temp\server_list.txt | foreach { “{0} – {1}” -f $_, (Get-WMIObject -ComputerName $_ -Namespace root\ccm -Class SMS_Client).ClientVersion} in the powershell window, replace C:\Temp\server_list.txt with the file that you created in step 1. The output from this command will look like
- If you want to output the result to a .txt file run the following command in the powershell window Get-Content -path C:\Temp\server_list.txt | foreach { “{0} – {1}” -f $_, (Get-WMIObject -ComputerName $_ -Namespace root\ccm -Class SMS_Client).ClientVersion} > C:\Temp\result.txt
If you have any questions about this process please ask about it by posting in a comment below.

Hello, I am the owner of this site. I have 25+ years experience of IT. Check us out on the below social platforms.
Thank you