Alachisoft NCache 4.1 - Online Documentation

Configuring PowerShell Environment

 
In order to run the NCache PowerShell scripts, PowerShell V2 or higher must be installed. Also, you need to enable script execution permissions in PowerShell. Here is how you can enable script execution in PowerShell.
 
  1. Go to PowerShell Administration console. You may simply go to command prompt and type/> PowerShell
     
  2. Set the script execution policy to unrestricted so that you can do remote installations. Here is how you can do this PS C:/Users> set-executionpolicy unrestricted
     
  3. Also, make sure that WinRM listener is configured and running on all remote machines where you'll do the configuration or installation remotely through our PowerShell Scripts. Here is how you can check the configuration status
    C:/Users/qa>winrm get winrm/config
     
     
     
    If the WinRM is listener is not already configured then type the following command to configure it.
    C:/Users/qa>winrm qc
 
 
 
See Also
 
Copyright © 2005-2012 Alachisoft. All rights reserved.