Skip to main content

Creating a Tanium Package with a PowerShell Script

  1. Prepare Your PowerShell Script
    Create and save your script, e.g., Name.ps1.

  2. Access the Tanium Console
    Go to:
    Administration > Content > Packages

  3. Create a New Package
    Click “Create Package” to open the package configuration window.

  4. Configure the Package

    • Command:

      cmd.exe /d /c powershell.exe -ExecutionPolicy Bypass -WindowStyle Hidden -NonInteractive -NoProfile -File .\Name.ps1
    • Upload Script:
      Attach the Name.ps1 script file to the package.

  5. Save the Package
    Click Save to create your new Tanium package.