Some Basic Steps to troubleshoot remote powershell connections are listed below:
1. Verify the port bindings in IIS on the Exchange server. Ensure that there are no host headers required to connect to the server.
2. Verifiy if SSL is required on the default website / powershell virtual directory. If so try removing this requirement.
3. Attempt to login and establish a remote powershell session via powershell using the following commands(when prompted for credentials provide the MessageStats service account credentials):
A. $cred = Get-Credential
B. $session = New-PSSession -Computername <FQDN_of_Lync_Pool> -Credential $cred -Port 443 -ApplicationName /OcsPowershell -UseSSL -ConfigurationName http://schemas.microsoft.com/powershell/Microsoft.PowerShell
C. Import-PSSession $session
D. Get-csPool -Identity <FQDN_of_Lync_Pool>
If an Access is denied error is presented when trying to establish a remote powershell session, ensure that the service account running the gathering task is assigned the CSViewOnlyAdministrator role in your Lync Environment and you have put in the correct pool name in the connection details in the MessageStats console.
© 2024 Quest Software Inc. ALL RIGHTS RESERVED. Feedback 使用条款 隐私 Cookie Preference Center