우리 회사에는 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