cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
751
Views
0
Helpful
4
Replies

Unable to run "ConvertTo-UcsCmdlet" command in PowerGUI

Hi,

 

I am trying to use PowerGUI with Cisco UCS Power Tools to create power shell scripts for UCS Automation.

 

PowerGUI Version: 3.8.0.129

CiscoUCS Power Tools Version:1.3(1).

OS: Windows 7

 

I have installed the PowerGUI and Cisco UCS Power Tools libraries and was able to connect to UCS server successfully.

 

However when I tried to run the command "ConvertTo-UcsCmdlet", I am getting the below error:

 

>ConvertTo-UcsCmdlet

WARNING: Please review the generated cmdlets before deployment.

ConvertTo-UcsCmdlet : Could not find the log files directory

At line:1 char:20

+ ConvertTo-UcsCmdlet <<<<

    + CategoryInfo          : NotSpecified: (:) [ConvertTo-UcsCmdlet], Exception

    + FullyQualifiedErrorId : Cisco.Ucs.Cmdlets.ConvertToUcsCmdlet

 

Appreciate any help in fixing this!

 

Thanks and Regards,

Thammaya Gupta K.

4 Replies 4

Walter Dey
VIP Alumni
VIP Alumni

Have a look at

https://supportforums.cisco.com/discussion/11812301/powertool-convertto-ucscmdlet-returns-error-message

Java issue: the solution was

Just to confirm my hypothesis, I decided to temporarily rollback to java 7 update 40 and this fixed the problem. The "ConvertTo-UcsCmdlet" cmdlet found the log in the .ucsm directory and properly generated a cmdlet after I made a change in the GUI.

When I then upgraded back to java 7 update 45 the "ConvertTo-UcsCmdlet" broke again.

So for sure this is a java 7 update 45 related problem.

Hi,

Thanks for your response!

I have changed the Java version on my laptop to Java 7 update 40 and still I am getting the same error.

Regards,

Thammaya Gupta K.

I checked it on my pc, against the emulator, which works ok !

Windows 7 SP1

UCS PE 2.2(3aPE1)

Cisco UCS PowerTool 1.2.1.0

Java 7 Update 21 (64 bit)

I don't use PowerGUI

Hi,

It was admin rights problem in my PC. It worked well after getting admin rights. 

Regards,

Thammaya Gupta K.

Review Cisco Networking products for a $25 gift card