PowerCLI Script to get all the data in a row store...

Hi all

What I'm trying to accomplish is to get this type of output:

Cluster, host, WWN1, WWN2, Datastore1, Datastore2,..., data store DatastoreX

So 1 row for each host, with attached all warehouses of data in the same row

Number of data warehouses can vary from 1 to 30.

So far, I have created this script:

$clusters = Get-Cluster | sort



$StorageInfo = @()



foreach ($cluster in $clusters){
    Write-Host $cluster
    
    $VMHosts = Get-Cluster $Cluster | Get-VMhost | sort
    foreach ($VMHost in $VMHosts){
        $Vendor = "" 
        $VMhostname = $VMHost.Name
        $WWN1 = "{0:x}" -f ($vmhost.ExtensionData.config.storagedevice.HostBusAdapter | Where { $_.Key -match "FibreChannelHba" })[0].PortWorldWideName
        $WWN2 = "{0:x}" -f ($vmhost.ExtensionData.config.storagedevice.HostBusAdapter | Where { $_.Key -match "FibreChannelHba" })[1].PortWorldWideName
        
        if ( ($vmhost.ExtensionData.config.StorageDevice.ScsiLun | Where { $_.Key -match "Disk"}).count -gt 1 ){
            $Vendor = ($vmhost.ExtensionData.config.StorageDevice.ScsiLun | Where { $_.Key -match "Disk" -and $_.Model -notmatch "Block Device"})[0].Vendor
            } else { 
            $Vendor = ($vmhost.ExtensionData.config.StorageDevice.ScsiLun | Where { $_.Key -match "Disk" -and $_.Model -notmatch "Block Device"}).Vendor
            }
        
        $Datastores = $VMHost | Get-Datastore | sort
        foreach ($Datastore in $Datastores){
                    
            $myObj = @()
            $myObj = "" | Select Farm,HostName,WWN1,WWN2,Vendor,Datastore
            $myObj.Farm = $Cluster.Name
            $myObj.HostName = $VMhostname
            $myObj.WWN1 = $WWN1
            $myObj.WWN2 = $WWN2
            $myObj.Vendor = $Vendor
            $myObj.Datastore = $Datastore.name
                           
            $StorageInfo += $myObj
            }
        }
    }
    
$StorageInfo | convertto-csv -NoTypeInformation | Out-File ./Storage-info.csv    


But this gives me a line by the data store, as well as several lines for each host.

Could someone point me to a method how to proceed?

Thank you and best regards,

Harold

You can use the Join function

Something like that

$clusters = Get-Cluster | sort
$StorageInfo = @()

foreach ($cluster in $clusters){
    Write-Host $cluster
    $VMHosts = Get-Cluster $Clusters | Get-VMhost | sort    foreach ($VMHost in $VMHosts){
        $Vendor = ""
        $VMhostname = $VMHost.Name
        $WWN1 = "{0:x}" -f ($vmhost.ExtensionData.config.storagedevice.HostBusAdapter | where { $_.Key -match "FibreChannelHba" })[0].PortWorldWideName
        $WWN2 = "{0:x}" -f ($vmhost.ExtensionData.config.storagedevice.HostBusAdapter | where { $_.Key -match "FibreChannelHba" })[1].PortWorldWideName

        if ( ($vmhost.ExtensionData.config.StorageDevice.ScsiLun | where { $_.Key -match "Disk"}).count -gt 1 ){
            $Vendor = ($vmhost.ExtensionData.config.StorageDevice.ScsiLun | where { $_.Key -match "Disk" -and $_.Model -notmatch "Block Device"})[0].Vendor
        } else {
            $Vendor = ($vmhost.ExtensionData.config.StorageDevice.ScsiLun | where { $_.Key -match "Disk" -and $_.Model -notmatch "Block Device"}).Vendor
        }

        $Datastores = [string]::Join(',',($VMHost | Get-Datastore | sort | %{$_.Name}))

        $myObj = "" | Select Farm,HostName,WWN1,WWN2,Vendor,Datastore
        $myObj.Farm = $Cluster.Name
        $myObj.HostName = $VMhostname        $myObj.WWN1 = $WWN1        $myObj.WWN2 = $WWN2        $myObj.Vendor = $Vendor        $myObj.Datastore = $Datastores
        $StorageInfo += $myObj    }
}

$StorageInfo | convertto-csv -NoTypeInformation | Out-File ./Storage-info.csv 

