Solved

powershell hanging

Posted on 2016-09-27
4
42 Views
Last Modified: 2016-09-28
I'm running a powershell on a citrix xendesktop 5.6 farm trying to generate a random catalog and the command is hanging.  
 
I'm running this:

New-BrokerCatalog -AllocationType Random -CatalogKind PowerManaged -Description "catalog 2 Description" -Name "Catalog2 Name"

and of course I'm substituting the correct information, IE my catalog name.
 
IT hangs on a >> prompt as though it's looking for more information.
 
I'm running the command as administrator.
 
Any ideas on this?
 
Thanks
 
Cliff
0
Comment
Question by:crp0499
4 Comments
 
LVL 40

Accepted Solution

by:
Subsun earned 250 total points
ID: 41819739
IT hangs on a >> prompt as though it's looking for more information.

>> prompt generally indicate you have a missed a statement termination, example you started a double quote but didn't end it, or started a Curly braces or bracket but didn't close it. In your command I don't see any such issues.

Did you try closing and reopening the PowerShell console and try to run command again?
0
 
LVL 39

Assisted Solution

by:footech
footech earned 125 total points
ID: 41820124
In addition to the reasons Subsun mentioned, you will also see it at the console if you have a multiline command.  If you hit Enter once again and the >> prompt remains, then it's as Subsun described.
0
 
LVL 23

Assisted Solution

by:Coralon
Coralon earned 125 total points
ID: 41820661
I don't have an XD 5.6 environment anymore to play with.. but from what I remember, you are missing a parameter for the storage connection.

Coralon
0
 

Author Comment

by:crp0499
ID: 41820859
VERY odd, but I re-wrote the powershell and took out the spaces in the catalog name and it worked perfectly.
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Active Directory replication delay is the cause to many problems.  Here is a super easy script to force Active Directory replication to all sites with by using an elevated PowerShell command prompt, and a tool to verify your changes.
In this previous article (https://oddytee.wordpress.com/2016/05/05/provision-new-office-365-user-and-mailbox-from-exchange-hybrid-via-powershell/), we made basic license assignments to users in O365. When I say basic, the method is the simplest way …
How to install and configure Citrix XenApp 6.5 - Part 1. In this video tutorial we have explained step by step installation of Citrix XenApp 6.5 Server on Windows Server 2008 R2 is explained in this video. We have explained the difference between…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now