in Service Manager

Get installed SCSM Version for multiple computers by using PowerShell

I recently worked in a project where people are working with several Service Manager environments. First there is like a development environment where everyone does first steps and sees how it goes. If everything works as expected Management Packs and configuration are imported into the integration environment. Last but no least, there is the productive environment where end users are using Service Manager to choose offerings from a pretty big service catalog 🙂

Well, when working with several environments, one has to make sure that all Service Manager servers are on the same patch level. Especially integration and production should be on the same level.

Screenshot Script Check File Version

To check for Service Manager versions on multiple servers I wrote a small PowerShell script which checks file version of Microsoft.EnterpriseManagement.DataAccessLayer.dll on every computer passed in a CSV file. To check files, a remote PowerShell session is established so the computers specified must be configured to receive Windows PowerShell remote commands that are sent by using the WS-Management technology

The CSV file should have the following structure (where computername is the header to be included):

Computername
SM01
SCSMSERVER01
MS01

It is kind of a first draft and may be improved in some ways. Feel free to comment if you have any suggestions on how to enhance the script!

Write a Comment

Comment