Can I dig deeper for info OS?


Hello

Part 1

Using the Get - VM and Get-VMGuest, I can get a range of elements. However what I can't do are things like:

-Service Pack installed

-The person who created the virtual machine?

-Last connection to the machine (person id)

Are these pieces of information available IF the virtual machine runs via a feature of vmware tools in the guest OS? (i.e. to assume vmware tools is installed and the virtual machine is running)

Part 2

Some of our ESX are old, i, e, 3.5 rather than 4.0, I guess that means I don't think OS Info? or there is another way?


CH BAT SCADA DataSource:Microsoft Win... PoweredOff v4 Machines 1324 1 Microsoft Windows XP Professional (32 bit) test; OSName = syd - xxxxxx.ci...

Morse of CSR to Build: Build TempScadaVMs 2 1024 Citect historian v4 PoweredOff machine (Morse) Extra Info not available; h/s OLD;

Code snippet

$comment = @{};

 $a = @{Expression={$_.Guest};Label="VM Name";width=40},`
 @{Expression={$_.PowerState};Label="State";width=10},`
 @{Expression={$_.Version};Label="Version";width=8},`
 @{Expression={$_.ResourcePool};Label="Pool Name";width=20},`
 @{Expression={$_.NumCpu};Label="CPUs";width=4},`
 @{Expression={$_.MemoryMB};Label="MemMB";width=6},`
 @{Expression={$_.Description};Label="Description";width=40},`
 @{Expression={$comment[$_.Name]};Label="Notes";width=80}
 $info = Get-VM -Location $MyDataCenter 

 ForEach($vm in $info)
 {
  $extra = Get-VMGuest -VM $vm


  if ($extra.OSFullName.Length -eq 0)
  {
   $comment[$vm.Name] = 'Extra Info not available; '
  }
  else
  {
   $comment[$vm.Name] = $extra.OSFullName + '; OSName=' + $extra.HostName + '; '
  }

  if (($vm.Version -eq 'v4') -or ($vm.Version -eq 'v5') -or ($vm.Version -eq 'v6'))
  {
   $comment[$vm.Name] += 'h/w OLD; ';
  }
 }

 $info | Format-Table $a

There are 2 other options to get the info on the guest operating system (and I guess that your guest operating system is a Windows operating system).

(1) the guest operating system is accessible, then you can use the Get-WmiObject cmdlet to get this information

Get-WmiObject-class Win32_OperatingSystem - ComputerName MyPC | Select *.

(2) the guest operating system is not available, then use the Invoke-VMScript cmdlet to browse the Get-WmiObject inside the guest OS the VMware Tools (which must be installed).

$vm = get-VM-name MyVM

Invoke VMScript - VM $vm - ScriptType PowerShell - ScriptText "Get-WmiObject-class Win32_OperatingSystem".

To get information about who created the virtual machine, you can use the Get-VIEvent cmdlet and look for entries VMCreatedEvent .

There are several examples of these methods in this community.

Tags: VMware

Similar Questions

  • How can I get the six digit code for my iPad Pro? I have two other iPads and an iPod but I enter the codes I get and the Pro is just off!

    How can I get the six digit code for my iPad Pro? I have two other iPads and an iPod but I get the codes I get and the Pro is just disabled for longer and longer whenever he rejects these codes!

    If you have forgotten the password for your iPhone, iPad or iPod touch, or your device is disabled - Apple supports

  • In Labview 8.6 and MAX, I can change a scale for a voltage read the string in a task once the application has been built and installed.

    In Labview 8.6 and MAX, I can change a scale for a voltage read the string in a task once the application has been built and installed on a second PC. Where's the info of the scale which is held?

    Hello

    Once you have built your VI and compiled into an executable file and deployed on another machine, it essentially becomes a file read-only, which means that you will not be able to change the balance in this deployed application.

    Kind regards

    Marcus

  • Where can I find specifications for Acer laptops to upgrade? I have an Acer Aspire one

    Hello

    Where can I find specifications for Acer laptops to upgrade? I have an Acer Aspire One, which is still under Windows XP.

    I looked on the website and check the manual with no techinical inside info.   I'm not find respect for this netbook.

    Can someone identify the info.

    Thank you

    T

    Hello Tom,

    You can watch this video. The AOD250 have the same specifications as (same motherboard with Intel Atom N270 processor).

    I suggest you to upgrade the memory to 2 GB:

    KN.2GB09.003SODIMM.2GB.DDR2 - 667.LF (ELIPIDA)
    KN.2GB0B.011SODIMM.2GB.DDR2 - 667.SAM (SAMSUNG)

  • How can I contact Sandisk for the support of my device warranty refurbishing Fuze e280?

    How can I contact Sandisk for the support of my device warranty refurbishing Fuze e280? It came without a manual or an other such info...

    I called SanDisk to 866-726-3475.  They gave me a case # and took me through the steps to retrieve and format the e280.  They did not go to any purchase information.  After following the instructions, the e280 worked like new.

    Thank you
    E C Yarter

  • How can I locate the server info and start it I can send documents

    I can't send or send my 'file documents' file incorrect server. How can I locate the server info and start it I can send documents

    I have a problem, find out who is my server and then set this info in my PC so that I can send or send my files that are in my Document folders

    http://www.SimpleHelp.NET/2007/02/07/a-beginners-guide-to-setting-up-Windows-Mail/

    Link above has an easy to follow Guide to set up Windows Mail.

    Contact your ISP (Internet Service Provider).

    They offer your broad band/Dial-up connection.

    Ask them to:

    username
    password for your service account to wide band/Dial-Up with them

    Server of incoming POP3 mail
    outgoing mail SMTP server

    The above information is required to set up Windows Mail.

    ISPS are usually happy to help you set up your email account.

    See you soon.

    Mick Murphy - Microsoft partner

  • How can I activate bluetooth for computer laptop dell vostro1510?

    How can I activate bluetooth for computer laptop dell vostro1510?

    http://www.vista4beginners.com/how-to-setup-a-Bluetooth-connection

    "How to set up a Bluetooth connection.

    Read the info on the link above.

    See you soon.

    Mick Murphy - Microsoft partner

  • BlackBerry smartphones can not download Twitter for BlackBerry

    I have a flashlight and recently uninstalled Twitter for BlackBerry and installed Uber Twitter instead. Since I found that I prefer the former. However, now I can not install Twitter for BlackBerry. He told me that my device does not meet the requirements.

    The requirements are: 64 MB, 1000 KG free and BlackBerry version 4.5 or higher software.

    I have 512 MG on my device; 3.7 GB available on the built-in memory and 2.9 GB available on my memory card. I use BlackBerry device Software version 6.0.

    I'm going back with BlackBerryHelp on Twitter, but they cease to tempt me what I already tried.

    I tried to download it from the page Twitter (mobile) as well as page BlackBerry.com (mobile) with the same results. I also tried to send the link by email and download it from the link. Nada. The application does not appear in my App World.

    Help? Please? I'm tweetless.

    Hello

    Maybe it's because Twitter for BlackBerry is currently being updated.  Start by following these steps:

    1. with the unit, remove the battery for 15-30 seconds, then reinsert and wait for the device to reboot.  This will ensure that you start with a clean slate.

    2. If you have BlackBerry AppWorld, try to open AppWorld and search for Twitter here.  Twitter for BlackBerry app should be listed first.  You can then download the Twitter app from there.  This will actually give you the most up-to-date version.

    3. If this does not work, or if you don't have App World installed on your device, try to download it again from http://www.blackberry.com/twitter via your BlackBerry browser.  Now that you've done the battery pull and provided all the files are gone, you should be able to download it.

    If she won't even download, let us know.  Perhaps it is that the servers are updated and which is interrupt your ability to download.  If necessary, I'll ask another user of torch to see if it can access the download.  If he can't, then we will move the info along to those who can check it out further.

  • Can I update OS for iMac (early 2008)?

    Can I update OS for iMac (early 2008)?

    The OS is currently 10.9.5. I want to upgrade the operating system to something a bit more recent. It cannot be upgraded to Sierra.
    Can I go to Yosemite or El Capitan etc.? If so, how?

    Click here and download El Capitan.

    (145120)

  • You can use a zip for time machine drive?

    I know he said 'external hard drive', but do not know if this means that you can use a zip for time machine drive? (including so you can back up your entire OS, but also files)

    Probably yes, but just wonder how to connect ZIP drive to your iMac.

  • Where can I download itunes for Linux OS Ubuntu?

    Where can I download itunes for Linux OS Ubuntu?

    There is not an iTunes for Linux OS

  • I forgot my 4 digit number for my iphone how to retrieve or change?

    I forgot my 4 digit PIN for my iphone how to retrieve or change?

    Take a look:

    If you have forgotten the password for your iPhone, iPad or iPod touch, or your device is disabled - Apple supports

  • The emails that I deleted and are not in the trash always appear in full text in global research. How can I remove them for good?

    I deleted these emails, some time ago. The basket is empty. I would like to remove them permanently, but have not been able to locate them in a form that will allow me to do. They are not using edit > find > find messages. I did a manual search of all files, but they aren't there. I tested on a "dummy" email removal function, which removes also trash without problem, but always presents itself in a global search, with no specified location. It seems that there is a permanent record of every email as a "phantom", even after Trash has successfully cleared. I looked in the Profiles folder, but cannot locate a file where they can be stored, but they must be in a file somewhere on my computer. I would like to know where it is so I can nuke once and for all of these emails of undead.

    FIXED by the questioner. I found a file called 'global-messages-db-sqlite' in the folder ' (user) > AppData > Roaming > Thunderbird > profiles > jt * .default.
    He showed the current date, but I suspect that it updated in the search of the original that I ran to find the files I wanted to delete. (The test email that seemed to confirm the problem indeed there successfully removed; I deleted from my Inbox but forgot to remove it from my 'Sent' folder).

  • I can't get Garageband for free from the app store. I use 6 and 9 IOS iPhone. Help me!

    My friend got on his iPhone free garage band, and I didn't. Later, I went to the store and saw that I have to buy and the in-app purchases are free. Please help me I use iPhone with iOS 6 9

    Did you try the procedure described in this document?

    Get Pages, Numbers, Keynote, iMovie, GarageBand, and iTunes U for free on your iPhone, iPad and iPod touch - Apple supp...

    * To download GarageBand, you need a device that has been activated or bought the or after September 1, 2014.

    If you have purchased a device with iOS 9 or later, it's 16 GB or smaller, or if you updated your device existing iOS 9 or later version, you can download the apps for free. Follow these steps:

    Open the App Store. Scroll to quick links and press Apple-designed applications.

    Tap the apps you want to download. To download apps over 100 MB, your device must be connected to a Wi-Fi network.

  • I can exchange my iPad for an iPad mini 3?

    I have the first iPad mini. Can I trade it for an upgrade to a mini iPad 3 or 4?

    You cannot exchange it in another device, but you can recycle it for a gift from the Apple Store.

    https://reuserecycle.abbti.brightstarcorp.com/iPadHome.aspx

    You could do better here.

    https://www.Gazelle.com/iPad

    You could do even better, pure and simple sale on your own.

Maybe you are looking for

  • Satellite M30-241 IR - laptop computer issues does not recognize mobile phone

    Hi experts,hope you can help me. I would like to transfer photos from my phone to my mobile phone via infrared, but for some reason, both devices recognize each other (I have activated the function on my laptop and I think that I put in place the IR

  • Satellite P100-160: sleep mode triggers reboot

    Close the lid of my portable computer (P100-160) is set to put the machine to sleep. At the opening, I discover that the machine does a full restart instead of the resume. Also, if I leave the lid open and the laptop goes to sleep for inactivity, I f

  • PS4

    Hello my name is Austin, and I am a big fan of Sony and have just a few questions about the ps4. The ps4 will play only new games? What happens if the ps4 is stolen but the games don't? Then you get a new ps4, then you have to buy to buy new games. I

  • HDMI displayport on computer monitor

    Is it possible to use the hdmi connector on a w2207h to a displayport on a cpu [via a displayport-hdmi adapter] rather than use the VGA port on the CPU as a computer display connection?

  • Computer does not start. How can I find out what operating system I have?

    I need to order recovery disks. How will I know if I have Windows 7 64 bit or 32 bit? Model # p6774y Product # bv546aa #aba