Active Directory Powershell 모듈을 아래의 명령어를 통해 설치하고 나면, Exchange 관리 Console에 대한 설치 없이도 직접적으로 Mail 속성 값들을 업데이트할 수 있다.
import-module ActiveDirectory
Primary Mail 속성 업데이트 방법
- Set-ADUser -Identity "계정명" -EmailAddress "메일주소"
메일 속성 Clear 방법
- Set-ADuser -identity "계정명" - EmailAddress $null
ProxyAddresses 속성에서 secondary smtp 제거 방법
- Set-ADuser -identity "계정명" -remove @{proxyAddresses="smtp:메일주소"}
ProxyAddresses 속성에서 secondary smtp 추가 방법
- Set-ADuser -identity "계정명" -add @{proxyAddresses="smtp:메일주소"}
Target Address 속성 추가 방법
- Set-ADuser -identity "계정명" -replace @{targetaddress="SMTP:메일주소"}
ExtensionAttribute 속성 추가 방법
- Set-ADuser -identity "계정명" -replace @{ExtensionAttribute1="test"}
ProxyAddresses 속성 Clear 방법
- Set-ADuser -identity "계정명" -clear proxyAddresses
'Windows Server' 카테고리의 다른 글
How to Check Active Directory (AD) replication (0) | 2023.02.09 |
---|---|
Active Directory 그룹 관리 (0) | 2023.01.30 |
GPO를 활용해 Edge 브라우저를 기본 브라우저로 설정하기 (0) | 2022.05.26 |
Windows Server 2019의 신규 기능 (0) | 2020.04.23 |
Domain Controller / AD 서버 NTP 설정 (0) | 2020.04.23 |