Action Script type as powershell

Hello All,
Happy New Year!
I’m new to fixlet creation using rest api with xml code, i’m trying to create new fixlet with rest api and action type is getting created as BigFix Action script only.
I’m using below line for creating as Powershell

ActionScript MIMEType="application/x-Fixlet-Windows-Shell"

Please let me know if i’m doing something wrong.

I don’t see any code listed in the post. Can you share the code that you are using?

Hi @jstev,

Sorry, code was not appearing as i used <>. Now i have updated the post.

For a native PowerShell actionscript, the MIME type should be specified as

<ActionScript MIMEType="application/x-Fixlet-Windows-PowerShell">

Before doing these via REST API, it's often useful to create a sample or template in the Console, then use the Export function to export it to XML that you can then compare for writing your scripts.

4 Likes