citrix / citrix/PublishURLContent

Allow setting Delivery Controller AdminAddress as parameter

Open
#10 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
7
Forks
2
PR merge metrics
No merged PRs in 30d

Description

Currently, the utility will only look at `localhost` for the Delivery Controller address. If you run the utility on a machine that is _not_ a Delivery Controller, you get this error:

```
System.Management.Automation.CmdletInvocationException
HResult=0x80131501
Message=Failed to connect to back-end server 'localhost' on port 80 using binding WSHttp. The server may be off-line or may not be running the appropriate service
```

I worked around this by adding the `AdminAddress` parameter to the PowerShell calls:

```csharp
ps.AddParameter("AdminAddress", "DeliveryController01.example.com");
```

It would be great if you could specify the Delivery Controller address, either in the GUI or as a command line parameter.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.