Solved

powershell hanging

Posted on 2016-09-27
4
49 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 24

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Citrix policies are the most efficient method to configure and tune XenDesktop environments, allowing organizations to control connection, security and bandwidth settings based on various combinations of users, devices or connection types.  Citrix …
This article will help you understand what HashTables are and how to use them in PowerShell.
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.

947 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

19 Experts available now in Live!

Get 1:1 Help Now