Jump to content
Sign in to follow this  
BlueToast

Are PowerShell versions for each agent stored anywhere in the MySQL database?

Recommended Posts

If the .NET Framework version is stored in the MySQL database, is the PowerShell version(s) stored anywhere in the MySQL database? I was looking but could not find any.

Share this post


Link to post
Share on other sites

They are not. But here are some good options:

Add PowerShell Version to Programs and Features: https://www.labtechgeek.com/topic/3935-expose-powershell-version-as-an-installed-software-application/

Add PowerShell Version Roles: https://www.labtechgeek.com/files/file/13-powershell-version-roles/

Either option allows you to search and target (or exclude) machines with specific versions installed.  

  • Thanks 1

Share this post


Link to post
Share on other sites

I did this by making a custom EDF field and having a customer wide LT script powershell the version to a variable and store it in the EDF. THen I can search against it

  • Like 1

Share this post


Link to post
Share on other sites

I forgot to mention this -- being after the fact -- we have a script that sets a Script State for PowerShell version. They're similar to EDFs.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×