Quantcast
Channel: Operations Manager - General forum
Viewing all articles
Browse latest Browse all 11941

Powershell Widgets not displaying on Remote Console

$
0
0

Created a new dashboard based upon the "Using PowerShell Grid Widget Scenario 1" from the New Widgets.docx document.

Using PowerShell create a grid view to display some arbitrary data

  1. Create a 1 grid dashboard
  2. On the first widget add a PowerShell Grid Widget called “PowerShell”
  3. Copy the script below into the wizard:

$dataObject = $ScriptContext.CreateInstance("xsd://foo!bar/baz")

$dataObject["Id"] = "123"

$dataObject["Hello"] = "world"

$dataObject["Olleh"] = "Dlrow"

$ScriptContext.ReturnCollection.Add($dataObject)

Opening the dashboard on any Management server produces the desired results.  However, when trying to view the dashboard on a remote console (not running on the management server) produces the following error:

Please provide the following information to the support engineer if you have to contact Microsoft Help and Support :

System.Net.Sockets.SocketException (0x80004005): No such host is known
   at Microsoft.EnterpriseManagement.Presentation.Security.DataProviderConnectionBootstrapper.GetServerHostName(Uri serviceUri)
   at Microsoft.EnterpriseManagement.Presentation.Security.DataProviderConnectionBootstrapper.GetServerName(IUnityContainer container, String connectionSessionTicket)
   at Microsoft.EnterpriseManagement.Presentation.Security.DataProviderConnectionBootstrapper.TryGetIsInitializedInternal(IUnityContainer container, String connectionSessionTicket, Boolean performLock, String& uniqueServerName)
   at Microsoft.EnterpriseManagement.Presentation.Security.DataProviderConnectionBootstrapper.RunInternal(String connectionSessionTicket, Boolean checkInitialized)
   at Microsoft.EnterpriseManagement.Presentation.Security.DataProviderConnectionBootstrapper.Run(String connectionSessionTicket)
   at Microsoft.EnterpriseManagement.Presentation.Security.DataCommandNotFoundHandler.Handle(DataCommand command)
   at Microsoft.EnterpriseManagement.Presentation.DataAccess.CoreDataGateway.GetCommand(DataCommand command)
   at Microsoft.EnterpriseManagement.Presentation.DataAccess.CoreDataGateway.ExecuteScalarInternal[TResult](DataCommand command)
   at Microsoft.EnterpriseManagement.Presentation.DataAccess.CoreDataGateway.<ExecuteScalarAsync>b__2[TResult](<>f__AnonymousType0`1 data)

Ideas?

Thanks,

Tom


Viewing all articles
Browse latest Browse all 11941

Trending Articles