While performing some tasks with Cloudiway platform, you need to enable a remote PowerShell connection.
When to set up?
If you have an Exchange 2010+ connector and try to perform the following task:
- Migrate Permissions
- Import Users
How to set up?
Step 1. Activate Basic Authentication
Open “Internet Information Services (IIS) Manager” console
- Connect to your Exchange server
- Choose Sites, the name of your site and PowerShell
- Set up Basic Authentication to Enabled
Step 2. Activate Remote connection for admin of migration
- Open the Shell
- Execute the following cmdlet:
Set-User Administrator -RemotePowerShellEnabled $True
To check the existing settings, use this command:
Get-User ServiceAccount | select RemotePowerShellEnabled
If the following settings are not set up correctly, you can the following errors:
- The authentication mechanism requested by the client is not supported by the server or unencrypted traffic is disabled in the service configuration. Verify the unencrypted traffic setting in the service configuration or specify one of the authentication mechanisms supported by the server. To use Kerberos, specify the computer name as the remote destination. Also verify that the client computer and the destination computer are joined to a domain. To use Basic, specify the computer name as the remote destination, specify Basic authentication and provide user name and password. Possible authentication mechanisms reported by server: Negotiate.
- The WS-Management service does not support the request.