find the total size of the VM on specific data warehouses

Hello

PowerCLI guru, I'm not...

I'm just using the following to get the total size of the virtual machine.

Get-vmhost < host name, host name >. get - vm | Select-Object Name, UsedSpaceGB

The problem is some of these VMS are on 15 k drive and some are over 10 k drive, is there a way to add the data store name each virtual machine is located at the exit. Seeing the data store name that I can know easily what typre of disc it is average.

Currently, she is just out

vmname size

-----------        ------

ABC 123

Here you are:

vmname datastore vmsize

-----------     -------------   --------

ABC xyz - 567 123

Thank you

The following PowerCLI script you will show the name, data warehouses and space used for all virtual machines:

Get-VM | Select-Object -Property Name,
@{Name="Datastores";Expression={
  [string]::Join(',',($_.DatastoreIDList |
    ForEach-Object { Get-View -id $_ |
    ForEach-Object {$_.Name}}) )
}},
UsedSpaceGB

Best regards, Robert

Tags: VMware

Similar Questions

  • Find the difference between two date and time

    Hi friends,

    I wanted to find the difference between two date and time, but my qury is slightest error "invalid number."

    select sql_step_num,proc_name,run_seqno,start_date,end_date,(to_char(start_date,'HH24-MI-SS') - to_char(end_date,'HH24-MI-SS') ) as ed  
    from eval.EVAL_RUNTIME_DETAILS
    where trunc(start_date) = trunc(sysdate) 
    order by sql_step_num;

    You try to get the feel between two char strings.
    And more difference between two dates gives a NUMBER of days.
    Try this:

    select sql_step_num,proc_name,run_seqno,start_date,end_date,numtodsinterval(end_date-start_date,'DAY') as ed
    from eval.EVAL_RUNTIME_DETAILS
    where trunc(start_date) = trunc(sysdate)
    order by sql_step_num;
    
  • Event ID: 7024 with error message: "the Windows Firewall service stopped with the error service specific data are invalid.

    Original title: cannot start Service Windows Firewall: Error Code 13

    Hello.

    Anyway, the Action Center has begun randomly telling me that the Windows Firewall is disabled. When I try to start or return to the default settings, it tells me that it is not able to do.

    I went to Services and Windows Firewall is set to automatic, but it is not started. I try to start it and it tells me that it is not able to do the same. The error code is 13.

    I am an administrator.

    MalwareBytes did find and delete a virus named "Disable.SecurityCenter", but after removing that I am still unable to start the Service.

    Can someone help with this problem?

    Edit: The journal ID is 7024 and description:

    "The Windows Firewall service stopped with the error service specific data are not valid... '. ».

    Hello, Connor

    You can try to perform a system restore to before that the problem started. For instructions on how to proceed, see the following ink: System Restore: frequently asked questions

    You can also try running a SFC scan to check (and repair) system corrupt/modified files. To do this, go to start, all programs, accessories, click with the right button on command prompt and choose Run as administrator. In the command prompt, type the following command and press ENTER: SFC/scannow

    David
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • ESX host managed by VirtualCenter servers all see the same SAN LUNS / data warehouses

    Scenario of

    I have two separate deployments of VirtualCenter (in the same physical location) VCA and VCB with each deployment management 5 x ESX hosts (10 in total).

    All 10 hosts are allowed to look at the same SAN LUNS / data warehouses?

    Or I have to isolate five VCA hosts and five guests to their own SAN LUNS VCB / data warehouses?

    Box293 wrote:

    Basically, we have our direct environment and we are on the beta program for VI4.

    I want to turn off a virtual machine in the direct environment and then pull it out of the inventory.

    Then I want to go the VI4 Beta and browse the data store and add this virtual machine to inventory.

    These two environments may see the same LUNS / data warehouses.

    I did and it works however I want to make sure that it is an approved practice.

    You can do that normally without any problems. Even if the virtual machine is in a different datacenter inventory and there Powred-Off. You can map the logic unit number on the VI4 and add to the inventory of the VI4 another host.

    Recently, I did this practice to migrate from host with virtual machines in a different subnet to the host who knows the same setting SAN LUN in the other subnet.

    Best regards

    Hussain Al Sayed

  • What is the maximum number of data warehouses in a system of Vcenter?

    What is the maximum number of data warehouses in a system of Vcenter?

    I had a look at highs of configuration in http://www.VMware.com/PDF/vSphere4/R40/vsp_40_config_max.PDF , he lists100 in the section of SMI-S

    SMI-S section list max number of ESX host as 100, although it is 300 in the maximum of vcenter server. Should I look for in the section of SMI-S?

    Only if you plan to use SMI - if she does not go with the maximum rates for vCenter - and you are correct to look at the number of hosts since it is the ESX hosts that communicate to the SAN not vCenter-

  • To find the first Summit for data channel

    Hey guys,.

    I need a little help. I wrote a script to process some data. Basically, what the script does is calculate the linear accelerations peak, peak of the angular speeds, HIC values and IF. But there is a problem with my script that I need help. In my script, I use the ChnPeakFind command to find the pics in my chains. This command works fine to find the peak value, but what I want to do is find the FIRST Summit in the data, without worrying whether or not it is a maximum. I always encountered data that varies in which my first pic (impact analysis) may or may not be the highest point in the channel. As you can see in the Graphs.png that I have attached, the ChnPeakFind command found the 2nd Summit (red circle #2) in my chain of angular velocity (ARS resulting). But what I report is the first peak value (red circle #1). I've also attached a screenshot of the section in my code where I calculate the angular velocity. The 'i' in the calculation is just the channel group number. In this case, it is 1. Anyone know how to change the code or have another suggestion how to find the first Summit in a channel without having to stop and go to the tab analysis to manually find the pic?

    Thank you!

    Hello

    If it please see my littl below escript and let me know if this could work for you

    Dim     oChnResultant
    Call Data.Root.Clear)
    Call DataFileLoad ("E:\Customer_Examples\01_Head_Impact\Head Impact Data.tdm", "CT", "Load")
    Set oChnResultant = data. Root.ActiveChannelGroup.Channels.Add ("Result", DataTypeChnFloat64)
    Call ChnXYZAbsValue ("[1] / ARS X","[1] / ARS Y","[1] / ARS Z", oChnResultant)
    "Use the filter twice to get rid of the jig
    Call ChnSavitzkyGolayFilter (oChnResultant, oChnResultant, 1, 12)
    Call ChnSavitzkyGolayFilter (oChnResultant, oChnResultant, 1, 12)
    ' Delete few maxima to the beginninf of the signal.
    Calculate the call ("R = IIF (R)<>
    'Research for first peak.
    Call ChnPeakFind ("[1] / Time axis","[1]/Resultant","/PeakX","/PeakY",1,"Max.Peaks","Time")

  • How can I find the complete system specifications?

    Hey there.

    My uncle will send me some IQ526Ts Touchsmart from HP with the number of product NE481AV.  How can I find the full system specs?

    Please don't suggest using something like speccy or other programs like this.  I want to do it on the HP site, and apparently I can't have their guaranteed email b/c was released.

    Thank you all,

    Zach

    Hello

    You can check this:

    http://support.HP.com/us-en/document/c01640565

    Because your machine may be a CTO machine so maybe not the same combinations.

    Good luck.

  • How to find the difference between two dates in time except Sunday

    Hi all

    I have a table, as shown below.
    SQL> select * from test;
    
    TR_ID                                              CREATE_TIME                                                                       CODE
    -------------------------------------------------- --------------------------------------------------------------------------- ----------
    S12341                                             05-JUN-12 12.20.52.403000 AM                                                      1003
    S12342                                             11-JUN-12 11.15.33.182000 AM                                                      1003
    S12342                                             07-JUN-12 12.00.36.573000 PM                                                      1002
    S12343                                             20-JUN-12 12.34.37.102000 AM                                                      1003
    S12343                                             15-JUN-12 11.34.27.141000 PM                                                      1002
    S12344                                             01-JUL-12 10.01.06.657000 PM                                                      1002
    S12344                                             06-JUL-12 12.01.04.188000 AM                                                      1003
    S12341                                             31-MAY-12 11.20.38.529000 PM                                                      1002
    I would like to know the difference between same tr_ids create_time, which should give out in hours except Sunday.

    For example:

    TR_ID: S12344
    1002_Create_time: July 1, 12 PM 10.01.06.657000 (i.e. Sunday)
    1003_Create_time: 12.01.04.188000 AM 6 July 12

    1002 create time is 22:00 Sunday.

    If the query must exclude only the hours of Sunday which is 10 p.m. to Monday 00 h which is 2 Hrs.

    I tried the sub query after doing a search on this forum but I am not getting the desired output.
    SELECT count(*) FROM (SELECT ROWNUM RNUM,tr_id,create_time CT_1002 FROM test c WHERE c.tr_id='S12344' and 
    ROWNUM <= (select (cast(a.create_time as date)-cast((select create_time from test b where a.tr_id=b.tr_id and code=1002) as date)) 
    from test a where a.code=1003 and a.tr_id=c.tr_id) + 1) d 
    WHERE to_char(cast((select create_time from test e where e.tr_id=d.tr_id and code=1002) as date) + RNUM - 1, 'DY') NOT IN('SUN');
    Need help to get the desired o/p

    Hello

    If I unederstand the problem correctly, that's what you want:

    WITH       got_extrema     AS
    (
         SELECT       tr_id
         ,       CAST (MIN (create_time) AS DATE)     AS start_date
         ,       CAST (MAX (create_time) AS DATE)     AS end_date
         FROM       test
         GROUP BY  tr_id
    )
    SELECT       tr_id
    ,       start_date, end_date          -- If wanted
    ,       24 * ( ( ( TRUNC (end_date,   'IW')          -- Count -1 day for every full week
                        - TRUNC (start_date, 'IW')
                 )
               / -7
                  )
                + LEAST ( end_date               -- If end_date is a Sunday
                            , TRUNC (end_date, 'IW') + 6     -- consider it 00:00:00 on Sunday
                     )
                - CASE
                          WHEN  start_date >= TRUNC (start_date, 'IW') + 6     -- If start_date is a Sunday
                   THEN  TRUNC (start_date, 'IW') + 6               -- consider it 00:00:00 Sunday
                   ELSE  start_date
                      END
                )     AS total_hours
    FROM      got_extrema
    ;
    

    I guess that you don't need to worry about fractions of a second. As you did in the code you have posted, I am to convert the TIMESTAMP to date values, because of DATE arithmetic and functions are so much better than what is available for timestamps.

    Basically, it's just to find the number of days between start_date and end_date and multiplying by 24, with these twists:
    (a) 1 day is deducted for each week between start_date and end_date
    (b) if End_date is a Sunday, none of the end_date himself hours are counted
    (c) If start_date is a Sunday, then all the start_date himself hours are counted. Why these hours should be counted? Because 1 day is already being deducted for the week which includes start_date, which contains only this Sunday.

    TRUNC (dt, 'IW') is the beginning of the ISO week containing dt; in other words, 00:00:00 the or before the dt last Monday. This is not the NLS parameters.

    Of course, I can't test without some sample data and the exact results you want from these data. You may need a little something more If start_date and end_date are both on the same Sunday.
    Whenever you have a problem, please post a small example of data (CREATE TABLE and only relevant columns, INSERT statements) of all of the tables involved.
    Also post the results you want from this data, as well as an explanation of how you get these results from these data, with specific examples.
    Always tell what version of Oracle you are using.
    See the FAQ forum {message identifier: = 9360002}

  • Can not find the file of exported data

    I have exported databases using EAS and cannot find the files.

    Have you tried to name the file without an extension, as well as including a .txt extension in the name of the export file. In each case, the le panneau panel message confirms that the 'export data... succeeded. "

    Yet, when I try to perform an import, the file I created is not anywhere in the server, directories of application or database appear in the dialog box for EAS.

    I'm sure I'm forgetting something obvious, but documentation did not help, either.

    Advice woud greatly appreciated.

    What version are you on anway file must be where essbase is installed, it will be in \app
    If you want to import then move from the to \app \app\appname\dbname

    See you soon

    John
    http://John-Goodwin.blogspot.com/

  • How to find the component of specific form of CJP

    Hello, all.
    For example, we are looking for how to find any component shape of CJP.
    While in CCP, we tried the following

    DrawnPanel parent = (DrawnPanel) this.getParent ();
    Component components [] = parent.Components ();
    Component;
    for (int i = 0; i < components.length; i ++)
    {
    element components =;
    .................
    component.getName (); Returns the names of internal forms such as TextItem41...
    component.getProperty (ID.NAME); Returns the instance of the class well, which is not very useful.
    }

    Our question how do I find the specific form of CCP component? Where it is possible to see the data in the forms of the component as a block name, Type, name, etc.
    Best regards
    Yuri.

    Edited by: ygauchma January 6, 2011 04:54

    Unfortunately, the name of the element Forms (block.item) is not passed with the method setName() in the underlying Java component, so that you are unable to establish direct correspondence :(

    I asked to the what new features would you like to see on Oracle Forms? on "what do you want in the next version' if they can do this very simple thing.

    François

  • How to find the majority of a data set

    Dear Oracle Guru

    I have a data set something like for example

    AMT of payment which includes data like this (45,53,46,45,52,45,63,45,44,45,41,45...)

    I find the majority payment amt .in my given example, it's 45... IE Maximum occurrences.

    I couldn't get it properly. I thought AVG and MEDIAN... but not really correct

    Is there any other method or function that is deceiving me


    Kindly help me out of this

    With the best regards
    RSS
    with t
    as
    (
    select 45 payment from dual union all
    select 53 payment from dual union all
    select 46 payment from dual union all
    select 45 payment from dual union all
    select 52 payment from dual union all
    select 45 payment from dual union all
    select 63 payment from dual union all
    select 45 payment from dual union all
    select 44 payment from dual union all
    select 45 payment from dual union all
    select 41 payment from dual union all
    select 45 payment from dual
    )
    SELECT DISTINCT payment
      FROM (
         SELECT payment, DENSE_RANK() over (order by cnt desc) rnk
           FROM (
              SELECT payment, count(*) over(partition by payment order by 1) cnt
                FROM t
                )
           )
     WHERE rnk = 1
    
  • Find the range of a data store?

    I am trying to retrieve the name of the scope that each data store. When I use of GUI of Vsphere Client, I can access it by clicking on a data store and in the configuration tab, so I know that somewhere there exists information.  I have spent a lot of time to API reference and have not found a way to access to information.  Does anyone have any ideas on how I can catch these data?

    I solved it myself, DatastoreInfo is extended by the VmfsDatastoreInfo, which allows you to access HostVmfsVolume which has extensions as a field!

  • How to find the difference between two dates in the presentation layer

    Hi gurus,

    Hello to everyone. Today, I came with the new requirement.


    I need to know the difference between a date and the current date in the formula column application presentation layer.by.



    Thank you and best regards,
    Prates

    Hi Navin,

    TIMESTAMPDIFF function first determines the timestamp component that corresponds to the specified interval setting. For example, SQL_TSI_DAY corresponds to the day component and SQL_TSI_MONTH corresponds to the component "month".

    If you want to display the difference between two dates in days using SQL_TSI_DAY, unlike butterflies SQL_TSI_MONTH and so on...

    hope you understand...

    Award points and to close the debate, if your question is answered.

    See you soon,.
    Aravind

  • How to export a single job Disqualification as well as the related processes and data warehouses

    Hello

    I'm new to OEDQ. May be that it is a fundamental issue. But I am not able to find any way. Help, please.

    I use OEDQ version9 and installed locally in my system. I prepared a working with a CSV file as source and used some transformations of control (data type, control the length) in my process ( I've also enabled publish it on the dash for this process option) to prepare the work.

    Then I took the export of .dxi of employment by right-clicking on the name of the job and by selecting the package.

    But when I import this package dxi to another machine is not able to find the related processes and then I am unable to run the TASK.

    Now, is it possible in OEDQ where I can take export a JOB with connections and related processes?

    Kind regards

    Samira

    It is normally easier to pack the whole project, but for any object, you can filter a project first and then package it. To do this for a job, right-click on the task and select filter of dependence - elements used by the selected item. Then package the filtered project - this upward work package manager and all other dependencies (data banks, data interfaces - you won't have to 9.0), snapshots, data staging, refer to data, process etc..) The same works for other objects and processes.

    I would note that since three version major 9.0 so you are encouraged to use a newer version if possible.

  • What are the best solutions for data warehouse configuration in 10 gr 2

    I need help on solutions to provide my client for the upgrade of the data warehouse.

    Current configuration: database Oracle 9.2.0.8. This database contains the data warehouse and a LOBs more on the same host. The sizes are respectively 6 terabyte (3 years retention policy + current year) and 1 terabyte. The ETL tool and BO Reporting tools are also hosted on the same host. The current configuration is really poor.

    Customer cannot go for a major architectural or configuration to its environment changes existing now due to some constraints.

    However, they agreed to separate the databases on separate hosts of ETL tools and objects BO. We also plan to upgrade the database to 10 g 2 to achieve stability, better performance and overcome the current headache.
    We cannot upgrade the database 11g as the BO is a 6.5 version that is not compatible with Oracle 11 g. And the customer cannot afford to spend anything else than the database.

    So, my role is very essential in providing a perfect solution for better performance and take a migration successful Oracle from a host database to another (same platform and OS) in addition to the upgrade.

    I got to thinking now of the following:

    Move the database and Oracle mart for separating the host.
    The host will be the same platform, i.e. HP Superdome with 32-bit HP - UX operating system (we are unable to change to 64-bit as ETL tool does not support)
    Install the new Oracle 10 g on the new host database and move the data to it.
    Discover all the new features of 10gr 2 in order to data warehouse, i.e., introduction of Clause SQL TYPE, Parallel processing, partitioning, Data Pump, SPA to study the pre and post migration.
    Also at RAC to provide more better solution than our main motivation is to show an extraordinary performance improvement.
    I need your help to prepare a good roadmap for my assignment. Please suggest.

    Thank you

    Tapan

    Two major changes since the 9i to 10g which will impact performance are
    a. changes in the default values when executing GATHER_ % _STATS
    b. change in the behavior of the optimizer

    Oracle has published several white papers on them.

    Since 10g is no longer in the Premier Support, you'll have some trouble connecting SRs with Oracle Support - they will continue to ask you to use 11 g.

    The host will be the same platform, i.e. HP Superdome

    Why do you need export if you do not change the platforms? You could install 9.2.0.8 on the new server, the database clone and then level to 10 gr 2 / 11 GR 2.

    Hemant K Collette

Maybe you are looking for