Get the date ESXi was installed from PowerCLI
Hi,
I'm writing some code in PowerShell using PowerCLI and also CIM (For host serial number) One of the things I need for this project is the date that the server was first stood up. When the server went into production. The install date. The equivalent in Windows is to use WMI to query Win32_OperatingSystem and InstallDate. My googlefu is failing - perhaps because too many results about patch install dates clogging up the results.
Is there any way to script this information out of an ESXi host? Either PowerCLI or CIM is preferable, but any suggestions will be of great help!
Thanks for your time...
Jimbo
Hi Jimbo,
This will give you give you required information,
Get-VMHostPatch * | Select ID, InstallDate, VMHostID
Get-VMHost | Select ID, name
Let me know your opinion.
Regards
Raj
Similar Messages
-
I had enabled firefox sync only on my desktop and forgot to enable sync on multiple devices.
I lost the data that was synced from my desktop as I have re-imaged my system with new OS and when i login into the sync account none of the bookmarks are recovered.
Can Firefox team provide me the data that was synced?Hi darikere,
Unfortunately Sync was not meant to be a back up service. I am sorry for the inconvenience. -
Itunes continues to crash and I get a Data Execution Prevention error.
Vista 64 bit
Many thanks. If you're still not launching after your complete uninstall/reinstall, we'll go searching for old QuickTime componentry stashed in non-standard locations on the PC.
First we'll need to change some view settings.
In your Start menu, open Computer.
In your Organise menu, select Folder Options.
In the View tab, make sure that "Show hidden files and folders" is selected, and Hide extensions for known file types is unchecked.
Click OK.
Now in Computer, open your C:\ drive (or whichever drive you have your operating system installed on).
Open the "Windows" folder.
Open the "SysWOW64" folder.
What files and folders can you see in there with QuickTime in the title? (In a standard installation of Quicktime you should be seeing precisely two files ... QuickTime.qts and QuickTimeVR.qtx ... and no QuickTime folders whatsoever.) -
When I close the CHM how do I get the application it was launched from to regain focus?
I am developing a CHM for an application that runs on
Windows. When I launch the Help (CHM) from the application, then
close the Help, I want the application that I launched the Help
from to regain focus. (I would expect this is what most people
would want to happen, and this is what happens with Microsoft
generated Help files.) However with my RoboHelp CHMs this does not
happen.
Does anyone know how I can fix this behaviour? Is there a
setting in RoboHelp that I need to change?
My R&D application developer has spoken with Microsoft
and they suggested the problem was with my RoboHelp CHM, they
suggested trying the following process with one of their CHMs and
then with one that I created using RoboHelp, and they are correct
in that my RoboHelp CHM is behaving differently. Here's the
procedure if you'd like to try it:
- Open a Windows Explorer window.
- Navigate to the c:\WINDOWS\Help folder (or equivalent on
your PC).
- Double-click on the iexplore.chm file. Note that the help
file opens up in a viewer window.
- Dismiss the viewer by clicking on the close button (X).
- Note that focus is returned to the Windows Explorer window.
Repeat the above experiment, but navigate to where you have a
RoboHelp CHM file. I find that when I dismiss the help viewer
window, focus is NOT returned to the Windows Explorer window. Do
you see the same thing with your RoboHelp CHMs? If not, what have
you set to cause the application that it was launched from to
regain focus?
I really appreciate any help you can give me in resolving
this issue.
Best Regards, SharonHi Sharon
Hmmm, where exactly *IS* the focus in your tests after
closing the RoboHelp generated .CHM file? I just tested and saw the
same behavior regardless of whether it was a Microsoft .CHM or a
RoboHelp HTML created .CHM. Each time, the focus was returned to
Windows Explorer.
I do know that the manner in which your developers open a
.CHM can vary. For example, your developer can specify that a
particular tab have focus, such as the Index or TOC, while simply
double-clicking will result in the last opened tab being the active
tab.
Wish I had more to offer here, but I'm not seeing the same
behavior as you are. I do know there are some extended settings for
your window, but I'm doubtful that's the answer here.
Also, I'm not too sure how much stock I'd put in something a
Microsoft call center stated. Just the nature of call centers. Some
folks that staff them are good and skilled, some are a bit, shall
we say, lacking. This is truly "Luck of the draw".
Sincerely... Rick -
How do i get the Date of this moment from the pc?
Thanks
System.currentTimeMillis() returns a long.
or
new Date() (java.util.Date) returns a Date Object with the current time and date.
or
Calendar.getInstance() returns a Calendar Object with the current date and time in there, can be taken out easly enough. -
Extracting data from Legacy system - How do we get the data into a normaliz
Hi All,
Requirement that I have now is to get the data from 6 different tables ORACLE database to BI using DB Connect, where in each of those 6 tables has the transactional data as well - If it is only 2 tables, would have been creating a view and get the data. Each of the 6 tables are linked to one other by the Primary Key and Foreign key relation ship.
If it is from ERP system we would have created a Functional Module.
Please advice me on how to get the data to BI end from those tables in Legacy system.
Thanks in advance.Anil:
I recommend following Ralph Kimball's EDW data modeling principles.
Have a staging layer of DSO's with data dump from source system. So have 6 different DSO's extracting data from 6 tables from source system independently.
Then have an integeration layer of DSO's depending on requirement. You could combine data from 2 or more DSO's here based on requirement and integrate your data here. Use primary key foreign key relationships here to do look ups or direct loads to do your business logic.
Then have an analytical layer of InfoCubes, MultiProviders, InfoSets as required.
The 3 layered architecture is a standard best practice that i have seen followed in many organizations. You could search for this type of architecture online under EDW (Enterprise Data Warehouse). There should be plenty of information available.
Good Luck.
MP. -
How do I get the date of a file in an FTP?
As stated in the subject.
I am at wits end trying to get the date of a file from FTP(Stuck for days).
I tried the "URLConnection" Class but could only get me the size of the file with "getContentLength()"
"getContentDate()" & "getLastModified()" both give me a 0. They only works for files on HTTP but not FTP.
Anyone has any simple solution on how to get the date of a file on FTP?
Thanks in Advance.The FTP specification has long awaited the magical file meta-data access protocol, which never came. There is no FTP defined manner to obtain the date of a file. The common work-around is to get the containing directory list and <shudder> parse the format of the returned text for the target file and date. Since there is no standard directory listing format, there is no guarantee that you will be able to get that date, and your application would have to cry to the user for help.
Some FTP applications, in addition to providing parsers for Unix/Linux and DOS/Windows directory list formats, also provide the user with a format definition script to parse whatever the user encounters.
I hope you find this of some help. -
I have purchased a newer mid 2011 iMac for my wife to replace her dead 17"iMac from 2006. It was running Snow Leopard. The new iMac has Yosemite and when I go into Migration Assistant it tells me that the OS X is too old, implying that I cannot get the data from it. How can I migrate this data to the new iMac? I have the hard drive removed and in an external enclosure connected to the new iMac.
Thanks,
Bill StratmanSince any OS since Lion does not support Rosetta or PPC applications, you may want to check her apps for compatibility.
Have you tried to follow all the instructions here:
OS X Yosemite: Transfer your info from a computer or storage device
Also, as a general note: when you got the 2011 iMac did it have the original OS installed as required by the SLA? The seller is to remove any OS version obtained at the app store since the license is not transferable - did he do that? If not, as the OS download is tied to the Apple ID used to obtain it, you will not be able to update apps or reinstall the OS, so may I suggest you do this step now before you start porting over all the files. Use Internet Recovery: Hold Command + Option + R while restarting/rebooting until you see a spinning globe and a progress bar. After 2 - 10 minutes, you'll be connected to Apple's servers and see a Utilities window. Go to Disk Utility and choose erase your drive; once finished, go back to the window and choose to reinstall OS X. This should install a fresh original OS version which you can then update and tie to your wife's Apple ID. -
How to get the data from a cluster table to BW
Dear All,
I want to extract the data from R/3 to BW by using 2 tables and one Cluster B2.
Actually my report contains some fields from PA2001, PA2002 and one cluster table B2 (Table ZES). Can I create View by using these 3 tables? If it is not possible how can I get the data from the cluster? Can I create generic datasource by using cluster tables directly?
In SE11 Transaction the Cluster (table ZES) is showing invalid table.
I referred some Forums, but no use.
Can any body tell me procedure to get the data from a cluster (table ZES) ?
Waiting for you results.
Thanks and regards
RajeshHI Siggi,
Thank you for your reply..
I am also planning to do FM to get the data. But it is saying that the Cluster table ZES does not exist (ZES is the the standard table, in SE11 also).
How can I use the Fields from the that table.?
What can I do now, can you please explain me about this point.
Waiting for your reply.
Thanks and Regards
Rajesh
Message was edited by:
rajesh -
When I attempt to open a PDF file I saved from a website using Safari, I get the message "There was an error opening this document. The file is damaged and could not be repaired." When I save the same PDF file using FireFox it opens up immediately. Is there any way to correct this problem with Safari?
Back up all data.
Triple-click the line of text below to select it, the copy the selected text to the Clipboard (command-C):
/Library/Internet Plug-ins
In the Finder, select
Go ▹ Go to Folder
from the menu bar, or press the key combination shift-command-G. Paste into the text box that opens (command-V), then press return.
From the folder that opens, remove any items that have the letters “PDF” in the name. You may be prompted for your login password. Then quit and relaunch Safari, and test.
The "Silverlight" web plugin distributed by Microsoft can also interfere with PDF display in Safari, so you may need to remove it as well, if it's present.
If you still have the issue, repeat with this line:
~/Library/Internet Plug-ins
If you don’t like the results of this procedure, restore the items from the backup you made before you started. Relaunch Safari again. -
How can I get the data array from SQL Server Database?
Hi,
I can write a data array(2D)into a table of my SQL Server Database. The data array was writen to a column with image type. I know a data array is transformed a binary string when writing into database, but I dont know how to get the data array when I fetch the binary string from database.
My question is:
How to transform the binary string into data array? which vi's should I use? I have tried unflatten from string but failed.
Any response is appriciated.
Redhappyxh0518 wrote:
> I can write a data array(2D)into a table of my SQL Server Database.
> The data array was writen to a column with image type. I know a data
> array is transformed a binary string when writing into database, but I
> dont know how to get the data array when I fetch the binary string
> from database.
>
> My question is:
> How to transform the binary string into data array? which vi's should
> I use? I have tried unflatten from string but failed.
In order to use Unflatten from string you first need to Flatten it
before writing it. Also depending on the database driver, the returned
data may actually not be binary but Hexadecimal encoded ASCII which you
would first have to decode to binray.
Rolf Kalbermatter
Rolf Kalbermatter
CIT Engineering Netherlands
a division of Test & Measurement Solutions -
I have a new ipad mini that I need to activate but I need to get the data from my old ipad 1 and install on the new mini. I have a itunes acct and also icloud acct. How do I back up the ipad 1 data and then activate the mini. I assume I will need to transfer the sim from the ipad 1 to the mini.
Thanks for any info
wino454How to Transfer Everything from an Old iPad to New iPad
http://osxdaily.com/2012/03/16/transfer-old-ipad-to-new-ipad/
Cheers, Tom -
I have many photos in iPhoto whose dates I know to be wrong and many appear to be the date I moved them all to a new Mac. I photos in question, I think, were originally on a PC and in Picassa. If it was taken before metadata was embedded, I suppose I can just guess and change the dates on the photos however, if iPhoto just applied the date of the transfer to the Mac, perhaps there is accurate metadata somewhere that I could retreive. How can I tell where iPhoto is getting its dates for pictures?
Thanks,If the Exif metadata is intact, then iPhoto gets the date from there. If it's not, then iPhoto gets the file date.
So, if iPhoto is showing you the date of import there is no Exif intact. -
How to get the data from a jtable with random order??
hi everyone,
i have a jtable i filled with Strring and Float data, i put this data to a MySQL database, and i use vectors and iterators to filled the database. the problem is there are some cells that are empty, and the Floats' columns throws me nullpointerexceptions.
please if anyone know how to avoid that exception i'd would be great.
thanks for your time.HI Siggi,
Thank you for your reply..
I am also planning to do FM to get the data. But it is saying that the Cluster table ZES does not exist (ZES is the the standard table, in SE11 also).
How can I use the Fields from the that table.?
What can I do now, can you please explain me about this point.
Waiting for your reply.
Thanks and Regards
Rajesh
Message was edited by:
rajesh -
Need how to get the data from the external file in eCatt
Hi ,
Could any body suggest how to get the values from the external file(Excel,CSV file,Text file) and pass it as varaiable in ecatt Test script.
Problem: Need to execute FK01-Vendor creation Transaction with multiple set of data .As per my understanding we could achive through Variants in Testdata set in eCatt .
But is there any way to store the data in excell file and get the data and pass it to FK01 Test scripts
Appreciate response on thisHi
See the links they may be useful
check these link,
eCATT- An Introduction
/people/sumeet.kaul/blog/2005/07/26/ecatt-an-introduction
Creating Test Scripts
/people/sumeet.kaul/blog/2005/08/10/ecatt-creating-test-scripts
eCATT Logs
/people/sapna.modi/blog/2006/04/18/ecatt-logs-part-vi
eCATT Scripts Creation TCD Mode
/people/sapna.modi/blog/2006/04/10/ecatt-scripts-creation-150-tcd-mode-part-ii
Creation of Test Data Container
/people/sumeet.kaul/blog/2005/08/24/ecatt-creation-of-test-data-container
eCATT Scripts Creation - SAPGUI Mode
/people/sapna.modi/blog/2006/04/10/ecatt-scripts-creation--sapgui-mode-part-iii
Integrating ECATT & MERCURY QTP Part -1
/people/community.user/blog/2007/01/02/integrating-ecatt-mercury-qtp-part-1
Using eCatt to Test Web Dynpro ABAP
/people/thomas.jung/blog/2006/03/21/using-ecatt-to-test-web-dynpro-abap
and
-command reference
http://help.sap.com/saphelp_nw04/helpdata/en/c6/3c333b40389c46e10000000a114084/content.htm
/people/sapna.modi/blog/2006/04/10/ecatt--an-introduction-part-i
http://prasadbabu.blogspot.com
https://www.sdn.sap.com/sdn/developerareas/was.sdn?page=test_tool_integration_for_sap_e-catt.htm
http://help.sap.com/saphelp_nw04/helpdata/en/1b/e81c3b84e65e7be10000000a11402f/frameset.htm
http://www.erpgenie.com/ecatt/index.htm
hope this helps.
Reward points for useful Answers
Regards
Anji
Maybe you are looking for
-
Is there a setting that makes the computer automatically fill in my name, address, email address, etc. when I'm filling out forms, like in other browsers I've used?
-
How to ply avi files on ipad mini?
How to play avi files on iPad mini?
-
Sort mail by conversations?
Is this possible using icloud's mail interface? Any talks/rumors of it showing up soon? It's the one feature I can no longer function without. It's been part of gmail for years and even Outlook has this ability. Thanks
-
MacBook Pro (Retina, 13-inch, Early 2013) Flash Storage Failure
So I've been getting Kernel panics for the past few weeks on and off. So I ran the Apple Diagnostics and right off the bat told me my hard drive was failing. I'm going in tomorrow to the Genius Bar. I have Apple Care and Time Machine. My question is
-
No matter what I try - unable to use iTunes music store
My iTunes account info has my correct credit card info (expires in 2008) yet I keep getting an error message saying 'credit card is about to expire.' And that's not the case. I emailed Apple and got their suggestion which included things like 'select