help reqd with an advanced function of book of LucD

Hey all

Recently bought Luc relaxing book "Automating vSphere Administration" to help me understand how to create advanced (among others). I tried one of his scripts on pg 437 (Get-VMGuestDiskUsage) - as shown below. Problem is I have a few problems and I don't know what seems to be the problem. It could possibly be something very basic (but having worked on it for a week) I'm at the end of my home as to what it could be? Any help would be great appreciated ly

Problem 1) every time I try and entry of the virtual machines via the pipeline, be they of a txt file or a simple 'get - vm"command I get

Get-VMGuestDiskUsage cmdlet in the command pipeline position 1
Provide values for the following parameters:
(Type! help.)
VM
:

AND then


Cannot process the transformation of argument on the parameter "vm". Could not convert the "" value of type 'System.String' to type 'VMware.VimAutomation.ViCore.Impl.V1.Inventory.VirtualMachineImpl '.

I understand that it is because the input objects are of type "System.string" and what I need is a type of "VMware.VimAutomation.ViCore.Impl.V1.Inventory.VirtualMachineImpl". But his declared top so I do not understand?

Problem 2)

Where it is said $objDisk | Add-Member - MemberType Noteproperty-Name 'Use %' - value ('{0:p2}' f (($disk.capacity-$disk.))) FreeSpace) / $disk. Capacity))

There seems to be a problem with the DIVISION operator (this does not work when processed against the ($disk.capacity - $disk.freespace) value) I tried to get into things like 1 MB ', but every time I have replace their return with $disk.capacity I do not get the output? !!! ??

I know that it can be easy for the 'gurus' out there, but I realized how convenient these advanced features are, and as soon as I can get my head as to why this is happening, I hope I'll be able to improve what I learned a lot faster. I simply can't work and so desperately need your help. Why did I NOT?

The script is below and I copied exactly from the book (the only thing I added was a call at the bottom of the function of an entry by calling the real function (for example, Get-VMGuestDiskUsage)

Once again thanks a lot in advance for any help

Munster99

Function Get-VMGuestDiskUsage {}
< #.
. LOGBOOK
Gets a guest VM OS disk usage information
. DESCRIPTION
This function creates a report with the VM guest operating system disk usage information
. NOTES
Source: Automating vSphere Administration
Authors: Luc relaxing, Armin Van Lieshout, Jonathan Medd,
Alan Renouf, Glenn Sizemore
. VM PARAMETER
The computer object virtual to create a report on
. EXAMPLE OF
PS > Get-VMGuestDiskUsage - VM (get - VM Win *)
. EXAMPLE OF
PS > Get - VM | Get-VMGuestDiskUsage
# >

[CmdletBinding()]
(Param
[Parameter (mandatory = $True)]
ValueFromPipeline = $True
HelpMessage = "Enter a VM object")]
([VMware.VimAutomation.ViCore.Impl.V1.Inventory.VirtualMachineImpl] $vm)

{IN PROCESS
# Hide the errors that appear if VMware Tools is not installed
# or VM is PoweredOff
$ErrorActionPreference = "SilentlyContinue".

$vm = get - VM ($_)

{foreach ($disk in $vm.guest.disks)}
$objDisk = New-Object system.object
$objDisk | Add-Member - MemberType Noteproperty-VM name-value $vm.name
$objDisk | Add-Member - MemberType Noteproperty-name of Volume-value $disk.path
$objDisk | Add-Member - MemberType Noteproperty-CapacityMB name-value ([math]: Round($disk.capacity/1MB))
$objDisk | Add-Member - MemberType Noteproperty-FreeSpaceMB name-value ([math]: Round($disk.freespace/1MB))
$objDisk | Add-Member - MemberType Noteproperty-Name 'Use %' - value ('{0:p2}' f (($disk.capacity-$disk.))) FreeSpace) / $disk. Capacity))
$objDisk
}
}
}

Get-VMGuestDiskUsage

Remove the last line in the .ps1 file, then point the new .ps1 file source

. ./Get-VMGuestDiskUsage.ps1

Then, on the command line to do

Get-Command Get-VMGuestDiskUsage

That should tell you if the function is known to the PS engine once you point of origin of the .ps1 file.

If it is known, just do

