Set the edsvaDeprovisionDeletionDate attribute value in powershell

I've a requirement to set the edsvaDeprovisionDeletionDate attribute value with future datetime using powershell code and its GeneralizedTime datatype. So I'm unable to set the value to the attribute using powershell. Could anyone please help me to set the attribute value with future datetime.

Thanks,

Kishore.

Parents Reply
  • Thanks for reply.

    I've tried same code but its not working. Below lines I've used. Could you please help me with any other.

    $deprovDate = (Get-date $obj1.edsvaDeprovisionDeletionDate).AddDays(30)
    Set-QADUser $obj1.DN -ObjectAttributes @{edsvadeprovisiondeletiondate = $deprovDate}

    Thanks,

    Kishore

Children