Forum Discussion

Deleted's avatar
Deleted
Apr 11, 2019
Solved

Cannot convert 'System.Object[]' to the type 'Microsoft.ActiveDirectory.Management.ADUser'

Hi together,   i'm quite new to Powershell and need a little 'shove'. :-D   What i want to achive: Setting the Manager of a User based on the "ManagedBy" attribute of an OU.   What my Script S...
  • Deleted's avatar
    Deleted
    Apr 11, 2019
    ... i solved it..
    -> "$manager" (quotation marks)
    That's it.

Resources