Creating a Tanium Package with a PowerShell Script
-
Prepare Your PowerShell Script
Create and save your script, e.g.,Name.ps1. -
Access the Tanium Console
Go to:Administration > Content > Packages -
Create a New Package
Click “Create Package” to open the package configuration window. -
Configure the Package
-
Command:
cmd.exe /d /c powershell.exe -ExecutionPolicy Bypass -WindowStyle Hidden -NonInteractive -NoProfile -File .\Name.ps1 -
Upload Script:
Attach theName.ps1script file to the package.
-
-
Save the Package
Click Save to create your new Tanium package.