Blogs

Introduction

Racktables version 0.20.1 has new feature support for Cisco UCS environments. Racktables is a structured and robust open-source solution for datacenter asset management, that helps document hardware assets, network addresses, space in racks and network configuration.
...Read More

 

I just added a new section to the UCS PowerTool section on the UCS CDN site that will provide a central repository of PoSh scripts, examples, and videos that detail use cases and examples for UCS PowerTool.

Here is the link:
http://developer.cisco.com/web/unifiedcomputing/powertool-examples
...Read More

 

I would like to announce the general availability of goUCS version 2.0 on Cisco Developer Network. A lot of time and effort has been put into the newest goUCS release, with some of the main features being detailed below.

 

Lest anyone thinks I have forgotten about my blogging on the UCS API, I have not, but I have written a blog recently for the Data Center blog and it is applicable to the UCS so I thought I would share the link here along with the blog into.

Early in my career I moved quite a bit, new job, growing family, whatever the reason it seemed like every two or three years we were packing up and going to a new place and meeting our new neighbors.
...Read More

 

Updated and completely revised version 2.0 MP for Cisco UCS is now available for download. Please check the release notes for the complete list of bug fixes ...Read More

 

Showing 1 - 5 of 16 results.
Items per Page 5
of 4

Forums

« Back to Microsoft Discussions

RE: Powertool installation unable to detect .Net framework

Combination View Flat View Tree View
Threads [ Previous | Next ]
Trying to install Cisco UCS Powertool 1.0 but the installation fails with the following error message even though this xp system has .net framework 2.0, 3.0, 3.5 and 4.0 installed. Any ideas?
 
---------------------------
Cisco UCS PowerTool - InstallShield Wizard
---------------------------
Microsoft .NET Framework 2.0 or higher needs to be installed for this installation to continue.
---------------------------
OK   
---------------------------

Kaushal Shah:
Trying to install Cisco UCS Powertool 1.0 but the installation fails with the following error message even though this xp system has .net framework 2.0, 3.0, 3.5 and 4.0 installed. Any ideas?
 
---------------------------
Cisco UCS PowerTool - InstallShield Wizard
---------------------------
Microsoft .NET Framework 2.0 or higher needs to be installed for this installation to continue.
---------------------------
OK   
---------------------------

 
Kaushal,
 
Can you put the following snippets in a file. Name it test.vbs. Fire a cmd prompt; navigate to the path where test.vbs exists and execute "cscript test.vbs". email me the results of it vvb@cisco.com.
 
 
On Error Resume Next
strComputer = "."
Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")
set shellObj = WScript.CreateObject("WScript.Shell")
Set colItems = objWMIService.ExecQuery("Select * from CIM_Datafile Where Name = '" & Replace((shellObj.ExpandEnvironmentStrings("%Windir%")), "\", "\\") & "[url=file://system32//mscoree.dll']\\system32\\mscoree.dll'")
For Each objItem in colItems
 WScript.StdOut.WriteLine "[Registry Values]"
 WScript.StdOut.WriteLine "Version = " & objItem.Version
Next
 
 
Thanks,
Vikrant

I am assuming you were just looking for the file version .. see the following output. Let me know if you require anything else. 
 
gwmi -query "select * from cim_datafile where name='C:\\windows\\system32\\mscoree.dll'" | ft name, version
 
name                                    version
----                                    -------
c:\windows\system32\mscoree.dll         4.0.31106.0 (Main.031106-0000)

kaushal,
This should have worked. May be the extra text in the version number is messing up something. let me quickly check the parsing logic and get back to you.
drop me your email id at vvb@cisco.com and I will drop you a build by tomorrow.
Thanks,
Vikrant

Thanks, sent you an email. 

Collateral


No files available