BRONZE PARTNER:
BRONZE PARTNER:
Industry News:

| |
 |
 |
 |
| PowerShell Script To Get An SMS Clients Installed Components Name And Versions |
 |
|
|
By: Don Hite
Posted On: 1/3/2008
This article was Previously posted on Don Hite's Blog
This PowerShell script will allow you top query a local or remote machine and write the resources Installed SMS components display name and version to the active window.
PS1 Script:
$strComputer = "LocalHost"
$wmiNS = "root\ccm" $wmiQuery = "Select * From CCM_InstalledComponent"
$objWMIService = GWMI -Comp $strComputer -Name` $wmiNS -Q $wmiQuery $objWMIService |
Select DisplayName, Version | Sort DisplayName
|
 |
 |
 |
|
|