using PowerShell to update AD attributes RRS feed

  • Question

  • Windows Server 2008 R2 DC

    From my Win8 workstation, i can query AD with the following PowerShell commands:

        get-aduser -f { givenname -eq 'Mark' } -properties *| select ipPhone

    and able to get the value fro "ipPhone".

    However, if i use "msExchangeAttribute16" it doesn't return any value.

    In ADSIedit, i can see "msExchangeAttribute16" and able to set its value.

    How can i do the same with PowerShell?

    Wednesday, August 27, 2014 8:12 AM


All replies