Part of our Mac hardening, we have to have the BT icon show on the menu bar. All our Mac's are mostly Ventura with a handful of Sonoma. I don't see anything in to Jamf to allow this. I have a command that when ran locally via terminal, it'll add the icon, but if I create a policy using the Files and Processes>Execute Command, it won't add it, but the according to the log on the device, it was successful. I've also tried using a script, but the script won't add it either.
defaults write ~/Library/Preferences/ByHost/com.apple.controlcenter.plist Bluetooth -int 2
Solved
Trying to get BT icon to show on Menu via command
Best answer by dmccluskey
This is what I use to enable BT in the menu bar. I believe it shows after reboot.

#!/bin/bash
loggedInUser=$(/bin/ls -l /dev/console | /usr/bin/awk '{ print $3 }')
#hostId=$(system_profiler SPHardwareDataType | grep "Hardware UUID" | cut -d ":" -f2 | xargs)
sudo -u "$loggedInUser" defaults write "/Users/$loggedInUser/Library/Preferences/ByHost/com.apple.controlcenter.plist" Bluetooth -int 18
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
