I am trying to run a PS script and get the following error (snipped):-
"Cannot convert the "130978519257589890" value of type "Softerra.Adaxes.Adsi.AdsLargeInteger" to type "System.Double"
How do I convert this attribute?
I have tried converting like this (and get the same convert error):-
[System.Double]$Value = $Value
Note: I'm not sure if I can instead fetch the attribute value as a System.Double type by tweaking the ADSI Get command:-
$Value = $targetPC.Get($targetProperty)
Thanks