Identify DIMM memory installed using PowerCLI

Hi guys,.

Does anyone know how identify the DIMM memory installed using PowerCLI?

With the help of smboisDump, I get the following

MEMORY: 25 #.

Geographical area: "DIMM_A1.

Bank: "CPU 1 CHANNEL 0 DIMM 1.

Manufacturer: '0xCE00 '.

Series: "35F3A656."

Part number: "M393B1K70DH0-YH9".

Matrix memory: #23

Form factor: 0 x 09 (DIMM)

Type: 0 x 18 (DDR3)

Detail of type: 0 x 2000 (registered)

Data width: 64-bit (bit ECC + 8)

Size: 8 GB

Speed: 1333 MHz

I would like to be able to get this help PowerCLI, in particular the following information will be of interest

  • Location
  • Part number
  • Type
  • Size
  • Speed


I need to perform upgrades memory for 50 5.5 ESXi hosts and prefer if I didn't have to read all the smboisDump files and manually copy and paste the information in Excel.

I have looked at using get-esxcli and get-view but, do not know the correct attributes to select.


Thank you


OK, I seem to have bypassed the error.

Although the CIM server on host Service showed the execution, I have restarted using the following

CIMService = Get-VMHostService - VMHost $item | Where {$_.} Label - match "CIM Server"}

Restart VMHostService - $CIMService HostService - confirm: $false


After that, the previous code worked

I found the following handy KB VMware http://kb.vmware.com/kb/1025757

Another good blog for ESX material followed by using PowerShell is physical ESX followed with PowerShell - VMware PowerCLI Blog - Blogs from VMware

and

for the CIM of information https://www.vmware.com/support/developer/cim-sdk/smash/u3/ga/apirefdoc/

Tags: VMware