Tags: VMware

Similar Questions

  • get all the dates in a beach in oracle resultset

    Hello
    I need to know how to do all the dates in a date range in Oracle11g query resultset.

    It should be something similar to the following pseudocode

    Select "All DATES" of? where date between TO_DATE('date-val','format') and TO_DATE ('date-val', ' format').

    It may require a different logic, but if I give a range like 5 February 2011, March 2, 2011
    It must return me all dates in this range in the result set.
    IE resultset = February 5, 2011, February 6, 2011,... February 28, 2011, March 1, 2011, 2 March 2011

    Hello

    You are looking for something like this?

    SQL> with a as (select to_date('05-FEB-2012','dd-MON-yyyy') start_date,
      2                   to_date('02-MAR-2012','dd-MON-yyyy') end_date from dual)
      3  select a.start_date + level - 1 dt
      4  from a
      5  connect by level <=  to_date('02-MAR-2012','dd-MON-yyyy') -
      6    to_date('05-FEB-2012','dd-MON-yyyy') + 1
      7  order by level;
    
    DT
    -----------
    05-FEB-2012
    06-FEB-2012
    07-FEB-2012
    08-FEB-2012
    09-FEB-2012
    10-FEB-2012
    11-FEB-2012
    12-FEB-2012
    13-FEB-2012
    14-FEB-2012
    15-FEB-2012
    
    DT
    -----------
    16-FEB-2012
    17-FEB-2012
    18-FEB-2012
    19-FEB-2012
    20-FEB-2012
    21-FEB-2012
    22-FEB-2012
    23-FEB-2012
    24-FEB-2012
    25-FEB-2012
    26-FEB-2012
    
    DT
    -----------
    27-FEB-2012
    28-FEB-2012
    29-FEB-2012
    01-MAR-2012
    02-MAR-2012
    
    27 rows selected.
    
    SQL>
    
  • socket InputStream does not get all the data, please help

    I've been doing stuff of network on blackberry for quite awhile, but still using the http connection.

    I have to use the socket for a piece of my application connection, but could not do the work.

    This code is what I do

    String url =

    "socket: / / ' + rmserver + ': ' + rmport;

    Socket SocketConnection = Connector.open (url) (SocketConnection);

    socket.setSocketOption (SocketConnection.KEEPALIVE, 1);

    OutputStream = socket.openOutputStream ();

    InputStream = socket.openInputStream ();

    send something here using outputstream

    int

    If (f > 0) {}

    do somwthing

    }

    AV is always 0.

    I don't know that my server sends data successfully. I run the network packet capture tool etheal on the MDS Server, I can see given reached MDS Server, but they never come to my device app.

    The outputstream works very well, I can send data from my application and my server code gets all of them.

    Where should I check? If it is http, I can turn on the debugging http on MDS log and see all network traffic, but for the socket connection, data packet is not connected (or I missed where it is).

    Is someone can you please tell me where I should go to understand why?

    Please try the suggestion to remove the check mark on InputStream.available.

  • PowerCLI script to list all the material

    Greetings,

    I'm looking for a script that will display all the material parameters for disk including my vm, USB, series and parallel ports, etc...

    Found this script for serial ports:

    $vms = get - VM

    {foreach ($vm to $vms)

    Notice-EEG - ViewType VirtualMachine. %{

    if($_.) Config.Hardware.Device | where {$_.} GetType(). Name - eq

    {'VirtualSerialPort'})

    $_. Name

    }

    }

    }

    However how to change it for all material or I need to specify each potential device?  How can I get a list of options, for example, where I find that 'VirtualSerialPort' is an option?

    Also how I got out to a csv file.

    Try this

    Get-View -ViewType VirtualMachine | %{
         $vm = $_
         $_.Config.Hardware.Device | Select @{N="VM name";E={$vm.Name}},@{N="HW name";E={$_.GetType().Name}},@{N="Label";E={$_.DeviceInfo.Label}}
    } | Export-Csv "C:\VM-HW.csv" -NoTypeInformation
    

    ____________

    Blog: LucD notes

    Twitter: lucd22

  • get all the date of end of months between two dates

    Hi all, I'll try to find together the date of end of months between two dates.
    I have the following data in a table

    WITH AS's Data1
    (
    SELECT To_Date('4/30/2009','mm/dd/yyyy') dt, 'TEST' lname FROM dual UNION ALL
    SELECT To_Date('5/01/2009','mm/dd/yyyy') dt, "TEST2" lname FROM dual UNION all
    SELECT To_Date('5/02/2009','mm/dd/yyyy') dt, "TEST3" lname FROM dual UNION all
    SELECT To_Date('5/03/2009','mm/dd/yyyy') dt, "TEST4" lname FROM dual UNION all
    SELECT To_Date('5/04/2009','mm/dd/yyyy') dt, "TEST5" lname FROM dual UNION all
    SELECT To_Date('5/05/2009','mm/dd/yyyy') dt, "TEST6" lname FROM dual UNION ALL
    SELECT To_Date('5/31/2009','mm/dd/yyyy') dt, 'TEST7' lname FROM dual UNION all
    SELECT To_Date('6/01/2009','mm/dd/yyyy') dt, 'TEST' lname FROM dual

    )

    I would like to write an application that gives you all the end date for months between two dates
    for example, if you give the date 9/1/4 and 5/6/9, the output should be
    DT          LNAME
    -------------------
    4/30/2009   TEST
    IF I give you the dates 01/04/09 AND 01/06/09, THEN output should be
    DT          LNAME
    -------------------
    4/30/2009   TEST
    5/31/2009   TEST7
    as you can see, I want all the end dates of months between two dates by giving the output.

    If I give you 06/05/09 and 05/06/09, and then does so no output because there is no end of month between these two dates.
    Similarly, if I give you 30/04/09 and 30/04/09 then output should be 30/04/09 because it is an end of month date

    anyone can help to write a query. Thank you very much

    Jin
    Not sure if you need subquery, analytical functions for this.
    According to me, which should solve your purpose.

    WITH data1 AS
    (
    SELECT To_Date('4/30/2009','mm/dd/yyyy') dt, 'TEST' lname FROM dual UNION ALL
    SELECT To_Date('5/01/2009','mm/dd/yyyy') dt, 'TEST2' lname FROM dual UNION all
    SELECT To_Date('5/02/2009','mm/dd/yyyy') dt, 'TEST3' lname FROM dual UNION all
    SELECT To_Date('5/03/2009','mm/dd/yyyy') dt, 'TEST4' lname FROM dual UNION all
    SELECT To_Date('5/04/2009','mm/dd/yyyy') dt, 'TEST5' lname FROM dual UNION all
    SELECT To_Date('5/05/2009','mm/dd/yyyy') dt, 'TEST6' lname FROM dual UNION ALL
    SELECT To_Date('5/31/2009','mm/dd/yyyy') dt, 'TEST7' lname FROM dual UNION all
    SELECT To_Date('6/01/2009','mm/dd/yyyy') dt, 'TEST' lname FROM dual 
    
    )
    select distinct last_day(dt) dt,lname
      from data1
     where dt between &start_date and &end_date
       and last_day(dt) <= &end_date
    
    also, i have another request. how would i do this without using the data i provided. lets say,
     i tell you, give me alll the months end between two dates using dual in the from clause of a query.
    how would you do this in a query or pl/sql? thanks again
    

    Can be like that

    with data1 as(
    select &start_date+level-1 dt from dual
    connect by level <= &end_date-&start_date+1)
    select distinct last_day(dt)
      from data1
     where dt between &start_date and &end_date
       and last_day(dt) <= &end_date
     order by last_day(dt)
    

    See you soon!
    Bobin

    Published by: Buga added query for updated the need

  • I need to get all the data VLAN of Vcenters worth of clusters

    Hiya,

    I know that my goodwill is probabily come up a little short but well I'll ask!

    I have multiple vcenters, with hundreds of VLANs (literally)

    What I have to do is extract, by cluster:

    Name of the cluster

    Beaches of available within the cluster network

    VLAN ID

    As I say, if someone can provide a script to do this, it would be much appreciated.

    Concerning

    Stu

    Of course, capture the output in a variable and run this variable to the Export-Csv cmdlet.

    $report = foreach($cluster in Get-Cluster){
        foreach($esx in (Get-VMHost -Location $cluster)){
            foreach($pg in (Get-VirtualPortgroup -VMHost $esx)){
                Select -InputObject $pg @{N="Cluster";E={$cluster.Name}},
                @{N="VMHost";E={$esx.Name}},
                @{N="Portgroup";E={$pg.Name}},
                @{N="VLAN";E={$pg.VlanId}},
                @{N="IP";E={
                        $adapter = Get-VMHostNetworkAdapter -VMHost $esx | where {$_.PortgroupName -eq $pg.Name}
                        if($adapter){
                            [string]::Join(',',($adapter.IP | %{$_}))
                        }
                    }}
            }
        }
    }
    
    $report | Export-Csv "C:\Temp\report.csv" -NoTypeInformation -UseCulture
    
  • Not to get all the data

    Hello

    I have the query below, but the output for the not available column data appears not all data with a condition_id which is not null.

    Does anyone have ideas that I might need to try?
    SELECT I.SKU_ID, 
     I.DESCRIPTION, 
     TO_CHAR(I.EXPIRY_DSTAMP, 'DD-Mon-YYYY') expiry_dt, 
     SUM(CASE WHEN I.CONDITION_ID IS NOT NULL THEN QTY_ON_HAND ELSE 0 END) AS Unavailable, 
     SUM(CASE WHEN I.CONDITION_ID IS NULL THEN QTY_ON_HAND ELSE 0 END) AS Available, 
     P_ILV.SUM_QTY_DUE + (NVL(P_ILV.SUM_TL,0) * NVL(S.USER_DEF_NUM_3,0)) AS Sum_Qty_Due, 
     ROUND(ITXN_ILV.AVG_QTY, 2) AS Avg_Qty, 
     ROUND(SUM(CASE WHEN I.CONDITION_ID IS NULL THEN QTY_ON_HAND ELSE 0 END)/CASE WHEN ITXN_ILV.AVG_QTY = 0 THEN 1 ELSE ITXN_ILV.AVG_QTY END,2) AS Days_Worth_Stock 
    
    FROM INVENTORY I 
    JOIN SKU S 
    ON (I.SKU_ID = S.SKU_ID AND I.DESCRIPTION = S.DESCRIPTION) 
    JOIN (SELECT P.SKU_ID, SUM (CASE WHEN P.TRACKING_LEVEL NOT LIKE 'C%' THEN P.QTY_DUE ELSE 0 END) AS SUM_QTY_DUE, 
      SUM(CASE WHEN P.TRACKING_LEVEL LIKE 'C%' THEN P.QTY_DUE ELSE 0 END) SUM_TL 
     FROM PRE_ADVICE_LINE P 
    WHERE P.QTY_RECEIVED IS NULL 
    GROUP BY P.SKU_ID) P_ILV 
    ON (S.SKU_ID = P_ILV.SKU_ID) 
    JOIN (SELECT ITXN.SKU_ID, SUM(ITXN.UPDATE_QTY)/(CEIL(TO_DATE($P{To_Date},'DD-Mon-YYYY') - TO_DATE($P{From_Date},'DD-Mon-YYYY')) + 1) AVG_QTY 
     FROM INVENTORY_TRANSACTION ITXN 
    WHERE ITXN.CODE = 'Shipment' 
     AND ITXN.DSTAMP BETWEEN TRUNC(TO_DATE($P{From_Date},'DD-Mon-YYYY')) AND TRUNC(TO_DATE($P{To_Date},'DD-Mon-YYYY')+ 1) - 1/86400 
    GROUP BY ITXN.SKU_ID) ITXN_ILV 
    ON (S.SKU_ID = ITXN_ILV.SKU_ID) 
    GROUP BY TO_CHAR(I.EXPIRY_DSTAMP, 'DD-Mon-YYYY'), I.SKU_ID, I.DESCRIPTION, P_ILV.SUM_QTY_DUE, NVL(P_ILV.SUM_TL,0), NVL(S.USER_DEF_NUM_3,0), ITXN_ILV.AVG_QTY, 2 
    ORDER BY I.SKU_ID
    Thank you, Sam.

    Published by: Sam Mardell on May 8, 2009 06:25

    OK Sam, here's the modified query, try this please:

    SELECT I.SKU_ID,
         S_ILV.DESCRIPTION,
         TO_CHAR(I.EXPIRY_DSTAMP, 'DD-Mon-YYYY') expiry_dt,
         SUM(CASE WHEN TRIM(I.CONDITION_ID) IS NOT NULL THEN QTY_ON_HAND ELSE 0 END) AS Unavailable,
         SUM(CASE WHEN TRIM(I.CONDITION_ID) IS NULL THEN QTY_ON_HAND ELSE 0 END) AS Available,
         P_ILV.SUM_QTY_DUE + (NVL(P_ILV.SUM_TL,0) * NVL(S_ILV.USER_DEF_NUM_3,0)) AS Sum_Qty_Due,
         ROUND(ITXN_ILV.AVG_QTY, 2) AS Avg_Qty,
         ROUND(SUM(CASE WHEN I.CONDITION_ID IS NULL THEN QTY_ON_HAND ELSE 0 END)/CASE WHEN  ITXN_ILV.AVG_QTY = 0 THEN 1 ELSE ITXN_ILV.AVG_QTY END,2) AS Days_Worth_Stock
      FROM INVENTORY I
      JOIN (SELECT S.SKU_ID, MAX(S.DESCRIPTION) DESCRIPTION, SUM(S.USER_DEF_NUM_3) USER_DEF_NUM_3
                FROM SKU S
               GROUP BY S.SKU_ID) S_ILV
         ON (I.SKU_ID = S_ILV.SKU_ID)
      LEFT JOIN (SELECT P.SKU_ID, SUM (CASE WHEN P.TRACKING_LEVEL NOT LIKE 'C%' THEN P.QTY_DUE ELSE 0 END) AS SUM_QTY_DUE,
          SUM(CASE WHEN P.TRACKING_LEVEL LIKE 'C%' THEN P.QTY_DUE ELSE 0 END) SUM_TL
        FROM PRE_ADVICE_LINE P
       WHERE P.QTY_RECEIVED IS NULL
       GROUP BY P.SKU_ID) P_ILV
       ON (I.SKU_ID = P_ILV.SKU_ID)
     LEFT JOIN (SELECT ITXN.SKU_ID, SUM(ITXN.UPDATE_QTY)/(CEIL(TO_DATE($P{To_Date},'DD-Mon-YYYY') -  TO_DATE($P{From_Date},'DD-Mon-YYYY')) + 1) AVG_QTY
          FROM INVENTORY_TRANSACTION ITXN
       WHERE ITXN.CODE = 'Shipment'
          AND ITXN.DSTAMP BETWEEN TRUNC(TO_DATE($P{From_Date},'DD-Mon-YYYY')) AND TRUNC(TO_DATE($P{To_Date},'DD-Mon-YYYY')+ 1) - 1/86400
         GROUP BY ITXN.SKU_ID) ITXN_ILV
       ON (I.SKU_ID = ITXN_ILV.SKU_ID)
     GROUP BY TO_CHAR(I.EXPIRY_DSTAMP, 'DD-Mon-YYYY'), I.SKU_ID, S_ILV.DESCRIPTION, P_ILV.SUM_QTY_DUE, NVL(P_ILV.SUM_TL,0), NVL(S_ILV.USER_DEF_NUM_3,0), ITXN_ILV.AVG_QTY, ROUND(ITXN_ILV.AVG_QTY, 2)
     ORDER BY I.SKU_ID
    

    Published by: Seanmacgc on May 12, 2009 10:37

  • PowerCLI script to list all the streams

    Hello

    Want to know if there is a way to list all inbound and outbound connections with IP and port of a vcenter infrastructure.

    Try it with scale and dvs but looks delicate, as navigator of Vmware infrastructure can perhaps do.

    But for sure, I think we can do it with powercli just want to confirm if there already exists.

    Thank you!

    Hello

    Check if that shell commands can help you

    https://KB.VMware.com/kb/2051814

    https://KB.VMware.com/kb/2020669

    Or with (command shell and PowerCli)

    http://technodrone.blogspot.com/2011/09/netstat-for-ESXi.html

    I hope this can help

  • Erase all the data of the table row

    Is there a small script to make all fields in the same row (whiteboard) null? I want to erase all the data when this row is deleted.

    Hello

    This JavaScript function will reset all the fields in the line taken in;

    function clear (row)

    {

    var resetList = [];

    fields var = row.resolveNodes ("#field [*]");

    for (var i = 0; i)< fields.length;="">

    {

    resetList.push (fields.item (i) .somExpression);

    }

    xfa.host.resetData (resetList.join(","));

    }

    So to remove all data from the second line we could call him for help;

    Clear (xfa.resolveNode("Table1.Row[1]"));

    Hope that helps

    Bruce

  • All the dates in a month gave a date

    Hi... maybe it's simple, but I'm not able to get my mind around.

    Given a date, how to get all the dates this month, from beginning to end this month, in order... just by using a SQL SELECT statement... not PL/SQL

    Thank you

    Published by: dcentgye on October 1st, 2008 16:13

    Here's the way->

    satyaki>
    satyaki>select * from v$version;
    
    BANNER
    ----------------------------------------------------------------
    Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - Prod
    PL/SQL Release 10.2.0.3.0 - Production
    CORE    10.2.0.3.0      Production
    TNS for 32-bit Windows: Version 10.2.0.3.0 - Production
    NLSRTL Version 10.2.0.3.0 - Production
    
    Elapsed: 00:00:00.61
    satyaki>
    
    satyaki>
    satyaki>select trunc(to_date('&dt','DD-MON-YYYY'),'MONTH') + rownum - 1
      2  from dual
      3  connect by rownum <= trunc(add_months(to_date('&dt','DD-MON-YYYY'),1),'MONTH') -
      4                       trunc(to_date('&dt','DD-MON-YYYY'),'MONTH');
    Enter value for dt: 23-AUG-2008
    old   1: select trunc(to_date('&dt','DD-MON-YYYY'),'MONTH') + rownum - 1
    new   1: select trunc(to_date('23-AUG-2008','DD-MON-YYYY'),'MONTH') + rownum - 1
    Enter value for dt: 23-AUG-2008
    old   3: connect by rownum <= trunc(add_months(to_date('&dt','DD-MON-YYYY'),1),'MONTH') -
    new   3: connect by rownum <= trunc(add_months(to_date('23-AUG-2008','DD-MON-YYYY'),1),'MONTH') -
    Enter value for dt: 23-AUG-2008
    old   4:                      trunc(to_date('&dt','DD-MON-YYYY'),'MONTH')
    new   4:                      trunc(to_date('23-AUG-2008','DD-MON-YYYY'),'MONTH')
    
    TRUNC(TO_
    ---------
    01-AUG-08
    02-AUG-08
    03-AUG-08
    04-AUG-08
    05-AUG-08
    06-AUG-08
    07-AUG-08
    08-AUG-08
    09-AUG-08
    10-AUG-08
    11-AUG-08
    
    TRUNC(TO_
    ---------
    12-AUG-08
    13-AUG-08
    14-AUG-08
    15-AUG-08
    16-AUG-08
    17-AUG-08
    18-AUG-08
    19-AUG-08
    20-AUG-08
    21-AUG-08
    22-AUG-08
    
    TRUNC(TO_
    ---------
    23-AUG-08
    24-AUG-08
    25-AUG-08
    26-AUG-08
    27-AUG-08
    28-AUG-08
    29-AUG-08
    30-AUG-08
    31-AUG-08
    
    31 rows selected.
    
    Elapsed: 00:00:00.35
    

    Kind regards.

    LOULOU.

  • Hi, I am told by a website mFirefox is out of date so I can't get all the features. I continue to download an update, but it continues still to be. Could you please help me. Thank you.

    Hi, I am told by a website mFirefox is out of date so I can't get all the features. I continue to download an update, but it continues still to be. Could you please help me. Thank you.

    Download the latest version of Firefox to:

    Uninstalling Firefox

    Install Firefox on Windows

    Check and tell if its working.

  • I had a hard drive crash and had to move all the data again. Now, I get an error saying that my Visa is not an authorized version. How can I find the product key to reactivate?

    Vista Product Code question

    I had a hard drive crash and had to move all the data again.  Now, I get an error saying that my Visa is not an authorized version.  How can I find the product key to reactivate?  I don't have the sticker on the back and the software I have does not have the code?  I bought this laptop DELL at Best Buy a little more than a year.

    Thank you.

    Hello

    This problem may occur if you make a significant hardware change. See the link provided below.

    Error message when you start Windows Vista: "your activation period has expired".

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

    If the OS came preinstalled Dell you may need to contact Dell technical support for assistance.
    http://support.Dell.com/support/topics/global.aspx/support/win7_support/win7_portal?c=us&CS=04&l=en&s=BSD

  • Can write us "PowerCLI Script" to get the details of card RAID HP (Firmware &amp; Driver)?

    Can write us "PowerCLI Script" to get the details of card RAID HP (Firmware & Driver)

    For example: native ESX command below shows desired output for me.

    But we needed equality PowerCLI ESX command below script

    # cat/proc/driver/cciss/cciss0

    cciss0: HP Smart Array P400i controller

    Board ID: 0x3235103c

    Firmware version: 7.22# cat/proc/driver/hpsa/hpsa0

    hpsa0: HP Smart Array P410i controller

    Board ID: 0x3245103c

    Firmware version: 5,70

    Driver version: HP HPSA driver (v 5.0.0 - 17vmw)

    The extracted following PowerCLI you will get server and type of controller, firmware version and the hpsa/Smart Storage Array controllers driver version based of:

    Get-VMhost | Sort | Select Name, Model,@{N='Controller Type'; E={(Get-VMHostHba -VMHost $_ | ? {$_.Model -imatch '.*(hpsa|smart).*'}).Model}},@{N='Controller Firmware'; E={($_.ExtensionData.Runtime.HealthSystemRuntime.SystemHealthInfo.NumericSensorInfo | ? {$_.Name -like '*hpsa*firmware*'}).Name}},@{N='hpsa Driver Version'; E={($_.ExtensionData.Runtime.HealthSystemRuntime.SystemHealthInfo.NumericSensorInfo | ? {$_.Name -like '*scsi-hpsa*'}).Name}} | Format-Table -Autosize
    

    The sample output:

    
    Name                     Model                Controller Type   Controller Firmware                           hpsa Driver Version----                     -----                ---------------   -------------------                           -------------------esxihost1022.local    ProLiant DL380 G6    Smart Array P410i    HP Smart Array Controller HPSA1 Firmware 6.40    Hewlett-Packard scsi-hpsa 5.0.0.60-1OEM.500.0.0.472560 2014-05-15 15:32:23.000esxihost1023.local    ProLiant DL380 G6    Smart Array P410i    HP Smart Array Controller HPSA1 Firmware 6.40    Hewlett-Packard scsi-hpsa 5.0.0.60-1OEM.500.0.0.472560 2014-05-15 15:32:23.000esxihost1024.local    ProLiant DL380 G6    Smart Array P410i    HP Smart Array Controller HPSA1 Firmware 6.40    Hewlett-Packard scsi-hpsa 5.0.0.60-1OEM.500.0.0.472560 2014-05-15 15:32:23.000esxihost1033.local    ProLiant DL360p Gen8    Smart Array P420i    HP Smart Array Controller HPSA1 Firmware 5.42    Hewlett-Packard scsi-hpsa 5.0.0.60-1OEM.500.0.0.472560 2014-05-15 15:32:23.000esxihost1034.local    ProLiant DL360p Gen8    Smart Array P420i    HP Smart Array Controller HPSA1 Firmware 5.42    Hewlett-Packard scsi-hpsa 5.0.0.60-1OEM.500.0.0.472560 2014-05-15 15:32:23.000esxihost1041.local    ProLiant DL380 G5    Smart Array P400    HP Smart Array Controller HPSA1 Firmware 7.24    VMware scsi-hpsa 5.0.0-17vmw.500.0.0.469512 2011-08-19 01:58:59.000esxihost1042.local    ProLiant DL380 G5    Smart Array P400    HP Smart Array Controller HPSA1 Firmware 7.24    VMware scsi-hpsa 5.0.0-17vmw.500.0.0.469512 2011-08-19 01:58:59.000esxihost1160.local    ProLiant BL460c Gen8    Smart Array P220i    HP Smart Array Controller HPSA1 Firmware 5.22    Hewlett-Packard scsi-hpsa 5.0.0-40OEM.500.0.0.472560 2012-08-24 21:04:51.000esxihost1161.local    ProLiant BL460c Gen8    Smart Array P220i    HP Smart Array Controller HPSA1 Firmware 5.22    Hewlett-Packard scsi-hpsa 5.0.0-40OEM.500.0.0.472560 2012-08-24 21:04:51.000
    
  • How to get all the style of paragraphs and their policies of an indesign file and write all the info with info para in a txt file with scripts

    @

    How to get everyone how to get all the style of paragraphs and their policies of an indesign file and write all the info with info para in a txt file with scriptingstyle and their policies of an indesign file and write all the info with info para in a txt file with scripts

    Hello

    Try this,

    var doc = app.activeDocument,
        pstyles = doc.allParagraphStyles,
        report = "";
    for(var i =0;i
    

    Kind regards

    Cognet

  • How can I get all the instruments that the GB ios?

    Hello everyone, as the title, I bought mainstage 3, due to the limited space, ssd, I can't download all the content in my macbook!

    Do you know what content packages that include all the data tools for ios, I need to download?  so I can make music in parallel (ios and mac).

    Thank you!

    If you download the GarageBand 2.1 application to your Mac as described in this tip to the user: How to get iOS GB loops in GarageBand for Mac.

    and then find the library of instruments inside as described here:

    https://discussions.Apple.com/message/29804266#29804266

    You can see a list of files .cst for sounds used by GarageBand software instruments:

    Library/Track\ settings/software support/Instrument\ of GarageBand\ 2.1/Payload/MobileGarageBand.app/Library.bundle/Application\

    I see these fixes in GarageBand 2.1:

    Keyboard / to THE Keyboard.cst

    Drummer/great room GB.cst

    GB.cst drummer/Bluebird

    Drummer/Crate Digger GB.cst

    Drummer/Deep Tech GB.cst

    Drummer/Pile Driver GB.cst

    Drummer/Retro Rock GB.cst

    Drummer/Roots GB.cst

    GB.cst drummer / SoCal

    Drummer/Trap Door GB.cst

    Battery/Big Room.cst

    Drums/Bluebird.cst

    Battery/Classic drum Machine.cst

    Battery/Classic Studio Kit.cst

    Battery/case Digger.cst

    Battery/Deep Tech.cst

    Battery/Hip Hop drum Machine.cst

    Home/drums drum Machine.cst

    Battery/Live Rock Kit.cst

    Battery Driver.cst

    Battery/Retro Rock.cst

    Drums/Roots.cst

    Drums/SoCal.cst

    Battery/trap Door.cst

    Battery/Vintage Kit.cst

    Metronomes/metronome Click.cst

    Metronomes/metronome HiHat.cst

    Metronomes/metronome Sidestick.cst

    Metronomes/metronome Visual Only.cst

    Metronomes/metronome Woodblock.cst

    Sampler/Sampler.cst

    Smart Bass/Exoplanet.cst

    Smart Bass/Light Cycle.cst

    Smart Bass/Liverpool.cst

    Smart Bass/Muted.cst

    Smart Bass.cst/P-Bass

    Smart Bass/Picked.cst

    Smart Bass.cst Bass/Retro

    Sequence/Bass smart Bass.cst

    Smart Bass/Upright.cst

    Battery smart/Classic drum Machine.cst

    Battery Classic/intelligent Studio Kit.cst

    Battery smart/Hip Hop drum Machine.cst

    Home/battery smart drum Machine.cst

    Battery smart/Live Rock Kit.cst

    Battery smart/Vintage Kit.cst

    Smart Guitar/Acoustic.cst

    Smart Clean.cst guitar/Classic

    Smart Rock.cst guitar/hard

    Smart Rock.cst guitar/Roots

    Keyboard Smart/Classic Rock Organ.cst

    Piano.CST Smart Keyboard/Electric

    Piano.CST Smart Keyboard/large

    Smart Keyboard/Helix.cst

    Language.CST Smart keyboard/Machine

    Smart Keyboard/Polarize.cst

    Clav.CST Smart Keyboard/smooth

    Sailer.CST Smart Keyboard/solaire

    Smart Strings/Cinematic.cst

    Smart Strings/Modern.cst

    Smart Strings/Pop.cst

    Smart Strings/Romantic.cst

Maybe you are looking for

  • Hurri: How to get 10.6.6 if I have 10.6.5

    Mac App Store, to load bought Mountain Lion? ~ Karl

  • Video hardware does not work on the Satellite A100

    I have a satellite A100 and since my laptop has crashed by using Windows Movie maker videos do not play properly. Windows Vista has identified the problem as a video hardware error and after updating the driver BIOS and nVida as it says, it still doe

  • Windows Driver DV6T-3000 graphics 8

    Hey guys! its my first post. I need help with my computer hp laptop pavilion dv6t-3000/entertainment. I tried to install windows 8(64x), upgrade to windows 7(64x) and everything is going well, but after trying to update the graphics driver in Device

  • How to get rid of a file corrupted ActiveX?

    Cripes! I can't seem to get rid of a corrupt activex file... .can someone please help Thxs!

  • TCL Script work until it gets recorded

    Hello! I'm fumbling my way through TCLtrying to meet a need. I had an EEM script that would daily pull into a file via TFTP and apply the content of this file. It's the different ACL update daily automatically. It worked well except that every day, h