Convert to base64 To copy into the template or policy JSON
You can use one of the following commands to base64-encode the tanium-init.dat file:
-
Windows: powershell "[Convert]::ToBase64String([IO.File]::ReadAllBytes('<absolute-path-to-init-file>\tanium-init.dat'))"
-
Non-Windows: base64 -i '<path-to-init-file>/tanium-init.dat'