detailed report of psp and host ATAS

Hi guys,.

I am trying to create a script that will describe in detail below.

ATAS DefaultPSP ESX host

testesxhost fixed VMW_SATP_SYMM

I got the esxcli commands to connect and to question but having problems with the output.

Any help would be appreciated.

$test = @)


{foreach ($esxcli in Get-EsxCli)
$details = "" | Select-Object host, ATAS, PSP

$symsatp = $esxcli.nmp.satp.list () | Where-Object {$_.name - eq "VMW_SATP_SYMM"} | Select-Object name
$sympsp = $esxcli.nmp.satp.list () | Where-Object {$_.name - eq "VMW_SATP_SYMM"} | Select-Object defaultpsp

$details.satp = $symsatp
$details.psp = $sympsp
$test += $details
}

$test

to connect-VIServer-server 'xxx' - username "xxx" - password "xxx".
$user = "root".
$pswd = "xxx".
$vmhost = get-VMHost
$report = @)
$oldConfig = get-PowerCLIConfiguration
Game-PowerCLIConfiguration - DefaultVIServerMode "Multiple" - confirm: $false | Out-Null
{foreach ($esx in $vmhost)
$esxConnect = connect-VIServer-Server $esx.name - user $user-password $pswd
$esxcli = get-EsxCli-Server $esxconnect
$defaultpsp = ($esxcli.nmp.satp.list () | where {$_.name - eq "VMW_SATP_SYMM"}) .defaultpsp
$row = select-Object - InputObject $esx, $defaultpsp-property @{"Name" = 'ESXHost'; {'Expression' = {$esx.name}}.
@{'Name' = 'HOME'; "Expression" is {"VMW_SATP_SYMM"}},
@{"Name" = 'DefaultPSP'; "Expression" = {$defaultpsp}}
$report += $row
                  
Disconnect-VIServer-Server $esx. Name - confirm: $false
}
$report | Export-Csv "C:\satp_psp.csv" - NoTypeInformation - UseCulture
Game-PowerCLIConfiguration - DefaultVIServerMode $oldConfig.DefaultVIServerMode - confirm: $false | Out-Null

Tags: VMware

Similar Questions

  • Detailed report of Master - by using the checkboxes and jquery

    I need to report master detail of 2 levels.

    The requirements of detailed report Master

    1. when users are visiting the first time on this page all departments have to display.

    2. the first line box should be checked by default.

    3. all employees of the Department Checked (selected) must be posted.

    4. the first line box must be checked.

    5. all the addresses checked employee must be posted.

    6 at a given time that a single checkbox should be checked.

    7. If United Nations a user controls check, he doesn't have to. If
    another checkbox in this report is verified previous activated box must
    be deselected

    8 if the top of the page master record (Dept) is modified, then all children reports must be refreshed.

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

    Example:

    The master first report displays a tabular report with a Checkbox, check out a query for the report of the departments.

    SELECT
    DEPTNO,
    APEX_ITEM. CheckBox (2,
    DEPTNO, "class = 'deptnochk" ')
    DEPTNO_LINK,

    DNAME, LOC
    OF THE DEPARTMENT

    -The child report shows the employees of the audited Department.

    SELECT

    EMPNO,

    APEX_ITEM. CheckBox (2,

    EMPNO, "class = 'empnochk" ')

    EMPNO_LINK,

    ENAME, JOB,

    MGR, HIREDATE, SAL,

    COMM, DEPTNO

    FROM EMP WHERE DEPTNO =: P67_DEPTNO

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

    The third report is like a big kid of the Department and of the Emp.

    SELECT

    EMPNO, ADD1, DEPTNO

    EMP_ADDRESSES WHERE DEPTNO =: P67_DEPTNO AND EMPNO =: P67_EMPNO

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

    I used jquery to refresh the reports. But it is not working properly. Created a demo application

    https://Apex.Oracle.com/pls/Apex/f?p=45925:1:11600119458562

    Please help to make it work.

    Thank you

    Satya

    In case anyone is still interested I've set up two demonstrations.

    A demo of different ways to select a line.

    And a demo of a refresh of master retail. With the selection of the first row on the updating of the report.

    Nicolette

  • Unable to display the results of a detailed report or the results of a questionnaire which is inbedded in the project.  I checked the preferences of quiz and enabled for the draft declaration.  I use SCORM 1.2.  My LMS is not listed (MCN) and so I chose '

    Unable to display the results of a detailed report or the results of a questionnaire in a bed within the project.  I checked the preferences of quiz and enabled for the draft declaration.  I use SCORM 1.2.  My LMS is not listed (MCN) and so I chose 'other LMS standard.  Any ideas on why I see the results?

    Publish your SCORM SCORM Cloud and test if it will show you the results you want.  If so, then your problem is with your LMS.  If this is not your problem may be due to something in the settings of your current project.  Eliminate one thing at a time.

  • Difference between Master detail report and Drill Down

    Hello

    I want to know the difference between Master detail report and Drill Down. I'm confused about their use. Can inform you when to use what?

    Help appreciated

    Pradeep

    You must first help yourself by searching instead of these initial questions.

    Master in detail:
    As a condition of purchase order. The master is arrested in detail, and the details are elements...

    Dril Down:
    As the opening of report the report as hyperlink for more details...

    -Clément

  • Where to put the report server ip and port for the Siebel server?

    Hello

    Where to put the report server ip and port for the Siebel server? I have checked the document "Reports Siebel Guide" but does not know where is the configuration section ' ip address of the server and port ' for 'Oracle BI Publisher.

    Note: I have installed BI Publisher, now necessary to define the ip editor and siebel server port.

    Please help, thanks.

    Hello

    Communication between Siebel and BEEP coming through webservices. You must set the Siebel Outboundwebservice 'PublicReportService' address to address BI Publisher.

    Similarly, the address of the webservice Siebel Inbound 'BIPSiebelSecurityWS' will be used by BEEP setting under the security model of Siebel - Siebel end Webservice poin of connecting to Siebel EAI, data inorder of success authenticate the Siebel user to perform the tasks of report being initiate Siebel UI.

    Please go through the integration document attached to the thread "Re: ADVISE WEBCAST: BI Publisher 11g Configuration with Siebel", it is any integration Siebel with BEEP 11g steps. " But if you go through each step, there are details about why we do it. Through this way you can better understand the integration.

    I hope this helps.

    Thank you
    Maria

  • OBIEE 11 g: get incorrect results when you browse detailed report summary.

    Hello

    I get incorrect results when you browse detailed report summary.

    Please find the attached document, I have gives step by step with screen shots.

    Please let me the problem and the solution.

    Kind regards

    Srinivas.

    1. What are you going through the link of action, only pass you the values (between 61 and 65) and Total, are

    If so that the parameter value will not restrict your report in detail, try filterout gender and age (between 61 and 65) group through action link.

    2 Total, to filter only the sex,

    Concerning

    Rajagopal.

  • Need your inputs in preparation 'Billing details report' in oracle receivables

    Hi people, I'm new to oracle financial Modules. Can someone please help me to get the report query or the tables together to develop the "Oracle billing Details" report claims account oracle. The report should also look at the settings and at the level of the invoice amount. (Not at the level of the line) Would be great if someone can help me learn. Thank you people. Raghu cordially

    Hey guys, I could solve this problem. I developed the report. May be useful to some new bies. SELECT RCT.customer_trx_id AS ORACLE_INVOICE_NUMBER, RCT.attribute1 AS SFM_BILL_NUMBER, RCT.trx_date AS APS.amount_due_original AS INVOICE_AMOUNT, APS, TRANSACTION_DATE. AMOUNT_DUE_REMAINING as BALANCE_DUE, APS.amount_adjusted AS ADJUSTMENTS, ACR.receipt_date AS RECEIPT_DATE, ACR.receipt_number AS RECEIPT_NUMBER, ACR.amount AS RECEIPT_AMOUNT, ARM.name AS RECEIPT_METHOD, ACR.attribute1 AS OMNI_TRANSMITTAL, HCA_BILL.account_name as PAYEE_NAME, substr(HCA_BILL.orig_system_reference,1,4) AS SFM_PAYEE_NUMBER, HCA_SHIP.account_name as SUPPLIER_NAME, substr (HCA_SHIP.orig_system_reference, HCA_BILL.account_number BILL_ACCOUNT_NUM (1.4) AS SFM_SUPPLIER_CODE, RCT.attribute4 AS CONS_BILL_NUMBER, RTT.name AS PAYMENT_TERMS, HCA_SHIP.account_number AS SHIP_ACCOUNT_NUM, RCT.attribute6 AS CALC_PERIOD FROM ra_customer_trx RCT, ra_customer_trx_lines RCTL, ra_cust_trx_types RTT, ar_payment_schedules APS, ar_receivable_applications ARP, ACR, ar_receipt_methods ARM, hz_cust_accounts HCA_BILL ar_cash_receipts , hz_cust_accounts HCA_SHIP, ra_batch_sources RBS WHERE RCT.customer_trx_id = RCTL.customer_trx_id AND RCT.cust_trx_type_id = RTT.cust_trx_type_id AND RCT.customer_trx_id = APS.customer_trx_id AND APS.payment_schedule_id = ARP.applied_payment_schedule_id (+) AND ACR.cash_receipt_id (+) = ARP.cash_receipt_id AND RCT.complete_flag = 'Y' AND RCT.receipt_method_id = ARM.receipt_method_id AND RCT.bill_to_customer_id = HCA_BILL.cust_account_id AND RCT.ship_to_customer_id = HCA_SHIP.cust_account_ ID AND RBS.batch_source_id (+) =. RCT.batch_Source_id AND RCT.trx_date BETWEEN: P_FROM_DATE AND: P_TO_DATE AND rbs.name in (NVL (: P_INVOICE_SOURCE, 'GDF')) ORDER BY RCT.customer_trx_id, RCT.trx_date, ACR.receipt_number

  • the detailed report based on the selected value

    Hello experts,

    I use 10g obiee.

    I have a requirement were on the dashboard there are 4 guests say product, region, year, color.

    All are select muli-value prompt.

    on the dashboard, there is a synthesis report that reflects the value according to the selected data from the command prompt. His work so far.

    Now below the customer wants a link that has the title of 'detailed report '. When they click the hyperlink, they want to see detailed but it show only the values selected in the command prompt.
    They claim as detail as there are more number of columns found in the report detail than the summary report following.

    Can we can suggest me how to achieve in 10g.

    Thanks a lot for your help.

    Hello

    Just add your detailed report to the dashboard as a link or an Image and keep the required columns, you are invited into the report. It should work.

    Thank you
    Gerard

  • Created a client to the MUSE website and hosted British Colombia – can't understand how my client can make changes to their site as there is no link PAGES... help!

    I created a site for a client using MUSE and hosted on Business Catalyst (set properties editable site) but when my client connects to his account of BC, she doesn't have access to change its site - apparently there should be a tab that says 'pages' that she can edit, but there are no "pages" link and I don't know where to go from here...

    Hello

    In the Admin, your right hand side top panel, mouse over your name and go to 'my details '. You will see a check box "Enable online content editing. Check this box, click on save and logout. Connection again and goto site manager, you will see more options like file manager

    You must repeat this process for all users admin ask them to connect and repeat this process.

  • Need details on the tablespace and storage used by the queue oracel

    Hi all

    I'm working on the lines of the Oracle. I need some details about the storage space of the queues.

    1. is it mandatory that we have space separate for the queue table? What will happen if we run out of table space? Lose us data?
    2. how much storage space is required for a queue of the oracle?

    Please suggest me on this.

    Hello

    946965 wrote:
    1. is it mandatory that we have space separate for the queue table? What will happen if we run out of table space? Lose us data?

    No - it is not necessary to separate queue objects, you can do however purely for the simplicity of space management, but is certainly not a requirement. Space missing in a storage space for a queue is not different to press space to a normal process - Oracle will trigger an error ("ORA-xxxxx cannot extend... ") and the process trying to NQ to the queue will fail or do what it has been coded so that error." So, if your code NQ did something stupid mistake so I guess it's possible loss of data in case of error (not only exhausted space) but in general I'm expecting the process to report the error and stop.

    946965 wrote:
    2. how much storage space is required for a queue of the oracle?

    It is depends entirely on how you plan to use the queues, queues are not generally intended for long-term data storage, they do not perform well for this - they work better with the message in. message on (enqueue | dequeue) so unless you intend to leave messages in the queue for long periods of time I expect no significant space consumption. But only you guys can really work it to according to the type of user data and how long messages remain in the queue.

    There are some useful notes on My Oracle Support on the management of the space occupied by the queues which is very important for performance, for example
    How can I reduce the high watermark (HWM) of advanced queue objects? (Doc ID 421474.1)

    Hope this helps,

    Paul

  • master detail report

    I want to create a master detail report using CF 10 generator, but I can't find the option.

    I would like to know do I insert a sup in detail band report to generate the master details report.

    If this is not the case, can you please indicate what is the procedure to build the master details report by using CF 10 generator.

    Your information and help is much appreciated,

    Kind regards

    iccsi,

    iccsi wrote:

    I would like to know do I insert a sup in detail band report to generate the master details report.

    Yes.

  • Master - detail reports

    Hi, Im currently produces a report of which the data are obtained from 2 views I created on the database. We can look at this as a relationship master detail. Basically I have a view with details of staf and views with all the details of the client. 1 staff member can have many clients asociated with them. This is related to a reservation id. If the staff and clients have the same reservation id they are so related.

    I have implemented this in the reports in the following way:


    I have a nonrepeating framework encapsulating everything. then this frame is divided into a left and right, the left side is an extensible framework with the details of the staff and the right side is an extensible framework with the details of the client.

    I want to be able to see is the details of staff then beside that the details of the customer like this:

    (.' are spaces - just used to show the layout)

    staff ID | staff name. staff * | staff * client id | name of the customer. customer * | customer *.
    .............................................customer id | name of the customer. customer * | customer *.
    .............................................customer id | name of the customer. customer * | customer *.

    But as I have at the minute im just get:

    staff ID | staff name. staff * | staff * client id | name of the customer. customer * | customer *.
    staff ID | staff name. staff * | staff * client id | name of the customer. customer * | customer *.
    staff ID | staff name. staff * | staff * client id | name of the customer. customer * | customer *.

    They do not seem to be linked is there a way to link the master details? I have already created the relationship in the querys etc. my problem, I feel lies in the way I set up the report, its basically just go to each view and bring back the reguardless of the relationship data.

    Any help would be much appreciated.

    Thank you.

    Published by: user13390506 on March 7, 2011 04:23

    Published by: user13390506 on March 7, 2011 04:24

    Have you tried simply to encapsulate the retail block in the extensible framework of the master block?

  • Master / detail REPORT (FORM no)

    I use 4 APEX and want to create a master / detail REPORT (not a FORM) and can't seem to format as I want. For each record in my MASTER table that I want to print a few fields of her on the first line, followed by one or more records in the SECONDARY table on the following lines. It is easy to do as a form, but I want it on a web page as text only report. Any suggestions would be appreciated, other that "read the manual". Already tried.

    So my desired output would look like this:

    MASTER NAME: XXXXXX MASTER ADDRESS: CITY OF MASTER XXXXXX: XXXXXX

    RETAIL RETAIL QTY. ONLINE RETAIL PRODUCT
    1 XYZ 10
    2 ABC 20

    NAME OF THE MASTER: YYYYYY MASTER ADDRESS: YYYYYY MASTER CITY: YYYYY

    RETAIL RETAIL QTY. ONLINE RETAIL PRODUCT
    3 DEF 30
    4 GHI 40

    It is an area of APEX where a few feature improvements would make the very nice end statement. In the meantime, you can write your own reporting process in a region of PL/SQL easily, consisting of two loops: one for master records and one for children. You will have to expose the area using HTML, but since control you it can look as you wish. I did something similar with this code:

    create or replace PROCEDURE PROC_TONMILERPT(dt1 DATE, dt2 DATE, c NUMBER)
    as
      dt_from    DATE           := dt1;
      dt_to      DATE           := dt2;
      cust       NUMBER         := c;
      ttl_dys    NUMBER;
      cursor c_proj is select ORG_ID, ORG_NM from ORG_ENTITIES
                        where CUSTOMER_ID = cust
                          and ORG_ID NOT IN (200,300,400,500,600,700,800,900);
      v_org      NUMBER;
      v_orgnm    VARCHAR2(47);
      cursor c_rpt is select STN, MILES, SUM(TTL_WT)
                from (select s.SHORT_NM||'-'||j.PILE_CODE_ALT_FLAG as STN, r.CYCLE_MILES/2 as MILES,
                             SUM(CASE WHEN w.SPOT_WEIGHT = 0 THEN NVL(j.MAN_SPOT_WT,0)
                                      ELSE w.SPOT_WEIGHT
                                      END) as TTL_WT
                        from TC c, TC_LOAD_JOBS j, STATIONS s, LOAD_RATES r, SPOT_WEIGHTS w
                       where c.TC_ID = j.TC_ID and j.LOAD_RATE_ID = w.LOAD_RATE_ID
                         and w.DATE_INDEX = c.DATE_INDEX
                         and j.LOAD_RATE_ID = r.LOAD_RATE_ID
                         and FN_STN_KEY(j.FACTORY_ID,j.STATION_ID) = s.KEY_ID
                         and c.DATE_INDEX BETWEEN dt1 and dt2
                         and j.FACTORY_ID = v_org
                       group by s.SHORT_NM||'-'||j.PILE_CODE_ALT_FLAG, r.CYCLE_MILES
                       union
                       select s.SHORT_NM||'-'||j.ALT_FLAG as STN, r.CYCLE_MILES/2 as MILES,
                              SUM(DECODE(j.AVG_SPOT_WEIGHT,0,j.ACT_SPOT_WEIGHT,j.AVG_SPOT_WEIGHT)) as TTL_WT
                        from TC_3RDPARTY c, TC_3RDPARTY_JOBS j, STATIONS s, LOAD_RATES r
                       where c.TC_ID = j.TC_ID and j.LOAD_RATE_ID = r.LOAD_RATE_ID
                         and FN_STN_KEY(j.FACTORY_ID,j.STATION) = s.KEY_ID
                         and c.DATE_INDEX BETWEEN dt1 and dt2
                         and j.FACTORY_ID = v_org
                       group by s.SHORT_NM||'-'||j.ALT_FLAG, r.CYCLE_MILES)
                group by STN, MILES
                order by STN;
      x_fact     NUMBER;
      x_stn      NUMBER;
      x_stn_nm   VARCHAR2(47);
      x_alt      VARCHAR2(7);
      x_rt       NUMBER;
      x_mls      NUMBER;
      x_tons     NUMBER;
      x_lds      NUMBER;
      x_tnmls    NUMBER;
      z_tnmls    NUMBER      := 0;
    BEGIN
      ttl_dys    := dt_to - dt_from;
      htp.p('');
          htp.p('');
              htp.p('');
          htp.p('');
          htp.p('');
      htp.p('
    Ton Mile ReportTransystems
    From '||to_char(dt_from,'MM/DD/YYYY')); htp.p(' To '||to_char(dt_to,'MM/DD/YYYY')||'
    '||ttl_dys||' day period
    '); OPEN c_proj; LOOP FETCH c_proj into v_org, v_orgnm; EXIT WHEN c_proj%NOTFOUND; htp.p('

    '||UPPER(v_orgnm)||'

    '); --Project Work htp.p(''); htp.p(''); htp.p(''); htp.p(''); htp.p(''); x_tnmls := 0; OPEN c_rpt; LOOP FETCH c_rpt into x_stn_nm, x_mls, x_tons; EXIT WHEN c_rpt%NOTFOUND; z_tnmls := z_tnmls + x_mls*x_tons; x_tnmls := x_tnmls + x_mls*x_tons; htp.p(''); htp.p(''); htp.p(''); htp.p(''); END LOOP; CLOSE c_rpt; htp.p('
    PileTon MilesTonsLoaded Miles
    '||x_stn_nm||''||to_char(ROUND(x_mls*x_tons,0),'999G999G999')||' '||to_char(ROUND(x_tons,2),'999G999G999D99')||' '||x_mls||'
    '); htp.p('

    Total for '||v_orgnm||' - '||to_char(ROUND(x_tnmls,0),'999G999G999')); htp.p(' Ton Miles and '); htp.p(to_char(ROUND(x_tnmls/ttl_dys,0),'999G999G999')||' Average Ton Miles per Day

    '); END LOOP; CLOSE c_proj; htp.p('

    Customer Totals - '||to_char(ROUND(z_tnmls,0),'999G999G999')); htp.p(' Ton Miles and '); htp.p(to_char(ROUND(z_tnmls/ttl_dys,0),'999G999G999')||' Average Ton Miles per Day

    '); END;

    I created it as a procedure because the APEX limits you to only 32K of a character value in a region. If you do a lot of formatting, it can eat up hastily. Of more, that way I don't have to change the procedure to change the output, not the page APEX itself.

    Oh, and here's the code for the region of PL/SQL:

    begin
      PROC_TONMILERPT(to_date(:P1345_DATE_FROM,'MM/DD/YYYY'), to_date(:P1345_DATE_TO,'MM/DD/YYYY'), :P1345_CUSTOMER);
    end;
    

    You will notice that it accepts parameters from a region of "filters" to determine the results.

  • CP4 > SCORM > Moodle... unable to get detailed reporting.

    Hello

    I am new to use Moodle as an LMS, and have put in place in order to be able to obtain detailed reports of a simulation of CP4 using SCORM reporting.

    I created a module of basic test, downloaded successfully on Moodle and were able to go through the simulation successfully... the problem is that I can't find all the data!  Moodle is only show that the module has been met, no detailed data as I expected.

    I have the following settings enabled in Quiz preferences:

    http://img.skitch.com/20090728-jynm9dtqickx7x9ds4g6nufuqq.jpg

    Then I boxes click on set like this:

    http://img.skitch.com/20090728-buxsb3iatg3h6kdseg7sa373sj.jpg

    My expectation was that I could download it in Moodle and be able to access a detailed report indicating if users had to click on the object, etc.

    However, the only report I can find in Moodle is one that shows that the course was completed, but no results of the quiz?

    Any ideas?

    Thank you, Matt.

    In Quiz preferences-> reports, just make sure that 'Interactions and Score' is checked for level reporting.

    After taking the test in moodle, left for the course. Usually on the upper right corner, you will have the link to see the results. You must click on the number of attempt to see the detailed report. Hope that helps...

  • Summary of detailed report parameter passing

    Hello

    I have a summary report that contains the ID. By clicking on the ID led ot detail report. However, the setting remains on the detailed report. I also want to enable the display stand alone of the rpeort of detail. How this can be done?


    Concerning

    User,

    What is your name?

    You can move the parameter or article to the detail page. Perhaps change to something hidden (if that's the case) to a visible item that users could select from. Then all is implemented what you do when you come to the summary the retail value of this element.

    Note If the modification of the pages element you want to change the name of the element and therefore any reference to it. To ensure that you don't miss anything you will need to run the application even if Patrick APEX Essentials: http://www.inside-oracle-apex.com/apex-essentials/ (this will be integrated into the APEX 4)

    Kind regards
    Dan

    Blog: http://DanielMcGhan.us/
    Work: http://SkillBuilders.com/apex/

Maybe you are looking for

  • Difficulty communicating with a GPIB instrument using VISA

    Hi all I am trying to create a Subvi allowing communication between a computer and a spectrometer to MS260i. This is an old spectrometer and can only be interfaced via GPIB or RS232. I chose to use a GPIB-USB-HS adapter to connect it to the computer.

  • Lenses for a digital camera

    I have two cameras Canon EOS one is a Rebel G the other is momentum 7 G. I am interested in a digital camera. I would use all my lenses on the new camera. All the digital camera will accept all my lenses?

  • Prevent viewport scrollbar outside

    Hi guys,. my application adjusts automatically to 100% of the width and height of the device. As needed my application incorporates scrollables DIVs for the greater content. But still: If the user calls top-down or bottom-up anywhere in my applicatio

  • Highway express 2000europe

    Microsoft Windows 7 operating software. I installed Works Suite 2000 but can't use the Express2000Europe highway. So frustrating to find that I can't use s/ware perfectly good and useful because I upgraded from Windows XP to Windows 7. Is there anyth

  • Windows 8 Blue Screen of Death

    Hi, I bought a computer with Windows 8 a month ago. In the last two days I started to have BSD with 3 error messages: Bad_Pool_Caller, lack of control of kernel security and corrupted driver, with the first two CARNIANI restart my computer and one st