Get - VM MyVM | Get-VMGuestDiskUsage

Tags: VMware

Similar Questions

  • help reqd with the cmdlet "get-customattribute.

    Hey all

    Can someone help me with the cmdlet above pls?

    What I'm trying to do, it is all simply do a search in our VC against some "custom attributes" and confirm the virtual machines associated with them.

    (i.e. custom attribute 'RED' has a servers VM called "SERVER1, SERVER2, etc.")

    I tried to find objects associated with this and all I get is the following objects:

    ServerId
    Server
    That is to say;
    Name
    TargetType
    UID
    Customer

    So, how can I use these to get something that again relates a servernames VM?

    As usual - thank you very much in advance for your help

    Munster99

    Of course, try it like that

    Get - VM | Get-Annotation - CustomAttribute "red" | Where {$_.} Value}

  • Help reqd with XPMode upgrade

    Hello

    I use Windows 7 Ultimate, 64-bit with VMWare 4.0.4 build-744019 some time ago, I've installed XPMode from Microsoft and converted the resulting virtual machine using VMWare VCenter Converter so I could run using the player that worked fine, but now I'm going to reinstall my Windows OS and intend to upgrade to version 5 Player please advise on the necessary steps, in particular

    What I have to install VMWare VCenter Converter version 5 and convert my existing machines to make them compatible with version 5 of the Player or can I continue to use the version 4 machines

    I have to install the converter as a Client Server, as was the case with version 4

    Ther are other things I need to know regarding the conversion of my old machines to the new format

    Is it then just a case of installation and running Player Version 5 and pick up the new machines

    What changes to these are, what if all I want to do is update my existing installation rather than make a new Windows Installer

    Thank you very much

    Mike

    Good vmware.log shows "DISKLIB-LINK: open"C:\Program Files\Windows XP Mode\Windows XP Mode base.vhd"" as well as "DRIVE: OPEN ide0:0. "F:\XPMode Images\WinXP_Plus_Delphi7Pro\Windows XP Mode.vmdk" "and this means that the virtual hard disk"F:\XPMode Images\WinXP_Plus_Delphi7Pro\Windows XP Mode.vmdk"is a linked clone and points to"C:\Program Files\Windows XP Mode\Windows XP Mode base.vhd"and this should be presented as" parentFileNameHint = "C:\Program Files\Windows XP Mode\Windows XP Mode base.vhd" ' in the 'F:\XPMode Images\WinXP_Plus_Delphi7Pro\Windows XP Mode.vmdk"disc DescriptorFile."  If you must back up the folders 'C:\Program Files\Windows XP Mode' and 'F:\XPMode Images\WinXP_Plus_Delphi7Pro' and restore them after the reconstruction in order to have a working VM without installing other then the new version of VMware Player and then upgrade VMware Tools when you run virtual machine under the new version.

  • In our Production, we can share the password of user of database 'Apps' with our consultants functional, although they would like to examine through fields by (help &gt; Diagnostics &gt; review) and here he asked the password of the user "APPS".

    In our Production, we can share the password of user of database 'Apps' with our consultants functional, although they would like to examine through fields by (help > Diagnostics > review) and here he asked the password of the user "APPS". We need to know the path where they can examine the field without knowing the password for user "apps".

    Check

    How to enforce password Protection to access the Menu help > Diagnostics > review? (Doc ID 1487534.1)

  • Need help with the analytical function select maximum and minimum of the results of the column

    Hey there OTN.

    I have an interesting application that I was hoping you would be able to help me with. I have a requirement to conditionally select the max and min of a column in bi-editor and since my editor works from an OBIEE analysis, I need store MAX and MIN of the column values in separate columns to match with. See the example below. You will notice that there are 4 stores including today's sales. I must have OBIEE through all the results of the column for sales, then choose the max of the dataset object. I can't use MAX here because he will choose the MAX of the line which will return only sales of this line. Instead, one must analyze all sales results and choose the appropriate column. Any idea on how to do this in OBIEE/publisher? Or is this not possible.

    Day Store Sales Sales of MAX Sales MIN
    05/11/15Store 1500080001000
    05/11/15Store 2750080001000
    05/11/15Store 3100080001000
    05/11/15Store 4800080001000

    I'm waiting for your answers. Thanks in advance!

    PS: I will always mark messages that are useful and eventually mark it as correct answer if we come to a resolution!

    See you soon.

    You can't do the same thing with RANK ("dirty")?

    Rank ("dirty") = 1: the max value in the result of sales

    RANK (-1 * "Sales") = 1: the min in the result of sales value

    I guess you can and then format the cells based on these values, where a value of 1 is the max or min according to the RANKING formula you used...

  • Help with packages and functions that it

    Hello, I need help with the package.
    I have two tables of the employee base (id, firstname, lastname, etc..) T1 and T2.
    What I need, it's a package and two features inside. First function reads the data from T1 and passes to the second function, where second function reads data from T2 and concatenates the data just read with data from function1 and data T1 + T2 function2 goes on the main program that displays this data.

    So far, I have:
    create or replace type emp_type as object
    (id number,
    firstname varchar(20),
    lastname varchar(20),
    salary number(9,2));
    
    create or replace type emp_type_table as table of emp_type;
    
    create or replace package my_package
    is emp_table emp_type_table:= emp_type_table();      -- *not sure if this line is correct*
    function get_T1_emp return emp_type_table;
    function get_T2_emp (T1_emp in emp_type_table) return emp_type_table;
    end my_package;
    
    -- *confusion begins*
    
    create or replace package body my_package as 
    function get_T1_emp
    return  emp_type_table as 
      emp_table emp_type_table:= emp_type_table();
    begin
         for i in (select * from T1) loop
             emp_table.extend;
             emp_table(emp_table.count):= (emp_type(i.id, i.firstname, i.lastname, i.salary));
          end loop;
        return emp_table; 
    end get_T1_emp; 
    - get_T1_emp function seems to be quite beautiful. At least it works separately
    function get_T2_emp (T1_emp in emp_type_table)
    return  emp_type_table  
      emp_table emp_type_table:= emp_type_table();
    begin
         for i in (select * from T2) loop
             T1_emp.extend;
             T1_emp(T1_emp.count):= (emp_type(i.id, i.firstname, i.lastname, i.salary));
          end loop;
        return T1_emp; 
    end get_T2_emp;
    end my_package;
    
    
    DECLARE
      v_Return emp_type_table;
      v_Return2 emp_type_table;
    BEGIN
      v_Return := get_T1_emp;
      v_Return2 := get_T2_emp(v_Return);
      for i in 1..2 loop
        DBMS_OUTPUT.PUT_LINE(v_Return2(i).id || ', ' || v_Return2(i).firstname || ', ' || v_Return2(i).lastname 
        || ', ' || v_Return2(i).salary || 'EUR');
      end loop;
    END;
    So basically I don't know about my tax package.
    Most important, I don't know how to write the get_T2_emp function. And also not very sure of my main function. Please can someone help my with my problem

    Published by: dber November 6, 2011 21:22

    Published by: dber November 6, 2011 23:38 added
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            

    Hello

    Here you go

    SQL> DROP TABLE t1;
    
    Table dropped.
    
    SQL> DROP TABLE t2;
    
    Table dropped.
    
    SQL> CREATE TABLE t1 (id NUMBER,
      2                   firstname VARCHAR2(100),
      3                   lastname VARCHAR2(100) );
    
    Table created.
    
    SQL> CREATE TABLE t2 (id NUMBER,
      2                   firstname VARCHAR2(100),
      3                   lastname VARCHAR2(100) );
    
    Table created.
    
    SQL> INSERT INTO t1  (SELECT 1,'SURI','DAMA' FROM dual
      2                     UNION ALL
      3                     SELECT 2,'SRINU','DAMA' FROM dual);
    
    2 rows created.
    
    SQL> INSERT INTO t2  (SELECT 3,'ABC','XYZ' FROM dual
      2                     UNION ALL
      3                     SELECT 4,'DEF','PQR' FROM dual);
    
    2 rows created.
    

    Package code

    
    SQL> CREATE OR REPLACE PACKAGE test_array_pkg
      2  AS
      3    TYPE test_array1 IS TABLE OF t1%rowtype  INDEX BY PLS_INTEGER;
      4    TYPE test_array2 IS TABLE OF t2%rowtype  INDEX BY PLS_INTEGER;
      5
      6    FUNCTION get_t1 RETURN test_array1;
      7    FUNCTION get_t2(p_t1 IN test_array1)
      8    RETURN test_array2;
      9
     10  END test_array_pkg;
     11  /
    
    Package created.
    

    Package body

     SQL> CREATE OR REPLACE PACKAGE BODY test_array_pkg
      2  AS
      3    t1_array1 test_array1;
      4    t2_array2 test_array2;
      5
      6    FUNCTION get_t1
      7    RETURN test_array1
      8    IS
      9
     10      n NUMBER :=0;
     11
     12    BEGIN
     13
     14     FOR i IN (SELECT * FROM t1)
     15     LOOP
     16
     17       t1_array1(n).id:= i.id;
     18       t1_array1(n).firstname := i.firstname;
     19       t1_array1(n).lastname := i.lastname;
     20
     21       n:=n+1;
     22
     23     END LOOP;
     24
     25     RETURN t1_array1;
     26
     27    END get_t1;
     28
     29    FUNCTION get_t2(p_t1 IN test_array1)
     30    RETURN test_array2
     31    IS
     32
     33      n NUMBER:=0;
     34
     35    BEGIN
     36
     37     FOR i IN p_t1.FIRST..p_t1.LAST
     38     LOOP
     39
     40       t2_array2(n).id:=p_t1(i).id;
     41       t2_array2(n).firstname:= p_t1(i).firstname;
     42       t2_array2(n).lastname := p_t1(i).lastname;
     43
     44       n:=n+1;
     45
     46     END LOOP;
     47
     48     FOR i IN (SELECT * FROM t2)
     49     LOOP
     50
     51       t2_array2(n).id:=i.id;
     52       t2_array2(n).firstname:= i.firstname;
     53       t2_array2(n).lastname := i.lastname;
     54
     55       n:=n+1;
     56
     57     END LOOP;
     58
     59     RETURN t2_array2;
     60
     61    END get_t2;
     62
     63
     64  END test_array_pkg;
     65  /
    
    Package body created.
    

    Main script

     SQL> declare
      2
      3     t1_result test_array_pkg.test_array1;
      4     t2_result test_array_pkg.test_array2;
      5
      6  begin
      7
      8    t1_result:= test_array_pkg.get_t1;
      9    t2_result:= test_array_pkg.get_t2(t1_result);
     10
     11    FOR i IN t2_result.first..t2_result.last
     12    LOOP
     13
     14      dbms_output.put_line(t2_result(i).id||' '||t2_result(i).firstname||' '||t2_result(i).lastname);
     15
     16    END LOOP;
     17
     18  end;
     19  /
    1 SURI DAMA
    2 SRINU DAMA
    3 ABC XYZ
    4 DEF PQR
    
    PL/SQL procedure successfully completed.
    
  • Need help with filterFunction with special character function

    Hello

    I am a simple/search filter process to a collection of dataGrid on the text with the filterFunction function entries. Is what I am facing problem in one of my column field (on which I'm filtering) point '. ' as a suffix and it is not included in the research process.

    I have a few values as - i_24., i_245., i_256.

    Now with the function current filterfunction when a user entered i_24. It shows another recording as well - i_245, where the expected input should be i_24. (since i_245 is not i_24.5)

    But it seems that the search function does not take point '. ' as a character in the research process, or at least when it is left as a suffix.

    I toilet maybe some RegExp could solve the problem, but I'm not good and more.

    Help, please.

    Thank you.

    Kind regards

    Shad

    aSuitableBoy,

    Use the 'indexOf' of the string method.  (http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/String.html#indexOf ()).
    The syntax is the following: "String (.)." indexOf ()

    Here's a little snippet of code that I have written, that works:

    http://www.Adobe.com/2006/mxml"layout ="absolute"creationComplete ="cc (); » >

    Import mx.controls.Alert;

    Import mx.collections.ArrayCollection;

    [Bindable] private var ac:ArrayCollection = new ArrayCollection();

    private void cc (): void

    {

    var o: Object = new Object();

    o.Field1 = "value 1: ';

    o.Field2 = 'i_24.';

    o.field3 = 'another value '. » ;

    ac.addItem (o);

    o = new Object();

    o.Field1 = ' value 2 ';

    o.Field2 = 'i_245.';

    o.field3 = 'another value '. » ;

    ac.addItem (o);

    o = new Object();

    o.Field1 = "value 3:";

    o.Field2 = 'i_256.';

    o.field3 = 'another value '. » ;

    ac.addItem (o);

    }

    private void filterFunc(o:Object):Boolean

    {

    return String (o.field2) .indexOf ("i_24."). = -1 ;

    }

    ]]>

  • Help with JDBC stored functions

    Hello.. Im having problems with my stored functions (java oracle), where I create the functions but then im I call them, it does not return any value (nothing happens after that I called my function). Can someone help me?

    Here's how to create the registered function:

    /************************************************** ****************/
    create or replace FUNCTION insert_client_func (a_client_name IN CLIENTS.client_name%TYPE)

    RETURN VARCHAR2

    IS


    BEGIN

    INSERT INTO CUSTOMERS (client_name)

    VALUES (a_client_name);


    Return a_client_name;

    END;
    /************************************************** *****************/

    Heres how I call it:

    /************************************************** *****************/
    name = "'" + name + "'";

    Command string = "{call insert_client_func("+name+")}";

    try {}
    String url="jdbcracle:thin:@localhost:1521e; »
    this.dbConnection = DriverManager.getConnection (url, "bd2009", "bd2009");
    System.out.println (Command);
    This.callstmt = This.DbConnection.prepareCall (command d);
    this.callstmt.registerOutParameter (1, Types.VARCHAR);
    this.callstmt.executeUpdate ();
    String simpleArray = this.callstmt.getString (1);
    System.out.println (simpleArray);

    this.dbConnection.commit ();
    This.callstmt.Close ();
    this.dbConnection.close ();
    }
    /************************************************** *****************/

    The syntax of your call is incorrect. For functions, it should be

    "{ ? = call insert_client_func (?)} »

    You can also use the syntax of PL/SQL

    ' BEGIN?: = insert_client_func (a_client_name =>?); END; »

    Then configure your settings

    this.callstmt.registerOutParameter (1, Types.VARCHAR);
    this.callstmt.setObject(2, );

    What is the data type of IN_CLIENTS.client_name?

    Call the function and retrieve the return value

    This.callstmt.Execute ();
    String value = this.callstmt.getString (1);

  • I need a little help with the INSTR function

    Hello everyone,

    im still new to pl sql and experienced an issue with the INSTR function. I need to analyze some values of a CLOB containing the xml code and use INSTR to determine the beginning and end of the value, I would like to analyze.

    the data I need is in a <!-[CDATA [[Some Text]]]-> block. up to this point, I managed to take the start of the word, but I can't seem to capture the end of the CDATA block. I use this statement:

    POS: = INSTR (TO_CHAR (input_clob) [,'] ', pos2 + 6, 1);

    but it doesn't have the desired effect. [It seems to sort of go back to the length of the string, while the]-sign is actually in the xml file. my result would look to "Some Text]]--> < xmlxml >... < / xmlxml >...» ». [I tried to escape by writing ' \] "but if I do, the function returns zero and my parsed string is left blank.

    Unfortunately I can't use regular expressions, because I work with oracle 9.2i. Anyone know what I'm doing wrong?

    Thank you

    Edited by: user8719779 the 25.08.2009 02:23
    with my_tab as (select ''||chr(10)||
                           '  '||chr(10)||
                           '   '||chr(10)||
                           '  '||chr(10)||
                           '' col1 from dual)
    -- end of mimicking your data; USE SQL below:
    select substr(col1, instr(col1, '', 1, 1) - instr(col1, '
    var overlapArray = new Array();  
    var myPages = app.activeDocument.pages.everyItem().getElements();  
      
    for(i=0; i<myPages.length; i++)  
    {  
        var myPgItems = myPages[i].allPageItems;  
        for(k=0; k<myPgItems.length; k++)  
        {  
         var bounds1 = myPgItems[k].geometricBounds;  
                for(j=0; j<myPgItems.length; j++)  
                     {  
                       var bounds2 = myPgItems[j].geometricBounds;  
                         if(k==j)  
                         {  
                             continue;  
                         }  
                        var temp = touches(bounds1, bounds2);                     
                        if(temp == true)  
                        {  
                            overlapArray.push(myPages[i].name)  
                        }  
                 }  
             }  
     }  
    alert("overlap Pages: "+overlapArray);  
      
    function touches(bounds1, bounds2)  
    {  
    if (bounds1[2] < bounds2[0]) return false;  
    if (bounds1[0] > bounds2[2]) return false;  
    if (bounds1[1] > bounds2[3]) return false;  
    if (bounds1[3] < bounds2[1]) return false;  
      return true;  
    }   
    

    Please help me with script or logic.

    Thank you in advance,

    Kitty

    Hi well,.

    all was needed was a line of code

    Array.prototype.intersect = function ( coordinates ) {
        var n = this.length;
        var nY1, nX1, nY2, nX2;
        var y1 = coordinates[0];
        var x1 = coordinates[1];
        var y2 = coordinates[2];
        var x2 = coordinates[3];
    
        while ( n-- ) {
            nY1 = this[n][0];
            nX1 = this[n][1];
            nY2 = this[n][2];
            nX2 = this[n][3];
    
            if (
                (
                    ( y1>=nY1 && y1<=nY2 )
                    &&
                    (x1>=nX1 && x1<=nX2 )
                )
    
                ||
    
                (
                    ( y2>=nY1 && y2<=nY2 )
                    &&
                    (x2>=nX1 && x2<=nX2 )
                )
    
            ){
                return true;
            }
        }
    
        return false;
    }
    function reportOverlaps() {
        var doc,gs, g, n, o = {}, p, pg, pb, lk, lkn, overlaps = [];
    
        if (!app.documents.length) return;
    
        doc = app.activeDocument;
    
        gs = doc.allGraphics;
    
        n = gs.length;
    
        while ( n-- ) {
            g = gs[n];
            p = g.parent;
            pg = p.properties.parentPage;
            if ( pg instanceof Page ) {
                pb = p.visibleBounds;
    
                lk = g.itemLink;
                lkn = lk.name;
    
                if ( !o[pg.name] ) {
                    o[pg.name] = o[pg.name] || {};
                }
    
                if ( !o[pg.name][lkn] ) {
                    o[pg.name][lkn] = o[pg.name][lkn] || [];
                    o[pg.name][lkn][ o[pg.name][lkn].length ] = pb;
                }
                else {
                    var intersect = o[pg.name][lkn].intersect ( pb );
                    intersect && overlaps[ overlaps.length ] = "Pg:"+pg.name+"//"+lkn;
                    o[pg.name][lkn][ o[pg.name][lkn].length ] = pb;
                }
            }
        }
    
        alert( overlaps.length? "Following overlaps where found:\r"+overlaps.join('\r' ) : "No overlaps found" );
    }
    
    reportOverlaps();
    

    Loïc

    www.ozalto.com

  • Problems with the sound function and scrolling on the touchpad on my Satellite A500/026

    Hello

    I just brought a new laptop A500/026 and when I play music from my ipod I get a little static pop sound at regular intervals during the song... this happens on all my music. I accidentally scroll horizontally through my touhpad and my screen minimizes or maximizes. I try to find how I did it, but can never seem to return to its normal state. There is obviously some sort of function here, can someone help me with it? I installed the x 64 bit version of windows 7.

    Thank you

    Eddie

    Hello

    The touchpad settings are placed in Control Panel-> mouse
    You can find the additional tab which would be you can access touchpad properties.

    As I know the touchpad properties contains many different options that allows you to configure the scrolling function, to activate and assign different actions to the touchpad corners, etc.

    Check it!

  • Satellite Pro A300 - 1 GR - VGA ports with TV-out function?

    Hello

    Can someone tell me if the VGA port on my Satellite Pro A300-1 (Mobile Intel GMA 4500MHD) is equipped with TV-out function?

    If a single cable is needed to connect with TV's S-video input while a TV-out function is not available, then a relatively expensive converter is necessary?

    Any help will be greatly appreciated.

    Have you checked the user manual?
    What is the manual says?

  • Help please with BSOD

    BSOD desktop computer:

    "The problem seems to be caused by the following file: TDI." SYS PAGE_FAULT_IN_NONPAGED_AREA technical information: STOP: 0 x 00000050 0xB9F6A1D0, 0 x 00000001 0xB9c5of4A TDI 0x00000000. SYS address B9c5of4A base at B9c50000, Date Stamp 48025834 physical memory dump complete. »

    What should do?

    We need the DMP file because it contains the single record of the sequence of events that led to the accident, what drivers have been loaded, and what has been loaded.

    If you are overclocking STOP

    You may be able to get the DMP files without crashing by booting in SafeMode (F8) with networking.

    Please follow the instructions for posting at this link

    To allow us to help you with symptoms BSOD on your computer, download the contents of your folder "\Windows\Minidump".

    The procedure:

    * Copy the contents of \Windows\Minidump to another location (temporary) somewhere on your machine.
    * Zip up the contents of this folder
    Please, upload to skydrive or a file sharing service and put a link to them in your next post.

    To ensure the minidumps are enabled:

    * Click Start, in the search box, type: sysdm.cpl, press ENTER.
    * On the Advanced tab, click Startup and recovery... Settings button.
    * Make sure that automatically restart is unchecked.
    * Under the writing debugging information header, select image partial memory (256 KB) in the list box drop-down (varies from 256kb).
    * Ensure to that small Dump Directory is listed as % systemroot%\Minidump.
    * OK your way out.
    * Reboot if changes have been made.

    http://www.SysNative.com/forums/showthread.php/325-BSODs-but-no-dump-files

    http://www.osronline.com/article.cfm?article=545

  • This question is about programming in C. you please help me with a question that is.

    This question is about programming in c. can you please help me with an issue that is -

    Why do we write - printf ("r = c = %d %d sum = %d\n", sum c, r,);

    What we're trying to accomplish here by writing this.

    I also wanted to know why we write things within double quotes.

    The book programming in C I have, gave no information on this subject.

    The way if statements can be nested, of same whiles and fors can

    also be nested. To understand the nested loops how to work, watch the

    program below:

    / * Demonstration of nested loops * /.

    (main)

    {

    int sum c, r,

    for (r = 1; r<= 3="" ;="" r++="" )="" outer="" loop="">

    {

    for (c = 1; c<= 2="" ;="" c++="" )="" inner="" loop="">

    {

    sum = r + c;

    printf ("r = c = %d %d sum = %d\n", sum c, r,);

    }

    }

    }

    When you run this program, you will get the following result:

    r = 1 c = 1 sum = 2

    r = 1 c = 2 sum = 3

    r = 2 c = 1 sum = 3

    r = 2 c = 2 sum = 4

    r = 3 c = 1 sum = 4

    r = 3 c = 2 sum = 5

    In short, in C, a string enclosed in double quotation marks is replaced by a pointer to character to this string somewhere in memory.  The first parameter of a call to printf() is a pointer to the format string and the following parameters replace the % {(quoi que) the characters that appear in the format string.}  %d represents a whole argument of printing.

    HTH,

    JW

Maybe you are looking for

  • Drive SuperMulti Blu - ray

    I was looking to buy HP Envy Desktop 700-019. It indicates that the optical drive is a "SuperMulti Blu - ray Player". The SuperMulti Blu - ray player also burn DVDs and CD as well to play Blue Ray discs?

  • AutoFill on Satellite phone

    My laptop auto fills all the boxes that requires any entry with the entry several times of number 1. When I try to log on to my laptop, the password box automatically fills the password with 1 and keeps repeating. This also happens with Web pages, e-

  • L9L24AA #ABA Model 23q067C: new don't lodge no printer Wi - Fi and sound installation

    Buy HP Pavilion 23q067C.  Installed Windows 10 is connected to the internet. #1.  No noise at all.  Not on mute. Is there something that I need to activate or install to the sound? #2.  I have a HPJ6480c wireless printer but cannot figure out how to

  • HP laptop: find the model and serial number

    I'm trying to place the model and the serial number I can order some new keys as the letters are worn.  I looked everywhere in the machine, including removing the battery. Doesn't seem to give enough information, according to the order made multiple

  • my volume icon is missing after uninstalling some programs inadvertently. What should do?

    When trying to uninstall a program, I uninstalled inadvertently something else. Apparently has something to do with the sound icon. According to the constructor for the audio endpoint Microsoft.either audio, Windows or Windows does not work.