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
  • # '-proxy' switch is needed to direct the PoSh call **VIA the Active Roles Server** in order set the virtual attribute

    # Otherwise, you are just trying to do this straight in Active Directory

    Set-QADUser $obj1.DN -ObjectAttributes @{edsvadeprovisiondeletiondate = $deprovDate} -proxy

Children