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
  • Good find on the article.

    I would clarify the last sentence of the article as follows:

    When using the Connect-QADService -Proxy cmdlet, it is not necessary to use the -Proxy switch on all subsequent cmdlets within the same script.

    FWIW, an approach that I sometimes use is this:

    $ARSession = Connect-QADService -proxy -service "MYARServerName"

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

    I suggest this for multi-AR Server environments where you may want to direct script traffic to a "less busy" server.

Children
No Data