Enable and Use Remote Commands in Windows PowerShell

 

For using PowerShell in Applications Manager, you need Windows Management Framework (Windows PowerShell 2.0 and WinRM 2.0) on both Applications Manager server and the remote Windows server. For more details refer http://support.microsoft.com/kb/968929.

 

Also, ensure that Windows PowerShell is enabled in both servers:

You can verify the availability of Windows Remote Management (WinRM) service and configure PowerShell for remoting by following these steps:

You can test the configuration and connection from Applications Manager by following these steps:

  1. Open PowerShell Console with administrator privileges.

  2. Run : $testSession= New-PSSession -ComputerName <REMOTE-HOSTNAME> -Credential Get-Credential

  3. A popup will appear, give the remote server credentials.

  4. If any error is thrown, do the required configuration/setup to resolve it.

  5. If step 3 executes without error, remove the testSession by executing : Get-PSSession | Remove-PSSession

The steps above will test whether the WinRM service is running on the remote computer and if Applications Manager can communicate with the remote server.