Error : Unable to create remote PowerShell session
If this error occurs in Exchange Server monitor, follow the below steps:
- Check whether all the prerequisites for Exchange server are implemented.
- For Queues monitoring in non-mailbox roles, if CredSSP authentication is enabled, check whether the prerequisites for enabling CredSSP authentication are implemented.
- Open an admin PowerShell window in the Applications Manager-installed server, navigate to <Applications Manager Home>\working\conf\application\scripts\powershell directory and execute the below commands by replacing hostname, username, and password with that of the reported Exchange server.
If Mailbox role (2010 and above):
.\E201X_MBX_Tables.ps1 'hostname' 'username' 'password' If Mailbox role (2007):
.\E2007_MBX_Tables.ps1 'hostname' 'username' 'password' For Version 2013 and above :
.\E2013_ComponentStates.ps1 'hostname' 'username' 'password' For Mailbox role after data collection is enabled for Top Mailboxes by Size, Inactive Mailbox Users and Exchange Queues (under Admin -> Performance Polling -> Optimize data collection -> Monitor Type as Exchange Server):
.\EX_Mailboxes.ps1 'hostname' 'username' 'password' 'TopMailboxes,InactiveMailboxes,ExchangeQueues'
For non-Mailbox role after data collection is enabled for Exchange Queues (under Admin -> Performance Polling -> Optimize data collection -> Monitor Type as Exchange Server): (Use the Credssp argument if the Applications manager server and Exchange server are in different domains)
.\EX_Queues.ps1 'hostname' 'username' 'password' 'Credssp'
- Get the full output and copy it to a text file.
New to ADSelfService Plus?