Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

powershell hanging

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

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 25

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

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

If your vDisk VHD file gets deleted from the image store accidentally or on purpose, you won't be able to remove the vDisk from the PVS console. There is a known workaround that is solid.
A procedure for exporting installed hotfix details of remote computers using 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.

828 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