Need help PowerCLI with recovery ESXi host Asset Tag Info
In the hope that someone, anyone, will be able to help me understand what I can do wrong and how to use PowerCLI to retrieve valid ESXi host Asset Tag information that appears in the tab material status vCenter. I have absolutely no problem of recovery of the serial numbers of host (sometimes referred to as Service Tags), manufacture, model, part, build, etc., but don't can't seem to be able to interrogate the current numbers of inventory number .
None of the following attributes or property values currently returned the information required and which exists (see image below):
Hardware.SystemInfo.OtherIdentifyingInfo [0]. IdentifierValue
Hardware.SystemInfo.OtherIdentifyingInfo [1]. IdentifierValue
Hardware.SystemInfo.OtherIdentifyingInfo [2]. IdentifierValue
Hardware.SystemInfo.OtherIdentifyingInfo | where {$_.} IdentifierType.Key - eq "assettag" IdentifierValue})
This is the script that I am running. I used PowerCLI Version 5.1:
$VIServer = 'enter vCenter Server Name'
# Add component snap kernel PowerCLI
If (!) () Get-pssnapin-name VMware.VimAutomation.Core - erroraction silentlycontinue)) {}
Add-pssnapin VMware.VimAutomation.Core
}
SE connect-VIServer $VIServer
$HostReport = @)
$VMH = get-VMHost | Get-View | % {}
$Report = "" | Select the host name, Version, build, manufacture, model, series, Asset Tag
$Report.Hostname = $_. Name
$Report.version = $_. Config.Product.Version
$Report.Build = $_. Config.Product.Build
$Report.manufacture = $_. Hardware.SystemInfo.Vendor
$Report.Model = $_. Hardware.SystemInfo.Model
$Report.Serial = $_. Hardware.SystemInfo.OtherIdentifyingInfo [0]. IdentifierValue
$ Tag = Report.Asset?
$HostReport += $Report
}
$HostReport | Export-Csv «.\HostReport.csv"- NoTypeInformation
Disconnect-VIServer-confirm: $false
Ron thx.
As far as I know, has nothing to do with PowerCLI, this is how vCenter gets this information, and how and where some HW providers make this information available.
With the interface of the CIM, you can dump all the available information and then find exactly the tag died murdered.
See what this returns
import-module CimCmdlets$esxiHostname = "MyESXiServer"$HostUsername = "root"$CIOpt = New-CimSessionOption -SkipCACheck -SkipCNCheck -SkipRevocationCheck -Encoding Utf8 -UseSsl$Session = New-CimSession -Authentication Basic -Credential $HostUsername -ComputerName $esxiHostname -port 443 -SessionOption $CIOptGet-CimInstance -CimSession $Session -ClassName CIM_Chassis
You will be asked the password root ESXi.
On some of our older IBM HW, I get the following where we expect the identification sticker.
But the information is there, just to another property.
As we have already mentioned our VMworld session, exploring the CIM API.
There is a lot of information in there
Tags: VMware
Similar Questions
-
NEED HELP! OneKey Recovery with XP PROFESSIONAL
I managed to do a upgrade by using a Windows XP Professional with Service Pack 3 CD and everything works fine.
Now, I need help with a key recovery and how it will behave during a recovery of a backup I created AFTER the XP PRO upgrade:
AFTER THAT I updated to XP PROFESSIONAL, I made a full BACKUP of the OKR and saved to the "Partition/drive D:" (default location). Now, I need to know what will happen if I point OKR to this specific backup. It covers this image and boot with XP Professional?
I know not if I get the option to go to the new factory, I'll get Windows XP Home Edition. However, assuming that I did a backup on the disk D: AFTER my release to update to XP PROFESSIONAL, by selecting this backup during the restore process will put me back to the State in which the computer was when I created this backup (with the OS is XP PRO)?
I guess I still have a little confusion on this issue: is full this backup, I created a REAL IMAGE on the D: drive? ... Alternatively, it does contain THAT data user while OKR enters the OS Home Edition of the partition hidden during the restoration of this image?
If my backup on D: is a TRUE PICTURE, then I should be able to choose this one to restore and after the restore is completed, my computer should start XP Professional just the way it looked when I made the backup... Right?
John in Indiana
p.s. I made the mistake of using RegSeeker, and as others have pointed out, my QuickLaunch disappears each time that I reboot and my desktop icons back to a default location after a reboot and no one has been able to solve this problem. Thus, my need to go back to the way things were BEFORE I created this mess.
Thanks for the reply and information. I just ran the recovery and everything came back perfectly with XP Professional. It is nice to have a gentle method of collection for all the times when I install something that I later regret.
John in Indiana
-
Script of PowerCLI to capture ESXi host CPU &; memory
Hi all
I'm having the time more difficult to find a script that will give me ESXi host CPU and memory. I just need something simple, if there is such a thing?
Example of what I'm looking for:
Host name Ability of GHz CPU CPU GHz used Free GHz CPU Host name The memory capacity The memory used Free memory Help, please.
You mean like this
Get-VMHost-name MyEsx |
Select Name,
@{N = 'GHz CPU capacity'; E = {[math]: tour ($_.)} (CpuTotalMhz/1000,2)}},
@{N = "GHz CPU used"; E = {[math]: tour ($_.)} (CpuUsageMhz/1000,2)}},
@{N = "CPU GHz free"; E = {[math]: Round (($_.))} CpuTotalMhz - $_. {{(CpuUsageMhz) / 1000,2)}}.
@{N = "GB memory capacity"; E = {[math]: tour ($_.)} (MemoryTotalGB, 2)}},
@{N = 'Memory used GB'; E = {[math]: tour ($_.)} (MemoryUsageGB, 2)}},
@{N = "GB free memory"; E = {[math]: Round (($_.))} MemoryTotalGB - $_. {{(MemoryUsageGB), 2)}}
-
Need help - problem with the installation of the Office
I really hope that someone can help as I have spent HOURS trying to solve this thing with Palm Desktop (DP). My family lives and breathes out of this Palm.
First of all, I have a Palm Treo phone for half of the year, but a user palm for 4-5 years. I used Datebk6 with absolutely no problem. About three months ago my phone got wet and shorted dirty keyboard. I ordered a new keyboard, installed, and everything was fine. Not sure if this is related, but mentioning the bears.
Then a few weeks, something has happened. I'm not sure if I've updated something or another user of the computer in the House has done something. Palm desktop, account opening, two icons on the left side of "Palm Desktop" - media and install. No calendar, notes, tasks, all functions that I use. I couldn't print calendars more.
So first, I uninstalled the Democratic Party amd reinstalled the period off the drive. The Democratic Party looked decent with a calendar, etc., but this version had the "quick installation". When I installed the version on the net which solves the problem of Vista 6.2.2 he placed all my third party apps in an incompatible "apps" folder and the Democratic Party shows install yet once just the icons and media. Once again, no calendar, tasks, memos. However, the phone and its applications still worked OK, everything was there - then...
I thought that maybe the problem is hotsync during initial installation, so I reset the phone to the original factory settings (erased). Distributed with uninstall and reinstall and it happened again. DARM duration with just the media and install it. No option to open an archive. Previous versions the Democrats have the calendar etc, but of course now without any data. Version 6.2.2 has no calendar, tasks, todo etc.
I need help. someone at - it suggestions? Where can I go? I need this problem.
maramac - check if the UAC has been reactivated (User Account Control). I read in other posts that these latest Windows updates have reactivated UAC on PC of some people of.
This could also cause the problem you are experiencing.
Control user/accounts/Turn User Account Control OFF.
WyreNut
-
Hi I have dell inspiron 1545 vith windows vista, when I bought it, I did not receive installation or recovery cd because it is recovery partition, but now the disk hard colapsed and I cannot start windows or access the recovery partition, so if I buy the new hard disk where can I get windows vista? I've got my activation code, thanks Andrej
original title: where to get vista
Hello
Check with Support from Dell, which must sell cheap installation media since you already own windows.
Dell support
http://support.Dell.com/Dell support drivers - product manual & warranty Info (left side) - and much more
http://support.Dell.com/support/index.aspx?c=us&l=en&s=DHSDell forums
http://en.community.Dell.com/forums/
--------------------------------------------------------------------------------------------Request backup discs - you can also request disks of Vista in the comments
https://support.Dell.com/support/topics/global.aspx/support/DellCare/en/backupcd_formWhy my Dell system did not come with disks? - Applies to Vista and Windows 7
http://support.Dell.com/support/topics/global.aspx/support/DSN/document?c=us&CS=19&docid=370461&l=en&s=DHSRestore your Computer´s software to factory settings<-- this="" is="" for="">-->
http://support.Dell.com/support/topics/global.aspx/support/DSN/en/document?c=us&CS=19&DL=false&l=en&s=DHS&docid=3E48AE3870775D64E040A68F5B2877D4&doclang=enRestore your Computer´s software to factory settings<-- this="" is="" for="">-->
http://support.dell.com/support/topics/global.aspx/support/dsn/document?c=us&cs=19&l=en&s=dhs&docid=3E48AE3870775D64E040A68F5B2877D4&journalid=8E538A50B8131233E040AC0A66E94135&Query=&SystemID=&ServiceTag=&contenttype=&os=&component=&lang=&doclang=&toggle=&dl=I hope this helps and happy holidays!
Rob Brown - Microsoft MVP<- profile="" -="" windows="" expert="" -="" consumer="" :="" bicycle="">-><- mark="" twain="" said="" it="">->
-
Need help here with my Satellite A60 RAM
Hi people
Hope someone here can help me because I looked on the internet and come up with almost nothing.
To put you in the picture. I bought my Satellite A60 at Hong Kong Airport and just him having when I saw how the screen was (seemed like a good idea at the time).
The model number is - PSA60H - 00C 006 - this is supported by Toshiba China site I think, but I do not read Chinese.
My problem is my RAM, I would like to level, but with what and in what order?
The laptop at the back, which States:
TOSHIBA 15XC 40 RW/DV 256o C2.8If I understand it, it tells me that I have 256 MB of RAM, but my reports only system 192 MB of RAM installed, is it his right?
If I install more RAM, I'll have to change the 192 MB, or he can stay, or it is not editable.
What is the Maximum of RAM this laptop will be except?Do you know where I can buy the RAM? part numbers would be very useful here.
Thanks in advance for your help and time, people.
Hi Steve,.
Your notiebook reports 192Mo of RAM because it uses RAM shared for your graphics. The default allocation for the use of graphics is 64 MB that comes from your 256 MB RAM module, which leaves 192 MB for normal use of your laptop.
You can leave your existing place 256 MB module and add extra RAM in the second slot, or replace the two modules. The choice is yours, but you'll always have 64 MB of RAM allocated for chart (unless you change this in your BIOS) for your laptop will never make the actual capacity of your RAM modules.
HTH
-
I have a Windows Vista laptop with many pictures. I can not open the photos on my Windows Live Photo gallery and have received
Error code: 0x8007007e.
How this can be solved?
Thank you. Carole
This forum is for Microsoft Security Essentials.
Please go to the Windows Live forum to get help.
-
Need help: printing with HP DeskJet 3525 Photo has a light lines @ Inc.
I have problem with the new printer,
Can someone help me because I have just the new printer
You can check the result of the printer? We can see light lines, but everyone can see and make it bad.
What should I do? because only 1 day buy new printer and get problem.
It is guaranteed for 2 years.
already clean by software, this new catrige and still full.
I tried 3 times to photo printing and get the same result.
are all the HP printers like this when photo printer with good quailty? This photo is taken by Canon 600 d.
Thank you.
any suggestions can send me an email or just reply to this post.
Thanks for any help for me.
GBU
Hey Samuel,.
Generally, these lines are caused by the print settings. If you have not selected in the printer preferences option when printing correct paper type, the unit will not use the right time for the cycles of the printhead on the entire page. If the drytime is not correct, then the movement of the print head generates lines seen in this image.
You have the full features software installed on your computer for this printer?
What is the operating system of the computer you're using?
For a print quality problems that I would recommend following the steps described in the document link below which will discuss with print settings that are appropriate for the job at hand. I would advise using parameters such as: HP Photo Plus or the correct selection of the photo, correct paper size paper for work of the image and the best print quality.
Troubleshooting print quality problems
Hope this helps,
Jason
-
Need help on the recovery Partition
Caveat!
This area contains your hard drive contains the hard disk to perform a system restoreWhen I double click on my hard disc, it appears such intruction on my screen, may I know what is the system recovery means and how to use it?
* Btw, I intend to reformat my netbook, however is this system recovery can help me as soon as possible restore settings and things? **
Any help and suggestions is welcomed and appreciated, thx ~
Hello
The D Partition on the hard disk contains your recovered files that allows you to perform a system recovery using the hard disk instead of using your recovery DVDs.
To use this option, close the notebook, then press the rest away to f11 as soon as you press the power button to start the Recovery Manager and begin the process of reinstalling the operating system.
It is a destructive process, so make sure you back up all your personal files etc. before using it.
Kind regards
DP - K
-
Need help to install Vmware ESXi and ESX 4.1 under VM in VMworkstation 7
I get an error when trying to install 4.1 ESX and ESXi 4.1 as a VM under VMWorkstation 7.1 running on Windows 7 32 bit AMD Phenom 9500 Quad Core 2.2 ghz with 3gig memory.
"Any level of support for the microcode for the stepping of the processor of AMD family 10 h B2.can some one guide what to do to work around this problem.
Thank you
the article below
-
Hi, I made a nice wavy effect on the title of the text I did a music video. The title remains for the duration of the song. At the present time however it stops waving to half way through the song. I don't know why this is the case can someone help? Thank you
I see what you mean. I did a 00 08; 00; 00 title and applied to wave. TO 00. 02; 08; 00 it stopped "deformation".
At that time, I did a Ctrl-k to shorten the title to the CTI. I removed the wave Warp effect and then he forms base to the next part of the title. I couldn't tell where stopped and another started. If you can see any sort of 'pause' in the distortion, you can do a fade on the Cup. If you wish, you may need to repeat this procedure to get the length you want.
Once arrived at the point where it stops for you, use the left/right arrows to get to the first image where the effect ends and cut there.
I never saw this before, but then added never this effect to nothing more that about 20 seconds in duration - it seems just short of gas and stops. Interesting.
Good luck
Hunt
-
I need to write a report that would be altogether retained for a pay period. There will be 2 p_year and p_quarter parameters
sample:
pay the amount to be deducted for period emp_code
1 XXX 2,300.00
1 Q XXX PLACES 1 399.00
2. IS XXX 2,300.00
2 Q XXX 1,400.00
There are 3 tables: calendar_table, amount_table, and deduction_codes picture
calendar_table
p_year
p_payno
p_check_date
deduction_codes
Code_P
p_code_desc
deduction_amounts
p_year
p_payno
p_deduction_code
p_amount
Here's my query:
SELECT c.deduction_code as deduction_code,
d.emp_code as emp_code,
Sum (d.employee_amt) as the amount
Deduction_amount d, deduction_codes c
WHERE d.year = p_year
AND IN d.pay_period (this is the part where I need to get all the pay periods for the entered setting)
AND d.deduction_code = c.deduction_code
C.deduction_code GROUP, d.emp_code
ORDER BY c.deduction_code;
I have a few problems:
If the user is going to happen in the YEAR and the quarter, how do I change my query? Lets say that she entered the YEAR = 2009 and QTR = Q1, whats going to happen to my request? BTW, in the table of calendar for each year there are 26 pay periods. I can use the check_date field to determine if the pay period belongs to which quarter. I don't know how to do.
Thanks in advance!
Published by: user5737516 on November 2, 2009 18:46
Published by: user5737516 on November 2, 2009 18:54
Published by: user5737516 on November 2, 2009 18:56
Why does nobody answer?Good to know that we are of little help.
So problem solved please pay points and close the debate.See you soon!
Bobin -
Using Mac OS X 10.6.8
Watch a slide show I Photo, in the middle of the show, I noticed that I couldn't stop the slide show (mouse is not responding, and I had to shut down the computer.) When I restarted and tried iPhoto he kept blocking and saying: 'not responding' after 2 reboots still the same problem. How to retrieve and return to iPhoto? Thank you!
It is best to avoid restarting your computer when are things going on - as you can see that it can cause major problems
Try to back up your iPhoto library and then launch iPHoto while now pressed the keys command and option - fix permissions and then rebuild the database and see if that helps
LN
-
I try to install Theme Hospital, but I need help :-(incompatibility with 64-bit
I try to install Theme Hospital, but it says it cannot start or run due to incompatibility with 64-bit windows versions... y at - there a way around this? I REALLY want to play.
Hello
always check the compatibility of vista programs on the link below
and compare it to the 64-bit tab compatibility, not only the 32-bit standard
http://www.Microsoft.com/Windows/compatibility/Windows-Vista/default.aspx
If a program is compatible with vista you can try right click on the setup.exe, and then selecting run as administrator
It is not compatible with vista, you can try running it in a previous operating system mode
This does not work for all programs
read the information below
http://www.howtogeek.com/HOWTO/Windows-Vista/using-Windows-Vista-compatibility-mode/
____________________________________________________________
and read this information MS, too
http://Windows.Microsoft.com/en-us/Windows-Vista/start-the-program-compatibility-Wizard
-
need help, troubleshooting with Photo Gallery
good so I stumbled on another weird little problem w the XT. not deadly
somewhere along the line, I lost the ability to open the photo gallery. I will open for half a second and then closes automatically. He does everything by selecting it from an application, and it does if I try to open in the drawer.
So that's where to look for the community. does anyone else have this problem? If so what is the apps that you have installed?
I have about 60 applications on the phone, but those who directly perform the camera are:
Ustream
PicSay
FxCamera
barcode reader
now the applications that can use the Photo Galleryive installed ones)
Bettercut
Facebook
handcent
There are probably others just have not used yet.
So just let me know if 1) you have one of these installed apps 2) you have the same problem as me.
Thank you
Maybe you are looking for
-
The general screen 'plateau' at the foot of the screen with the icons of prggramme and mionimised screens disappear forever as soon as Firefox loads a Web page. How can I restore it?
-
Hello I know that I can only use 2 of the 4 slots of Ram on my W520, so I have 2 x 4 GB SODIMM installed. Can I mount 2 x 8 GB SODIMM for give me 16GB? I think remember me that the maximum limit of Ram on my machine is 8 GB. Thank you
-
Good beginners (Dummies) Guide 4.1 android?
Hi all Last year, I bought a HP Slate 7 2800 for my mother-in-laws, who do little or no computer experience and were looking for something simple email and a bit of web browsing. I previously loaded all the extra apps I thought they might need, and a
-
(Redirected) Dell XPS 15 9550 - battery problems
Have been a customer for a long time of the Dell laptops. Bought various laptops such as Vostro 1720, XPS Duo 12 etc. I bought the XPS 15 9550 on 27 June 2016 after costing a fortune. Immediately noticed a problem with the battery life that is loadi
-
you will need to re - order dvd for windows ultimate x 64 bit discs. where should I go?