This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Can no longer grab homedirectory through powershell

Hi Guys,

So this is kind of an odd one. We're running ARS 6.9, and recently one of our scripts stopped working. Right now I have a script set up that, on deprovision, copies a user's home folder to our archives. This script has been working for a few months with no problems at all. Recently it stopped working,  It looks like the script is failing on this block:

$HomeDir = $dirObj.get("homeDirectory")

This previously worked with no problems, yet now it seems to be broken. As far as I know our powershell has not been updated, so the only culprit I can think of at this point is a windows update? Our test environment still works. Any ideas, or different ways I could call the homedirectory would be amazing.