Hello
I have a problem with a powershell script to disable users in AD
i have the attribute "adm-customatributtex1" I set as "Pension" i try to retrieve the value of the attribute but what appears is not the value but "CustomattributeText1"
`Import-Module Adaxes
$data=Get-AdmUser -Filter * -SearchBase "OU=PrimaTes,DC=wandavision,DC=net"
foreach($user in $data)
{
Write-Output $user.adm-CustomattributeText1;
}`
If I display change the script like this
`$data=Get-AdmUser -Filter * -SearchBase "OU=PrimaTes,DC=wandavision,DC=net"
foreach($user in $data)
{
Write-Output $user.Pension;
}`
No output