
0
Published
Exception thrown running ConfigureEventBrokerChangesActivity.ps1 under ISE
Description
An exception is thrown when running the ConfigureEventBrokerChangesActivity.ps1
PowerShell script under PowerShell ISE.
Affected Software
- FIM Event Broker Portal Workflow
Symptom
Attempting to run the ConfigureEventBrokerChangesActivity.ps1
PowerShell script under PowerShell ISE causes the following exception to be raised:
Exception calling "ReadKey" with "1" argument(s): "The method or operation is not implemented." At C:\Program Files\UNIFY Solutions\Event Broker\Portal Workflow\ConfigureEventBrokerChangesActivity.ps1:68 char:1 + $host.UI.RawUI.ReadKey("NoEcho,IncludeKeyDown") + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (:) [], MethodInvocationException + FullyQualifiedErrorId : NotImplementedException
Resolution
The ConfigureEventBrokerChangesActivity.ps1
PowerShell script is not intended to be run under PowerShell ISE. It is possible to execute it under PowerShell ISE anyway by removing or commenting out lines 37 and 68, which contain:
$host.UI.RawUI.ReadKey("NoEcho,IncludeKeyDown")

0
Published
Beau Harrison (Senior Product Software Engineer) 8 years ago
Customer support service by UserEcho