Hello, Can someone please assist what relevance can be use to get Job title details from the Active directory.
We don’t have a builtin Inspector for that. You’d need to run an Action with some script to retrieve that and save it somewhere on the endpoint, and then retrieve that file or registry entry with Relevance.
1 Like
You can leverage this script:
$username = "Your Username"
$user = Get-ADUser -Identity $username -Properties Title
if ($user) {
$jobTitle = $user.Title
Write-Host "Job Title: $jobTitle"
} else {
Write-Host "User '$username' not found in Active Directory."
}
3 Likes