Quantcast
Channel: The Official Scripting Guys Forum! forum
Viewing all articles
Browse latest Browse all 15028

using PowerShell to update AD attributes

$
0
0

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?


Viewing all articles
Browse latest Browse all 15028

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>