2015-02-04 2 views
0

우리 회사에는 Exchange 2003이 있고 Exchange 2003에는 MS 도메인 2003이 있습니다. 또한 일부 구성원 서버 2008이 있는데 일부 powershell 스크립트를 실행하고 싶습니다. 이 마지막 서버에서. 나는 3 개의 다른 전자 우편 addreses SMTP가있는 사용자를 창조 할 필요가있다.PowerShell - Win2008 서버에서 원격으로 Exchange 2003의 사용자에게 사서함을 설정하는 방법

Set-Mailbox : The term 'Set-Mailbox' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.

에서 검색 : 나는 다음과 같은 오류가 얻을

Set-Mailbox -identity $fmbName -EmailAddresses -Description "SMTP:$($fmbNameEmail)@$($domainFQDN)"

... 나는

New-ADUser -SamAccountName $adpsID -Name $fmbName -Description $fmbName -DisplayName $fmbName -UserPrincipalName $adpsID -EmailAddress $fmbNameEmail -AccountPassword (ConvertTo-SecureString -AsPlainText "!$%&DF45DFG_" -Force) -Enabled $true -PasswordNeverExpires $false -Path $pathFMB

사용자를 만들려면이 코드를 실행하고 나는 여분의 이메일을 추가하려면이 시도 Google은 Exchange 2003을 사용하여 WMI 개체를 쿼리하는 방법을 찾았지만 WMI를 사용하여 사서함을 추가하는 방법을 찾지 못했습니다.

가능합니까? 그렇게 할 방법이 있습니까?

미리 감사드립니다. Jose

답변

0

Exchange 관리 셸은 Exchange 2007에 처음 도입되어 2007,2010,2013에 대한 모든 스크립트가 2013에서 작동하지 않으므로 처음부터 다시 시작해야합니다.

Exchange 2003에서 Exchange 2003 시스템 관리 도구를 설치할 때 얻을 수있는 Com 라이브러리 인 Exchange 2003에서 관리에 사용할 Exchange API는 CDOEXM (Mail-Enable 개체의 경우 중요)이거나 Directory 개체를 수정할 수 있습니다 ADSI를 통해 LDAP를 직접 사용합니다. 2003의 WMI는 사서함 크기 나 MessageTracking 로그와 같은 관리 정보에 액세스하거나 연결이 끊어진 사서함을 다시 연결해야하는 경우에 유용합니다.

건배 글렌

관련 문제