Mitel Contact Center Management Installation Guide
- 9 -
Setting the Execution Policy
To set the Execution Policy
1. If you are using Windows Server 2003, click Start=>All Programs=>WindowsPowerShell
1.0=>Windows PowerShell. If you are using Windows Server 2008, click
Start=>Programs=>Accessories=>WindowsPowerShell=>WindowsPowerShell.
2. In the command line, type Set-ExecutionPolicyRemote Signedand click Enter.
3. When prompted with the change verification, press y.
4. Type Get-ExecutionPolicyand click Enter.
Verify that the execution policy is set to Remote Signed by confirming that PowerShell returns
"RemoteSigned".
Modifying PowerShell scripts
There are two PowerShell scripts:
l Contact Center Management Enterprise Server script, which
l Updates Data Collection for each 3300 ICPmedia server
l Updates Data Collection for each Intelligent Queue media server
l Resets the prairieFyre Registry Key to the correct IPaddress
l Reboots the server
l Intelligent Queue Server, which
l Updates ports with the new 3300 ICPIPaddress
l Reboots the server
NOTE:
l If Contact Center Management is collocated with Intelligent Queue, then remove the reboot command
from the Contact Center Management Enterprise Server script and add the SQLscript to the end of the
script in its place.
l When copying PowerShell scripts from one machine to another, ensure you right-click the script after
copying, select Properties, and that the script is not blocked. If the Unblock button displays on the
Properties page, click this button to unblock the script.
The PowerShell scripts will be provided by prairieFyre Software. We recommend you install a PowerShell
script viewing application, such as powerGUI (http://www.powergui.org/index/jspa) to better view and
manage your PowerShell scripts.
Once you have the PowerShell scripts, copy them to a folder on all guest virtual machines, for example,
C:\PowerShellScripts\VMCCMscript.ps1.
Once the PowerShell scripts are copied to all guest virtual machines, you must create a .bat file on the guest
virtual machines to call PowerShell and execute the script. Copy the .bat file to the same location of the
PowerShell scripts, for example, C:\PowerShellScripts\PSscript.bat.
To create a .bat file
1. Open Notepad.
2. Copy the following command into the file:
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
C:\PowerShellScripts\VMCCMscript.ps1.
3. Click Save As.
4. Type a name for the .bat file and click Save.