Solved

powershell hanging

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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Create and license users in Office 365 in bulk based on a CSV file. A step-by-step guide with PowerShell script examples.
This script can help you clean up your user profile database by comparing profiles to Active Directory users in a particular OU, and removing the profiles that don't match.
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.

832 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