Exchange Server 2013 ortamında Uzak PowerShell cmdlet'i başarısız oluyor
Özgün KB numarası: 3067263
Belirtiler
Yönetici Microsoft Exchange Server 2013 ortamında bir sunucuda oturum açınca ve sonra farklı bir arka uç posta kutusu sunucusuna proxy gerektiren bir Windows PowerShell cmdlet'ini çalıştırmayı çalıştığında (örneğin, yönetici çalıştırmayı deniyor), işlem başarısız olur ve yönetici aşağıdakine benzer bir hata set-userphoto alır:
Error on proxy command 'Set-Mailbox -Type:'Shared' -Identity: <ID>
-Confirm:$False -Force:$True' to server Exchange_Server: Server version <version number>, Proxy method RPS:
The WinRM client cannot process the request. The connection string should be of the form
[transport://]host[:port][/suffix] where transport is one of "http" or "https". Transport, port and suffix are optional. The host may be a hostname or an IP address. For IPv6 addresses, enclose the address in brackets - e.g. "http://[1::2]:80/wsman". Change the connection string and try the request again.
Neden
Bu sorunun nedeni, geçerli Exchange yöneticisinin erişim belirteci, Windows Uzak Yönetim (WinRM) bileşeninde bağlantı dizesi uzunluğu sınırlamasının üzerine ulaşacak kadar büyük olduğundan oluşur. Bağlantı dizesi uzunluk sınırı 2.048 bayt ile sabit kodludur.
Geçici Çözüm
Bu sorunu gidermek için, aşağıdaki yöntemlerden birini veya birden fazlasını kullanın.
Yöntem 1: Toplu Exchange Server 2013 2 veya sonraki bir toplu güncelleştirmeyi yükleme
Exchange Server 2013 Toplu Güncelleştirmesi 2'de, erişim belirtecini sıkıştırmak için bir özellik eklenmiştir. Bununla birlikte, belirteç WinRM'nin sınırlamadan büyükse, sıkıştırıldıktan sonra bile hata devam eder. Bu durumda, bu sorunu gidermek için 2. yöntemi veya 3. yöntemi kullanın.
Yöntem 2: Sistem yöneticisinin üye Exchange gruplarının sayısını azaltma
3. Yöntem: Yeni bir yönetici Exchange hesabı oluşturma
Yönetim kullanımınız için Exchange hesap oluşturun ve bu hesabın yalnızca minimum sayıda gerekli gruba üye olduğundan emin olun.
Durum
Microsoft, "Geçerli olduğu" bölümünde listelenen Microsoft ürünlerinde bunun bir sorun olduğunu onaylar.