locked
How to unmap mapped drive and delete mapped drive location from the AD attribues RRS feed

  • Question

  • How can I unmapped and disconnect the drive and also update the drive location from the AD Attribute i.e. HomeDirectory?
    Friday, June 30, 2017 5:51 PM

All replies

  • help Set-AdUser -full


    \_(ツ)_/

    Friday, June 30, 2017 8:52 PM
  • How can I unmapped and disconnect the drive and also update the drive location from the AD Attribute i.e. HomeDirectory?
    Get-aduser -filter * | %{set-aduser -identify $_  - HomeDirectory @{replace = 'new one'}}

    Best regards,

    Andy


    Please remember to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.


    • Edited by Hello_2018 Monday, July 3, 2017 2:54 AM
    Monday, July 3, 2017 2:54 AM