PoWerShell to relevance Conversion

(imported topic written by malaimaruthamalai)

Hello Friends

I am a TEM newbie and now asked to convert PowerShell scripts to fixlets.

I heard that there is a utility that can convert powershell code to relevance but I am unable to find it yet.

So far, I saw a *NIX SHELL to Relevance link in bigfix.me URL but nothing for powershell.

Do we have any such utility ?

Thanks

Senthil Nathan M

(imported comment written by Tim.Rice)

A couple points …

  1. I’ve never seen a “converter” either.
  2. You CAN use an IEM Fixlet/Task to create a .ps file on a target machine and call PowerShell with it as an argument. Look into the “createfile until …” command
  3. Relevance by itself is Read-Only. You can’t DO anything with Relevance. Activities are performed with the Action scripting code. Relevance code can be included in an Action script using curly brackets “{ }” to perform substitution in the Action script. Relevance is used to either gather/represent information about an endpoint or to target machines based on information about them.

If you are referring to WMI queries, as long as it’s a query not a command to change something, it can be done with relevance.