Similar Questions

  • How to identify the Protocol of network storage using PowerCli

    Hi all

    Does anyone know how to identify the network storage protocol using Powercli? If you do could you please point me in the right direction and appropriate controls to be used.

    Thank you.

    See you soon

    With the Get-EsxCli cmdlet, you get to many of the features esxcli.

    Something like that

    $esxcli = Get-EsxCli -VMHost MyEsx$esxcli.storage.core.path.list()
    

    You can use Select-Object to choose the specific properties of the returned objects.

    For example

    $esxcli = Get-EsxCli -VMHost MyEsx$esxcli.storage.core.path.list() | Select RuntimeName,Transport
    
  • It is better to install vMA 5 if I already use PowerCli to do a lot of my script?

    I have been using PowerCLI for awhile now and love it.  I have the vMA 5 installed in my lab at home and I use it a little.  The main reason I used the vMA is to collect some syslogs.  I can also run some scripts perl at the VMAs as well.

    I can't do with PowerCLI from the administrative point of view I can do with the vMA 5?  Thanks for your comments!

    As everyone has already mentioned, if you are familiar and prefer PowerCLI and more importantly if your management platform is Windows, then you must continue using them. vMA is just a device for Linux with installed vCLI which includes vSphere SDK for Perl for convenience, vCLI can be installed on other Windows systems or taken Linux support. Out of vSphere 5, there is not a collector of syslog for Windows or you can use the syslog collector that is in the VCSA, it is no longer supported in vMA 5.

    If you want to run syslog (which the syslog collector is just syslog-ng), you may do so on vMA 5.0 but it would be unsupported. Here are the steps if you haven't seen this already - http://www.virtuallyghetto.com/2011/07/free-linux-windows-syslog-alternatives.html

    At the end of the day, all the features of vSphere are exposed through the vSphere API, this is true if it is consumed as a PowerCLI, vSphere SDK for Perl or any other vSphere SDK. So everything you can do a SDK development kit, you can do in the other. Depends on the platform of choice and what you are comfortable with

  • I have a strange problem with my RAM supported by installers. When I check the activity monitor, 3 installers are open and they start around 80 MB memory RAM used for about 7 or 10:08 minutes or so.

    I have a strange problem with my RAM supported by installers. When I check the activity monitor, 3 installers are open and they start around 80 MB memory RAM used for about 7 or 8 concerts after 10 minutes. I have to force them to quit, but I don't know what I am closing or why they open in the first place. Applications downloaded on iTunes?

    In addition, the Console has opened with the same message several times, but I don't know what that means.

    Any help would be appreciated.

    Hello

    The last is a picture of the Terminal window.

    Just because it lists 'Console' does not mean that it has nothing to do with this application.

    You have not said why or what you're trying to install so I can't help with that.

    You can use the activity monitor to leave their.

    After you select an item, use the X in a type of stop sign icon and confirm force quit.

    21:36 Thursday; September 15, 2016

     iMac 2.5 Ghz i5 2011 (El Capitan)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro (Snow Leopard 10.6.8) 2 GB
     Mac OS X (10.6.8).
     iPhone and iPad (2)

  • HP ENVY 17 Notebook PC: Memory installed in the new HP envy 17 t

    Software HP Support Assistant displays Kingston 8 GB 1600 MHz memory installed on my HP ENVY 17 Notebook PC. Equals this Kingston memory installed the Kingston 8 GB 204-pin DDR3 SO-DIMM DDR3 1600 (PC3 12800) computer laptop memory model KVR16LS11/8 I intend to buy to upgrade my Envy 17 and 16 GBs?

    Yes, that's the correct stuff. The Kingston can operate at 1.35 or 1.5 volt. Before the upgrade, although I advise you, you remove the RAM that is in it and watch it. Is - this 4 black memory per side or 8? Match what you have.

    If it's 'the Answer' please click on 'Accept as Solution' to help others find it.

  • 1410 driver won't install, used for ok

    1410 all in a CN56AB80HC Q7288A connected by USB to computer toshiba laptop running on vista 32-bit

    printer has been interference problems (do not paper) and who need to be removed - that took some time.

    Now printer will be installed automatically or with the disc.  When I try automatically, it takes a lot of computer memory and after a few minutes it comes back with the brand and model as the first list.  When I try with disc it try to install using the pilot share insta and fails with the error 0 printer driver x 00000002 could not be installed.  Thank you, b0b3202

    Removal of the printer in the printer folder is not actually remove the printer. WHA tyou are this removes the print queue of the printer. The driver is still installed and the operating system that always knows when you plug / unplug the USB cable it should / reconnect resources used by the printer. If a print job is stuck in the print queue and selecting Cancel does not work here is the options you can use.

    1. turn off the unit for a few minutes and the timeout must print spooler and cancel printing.
    2. Click Start-> run and enter the following command

    net stop spooler

    This will stop the print spooler and delete all work. After that a minute or two enter the following

    net start spooler

    This will restart the print spooler. When you restart, it is essentially what is happening.

    You should not need to delete the print queue of the printer in the Printers folder. If you do, you can add it by using the Add Printer Wizard and select the local printer with USB port and in the list of drivers HP of the selection as a manufacturer and your model in the list. It might be near the bottom with something like "HP psc 1400 series ' in the name.

  • How to get the amount of memory installed?

    (It's under the Windows operating system)

    I have do a comparative analysis program for the performance statistics for some complex calculations based on the hardware.

    What is the best way to get the amount of RAM installed programmatically?

    How do I know if the OS is 32 or 64 bit?

    Thank you!

    Well, it does not resemble the Memstats VI returns the memory installed. It returns a number, but I can't match the amount of memory installed on my system. The GetCurrentPlatform seems to return only the name of the OS, not whether 32-bit or 64-bit. I see nothing in the App-> target list containing this information. At least to 8.2. Did not check in 2009.

    Altenbach says:

    (It's under the Windows operating system)

    I have do a comparative analysis program for the performance statistics for some complex calculations based on the hardware.

    What is the best way to get the amount of RAM installed programmatically?

    How do I know if the OS is 32 or 64 bit?

    Thank you!

    Define "better". Best in speed? Better compatibility on multiple versions of the Windows operating system? Best in terms of access to this information without having to delve too in all sorts of types of data Windows and DLLs?

    Would you consider .NET stand for the 'best '. If so, the amount of RAM installed can be gained from easily using the Microsoft.VisualBasic.Devices.ComputerInfo class:

    To determine whether your OS is 32 - bit or 64 - bit are you trying to make a distinction between a 32 bit on a 64-bit CPU vs OS a 64 bits on 64-bit OS? I know that the WMI class can be used to obtain this information, so if you try to make this distinction, you could watch the Win32_ComputerSystem and Win32_Processor classes. For example, I think that what follows is what you would see:

    OS 64-bit on x64processor:
    Win32_ComputerSystem.systemType = pc x 64
    Win32_Processor.addresswidth = 64
    Win32_Processor.architecture = 9
    Win32_Processor.DataWidth = 64

    32 bit on x86processor OS:
    Win32_ComputerSystem.systemType = x 86 pc
    Win32_Processor.addresswidth = 32
    Win32_Processor.architecture = 0
    Win32_Processor.DataWidth = 32

    OS 32 bit on x64processor:
    Win32_ComputerSystem.systemType = x 86 pc
    Win32_Processor.addresswidth = 32
    Win32_Processor.architecture = 9
    Win32_Processor. DataWidth = 64

    I've attached an example on how to access the classes with .NET. Not pretty, but not too bad either.

  • Does not display memory installed on the computer on Windows XP.

    Original title: RAM upgrade

    Hi again! I have another problem now. My computer is a netbook, EeePC1000, with 1.6 Ghz, 1 GB RAM and 160 GB hard. OS: Windows XP Home Edition. I tried the upgrade to you with a new memory KINGMAX-DDR2-PC5300-667 RAM. The problem is, my OS to recognize only 0.99 GB of the 2. What can I do? It's just a setting problem or other? Please help me! Thank you!

    Hello

    Your English is better than a lot of people I know and I'm English by English nationality!

    OK, from your description of the memory, it seems to be the correct sorting. I'm skeptical that a BIOS upgrade will help (I looked in the notes to upgrade the BIOS on the ASUS website), so let's check a few things before you consider as an option.

    First of all, what you do makes you think that Windows can see 1 GB? If this isn't it (or its equivalent)...

    • Hold down the Windows (between Ctrl and Alt) key and press Pause break
    • Examine what is listed in the computer: section

    .. .so please do the above and respond with the details.

    You say it's an EeePC1000 but is there something that comes after the 1000, for example H, HA, HD, HE or HG?

    Are you sure that the memory module you have purchased is actaully a module 2 GB instead of 1 GB module? Have you seen the actual label on the module (as opposed to its packaging)?

    When you start the PC, before Windows XP starts to load, you see anything by telling you how much memory is installed? It can not be displayed or may be displayed briefly, not blinking! If you do not see this indication can you enter the BIOS Setup and check from there? Unfortunately, the Asus site gives a manual with no information on the use of the BIOS. You need to look for a message from depression F key at boot time (usually F2 or Del but I saw others also). When you press this button, you should get in the pages of the BIOS settings. Look for the amount of memory installed. Exit BIOS without saving the changes, just in case you accidentally change a setting.

    Tricky

  • How to check the type of memory installed (ECC or not)?

    all!

    I have some servers Dell PowerEdge R420 and I want to upgrade memory, install more...

    How to check the type of memory installed (ECC or not)?

    Dmidecode output here:

    Drive.google.com/.../View

    Hello.

    Unfortunately, we are not able to open the link you have provided. You can display information about your memory on the web iDRAC under hardware and memory interface. You see the type of error correction (ECC or Non ECC) within the information memory page. You can also view the same information on OpenManage Server Administrator and even make use of the memory part number to find out more information.

  • Using PowerCLI 5.5 instead of 5.0

    CPO 3.1

    PowerCLI 5.5

    CPO seems to use PowerCLI 5.0 by default and cannot be changed I would say.

    I'm working on automation for VDS (virtual switches distributed) and the built in VMware adapter is somewhat limited in this Department as I was trying to use PowerCLI, but even basic commands in 5.5, such as Get-VDSwitch are "not recognized as cmdlets' in my process of CPO where the same functions in my console PowerCLI command I use for testing.

    So am I correct my observation that CPO by default even when 5.0 5.5 PowerCLI is installed? Is there a way to change this? Is there a place to download an upgraded version of the adapter for VMware?

    Lots of error: the PowerCLI script execution succeeded, but returned the following errors:
    The term 'Get-VDSwitch' is not recognized as the name of a cmdlet, function, script file, or an executable program. Check the spelling of the name, or if a path has been included, make sure the path is correct, and then try again.

    5.5 PowerCLI console load this snap-in to start the console.  This new component snap (comes with PowerCLI 5.5) did not exist when the activity was written.  Thus, it is not responsible for activity.  Maybe we can improve the activity in order to allow users to specify plug-in extra so that it loads. :)

  • Windows 7 detects no memory installed.

    24 GB memory, I installed on my Dell 9100 XPS this is recognizrd in the system BIOS, but not in Widos 7 Ultimacy 64 bit OS only 16 GB how can I fix this?

    Hello

    Since when are you facing this problem?

    Follow the mentioned below as follows:

    Step 1:

    Method 1:

     

    Run the fixit available in the link below and check if that makes a difference

    Hardware devices do not work or are not detected in Windows

    http://support.Microsoft.com/mats/hardware_device_problems/en-us

    Step 2:

     

    I suggest you to follow the steps in this Microsoft KB article troubleshooting and check if it helps.

    Usable memory may be less than the memory installed on Windows 7 computers

    http://support.Microsoft.com/kb/978610

    It supports DDR3 memory see the link:

    http://www.Dell.com/gd/p/Studio-XPS-9100/PD

    I hope that the above information is useful!

  • check if there is a service on a vmguest using powercli

    Is there a way I can check if there is a service on a vmguest, using powercli?

    I found several ways to do it using powershell commands, but I want to know if I can do it using powercli.

    Thank you

    If you have installed on the virtual machines VMware tools, you can use the Invoke-VMScript cmdlet to run a script PowerShell inside the guest OS.

    $vm = get-VM-name MyVM

    $cmd = "get-Service WinRM name.

    Invoke-VMScript - VM $vm - $cmd ScriptText

    According to the account under which you run the script, you may need to use the GuestCredential parameter

  • Using PowerCLI update CMDB

    I need a guide on how to use PowerCLI to update my CMDB.  For example:

    -J' I create a Virtual Machine in vCenter

    CMDB - one yet knows about this

    -J' have the VMname, IP address, OS vCenter with powerCLI type (this part is easy)

    Then I go and use the same script to hit the API of a commonly used CMDB and update the CMDB.

    Is there a guide for general how to do this or a script example of someone who did it?

    Thank you!

    For example, I use a simple real method:

    Every night a script is on demand making it an export of the vCenters with relevant information, CPU, memory, StorageSpace, etc. VMname.

    It is exported to a CSV file to a shared location.

    Every night he runs a CMDB solution, importing the CSV file and editing the right values. I don't know the name of solutions. Try to understand how you can modify / add CMDB items in your first CMDB software, from there you can begin to build your script to get the relevant information in the right format so your CMDB can add it.

  • Inventory of VC using powercli

    Hi all

    I'm looking for a script using powercli for several stocks of VCenterservers something like Vcenter name, host name, name of vm, the VM OS. Notes VM, information data store and vm tools release in excel or csv format

    Note: for multiple Vcenters

    You can check the PowerCLI version you are running? You can do it with the Get-PowerCLIVersion cmdlet. The latest version is: "VMware vSphere PowerCLI 5.1 Release 2 build 1012425. If you are using an earlier version, then please install the latest version. You can download this version of http://www.vmware.com/go/powercli.

    The

    Set-PowerCLIConfiguration -DefaultVIServerMode Multiple -Scope User -Confirm:$false
    

    command should work in the latest version of PowerCLI.

    Certificate warnings can be removed with the following command:

    Set-PowerCLIConfiguration -InvalidCertificateAction Ignore -Scope User -Confirm:$false
    

    To make the script more quickly, I did a new version using the cmdlet Get-View . This new version is about three times faster than the former.

    & { foreach ($vCenterServer in $DefaultVIServers)
        {
          Get-View -Server $vCenterServer -ViewType VirtualMachine -Filter @{"Config.Template"="False"} -Property Name,
            Runtime.Host,
            Guest.GuestFullName,
            Config.Annotation,
            Datastore,
            Config.Tools.ToolsVersion |
          Select-Object -Property @{N="vCenter";E={$vCenterServer.Name}},
            @{N="VMHost";E={(Get-View -Id $_.Runtime.Host -Property Name).Name}},
            @{N="VM";E={$_.Name}},
            @{N="Guest OS";E={$_.Guest.GuestFullName}},
            @{N="Notes";E={$_.Config.Annotation}},
            @{N="Datastores";E={[string]::Join(',',(Get-View -Id $_.Datastore).Name)}},
            @{N="VMware Tools version";E={$_.Config.Tools.ToolsVersion}}
        }
      } |
    Export-Csv -Path VMsInfo.csv -NoTypeInformation -UseCulture
    
  • Automate the VMs using PowerCLI performance report

    Dear Experts,

    I want to automate the monthly performance report (CPU, memory, disk) of the Virtual Machines using PowerCLI or any other script. Basically, I want to do under the tasks mentioned on monthly basis:

    1. use of the CPU (of all virtual machines) statistical average based monthly (as a percentage). Same report for memory (in percent) and the disc (Kbps).

    2. is it possible folderwise? I have several clients in my support infrastructure and I made segregation in making records and for each of them, this report is necessary.

    3. export only these 3 reports in Excel.

    Details of the infrastructure: ESXi 4.0 and 4.1

    Dear Experts, your kind suggestions will be much appreciated? As it takes a lot of time as we do this manually.

    Thank you very much!

    No problem, with the Group-Object cmdlet we can divide the result by VM.

    $metrics = "cpu.usage.average","mem.usage.average","disk.usage.average"
    $start = (Get-Date).AddDays(-30)
    
    $folders = Get-Folder -Location (Get-Folder -Name vm -Location Datacenters)
    # $folders = Get-Folder -Name Folder1,Folder2,Folder3
    &{foreach($folder in $folders){
        $vms = Get-VM -Location $folder    if($vms){
          $stats = Get-Stat -Entity $vms -Stat $metrics -Start $start -ErrorAction SilentlyContinue      if($stats){
            $stats | Group-Object -Property {$_.Entity.Name} | %{
              New-Object PSObject -Property @{
                Folder = $folder.Name            VM = $_.Values[0]
                CpuAvg = ($_.Group | where {$_.MetricId -eq "cpu.usage.average"} | Measure-Object -Property Value -Average).Average            MemAvg = ($_.Group | where {$_.MetricId -eq "mem.usage.average"} | Measure-Object -Property Value -Average).Average            DiskAvg = ($_.Group | where {$_.MetricId -eq "disk.usage.average"} | Measure-Object -Property Value -Average).Average          }
            }
          }
        }
      }} | Export-Csv C:\report.csv -NoTypeInformation -UseCulture
    

Maybe you are looking for