Cisco Support Community
Showing results for 
Search instead for 
Did you mean: 

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

Unable to run "ConvertTo-UcsCmdlet" command in PowerGUI



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


PowerGUI Version:

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:



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.

VIP Green

Have a look athttps:/

Have a look at

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


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.


Thammaya Gupta K.

VIP Green

I checked it on my pc,

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

Windows 7 SP1

UCS PE 2.2(3aPE1)

Cisco UCS PowerTool

Java 7 Update 21 (64 bit)

I don't use PowerGUI

Hi,It was admin rights


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


Thammaya Gupta K.