Get information about comments in the table

Hi you! I use this:

Get - VM | Select Name,VMHost,NumCPU,PowerState,MemoryMB,@{N="Datastore; E={$_ | Get-Datastore}}

Output:

Name: pvmlxxxx
VMHost: php00xxxr
NumCpu: 2

PowerState: receiving

MemoryMB: 8192

Data store: VNXSxx

I need this output in . HTML:

Name | VMHost | NumCpu | PowerState | MemoryMB/GB | Data store

Any can help me on this subject?

TKS Carlos

Try this

Get-VM | Select Name,VMHost,NumCPU,PowerState,MemoryMB,@{N="Datastore"; E={$_ | Get-Datastore}} | ConvertTo-HTML | Out-File report.html

You can of course produce a very elaborate HTML output by using the ConvertTo-Html cmdlet parameters and using style sheets (CSS).

See, for example, By using the ConvertTo-Html Cmdlet

Tags: VMware

Similar Questions

  • OSD-04011: GetFileInformationbyHandle() failure, unable to get information about the file

    Hi all

    I try to get my ORACLE ASM (v 11.1.0.7) software works on Windows Server 2008 Standard SP2 (32-bit), but unfortunately, I hit the next windows operating system error with no resolution in sight.

    OSD-04011: GetFileInformationbyHandle() failure, unable to get information about the file
    S/O-error: incorrect function (OS 1)

    Basically ORACLE software try to read the header information of a partition of existing online RAW drive. According to the error made ORACLE unrecognized function call. How can I make this feature available? Need help ASAP please.

    http://www.Microsoft.com/windowsserver2008/en/us/community.aspx

    They will help you in Windows Server communities at the above address.

    Here is the Vista Forums.

    See you soon. Mick Murphy - Microsoft partner

  • Songs disappearing; error message: "unable to listen to a number of files queued. To get information about the problem, click on the icon next to each file in the list pane. »

    I get this error message: "unable to listen to a number of files queued. To get information about the problem, click on the icon next to each file in the list pane. "The thing is that he played the songs darned two days ago, what has happened since then!

    Never mind. I totally forgot that I had renamed a folder that hosts my music. Duh.

  • Get information about the VM name, owner, State of the Machine and tools State

    Hello

    I want to write a script to get information about the name of VM, owner, status of the Machine and tools State, because I'm a beginner in powershell I couldn't find any solution yet.

    I know how to get the name of the virtual machine and the owner

    Get-VM | Get-Annotation -CustomAttribute Owner | select AnnotatedEntity, Value
    

    and how to find the tools and the State of the machine

    Get-VM | Select-Object -Property Name,@{N="State";E={$_.Guest.State}},@{N="ToolsStatus";E={$_.Guest.ExtensionData.ToolsStatus}}
    

    Unfortunately I don't find a way to merge the two applications.

    Can someone help me please?

    Kind regards.

    SaPu

    Try it like this

    Get - VM | Select-Object - property Name,@{N="State; E={$_. Guest.State}},
    @{N = "ToolsStatus"; E={$_. Guest.ExtensionData.ToolsStatus}},
    @{N = "AnnotatedEntity"; E = {$attr. AnnotatedEntity}},
    @{N = "Owner"; E = {(Get-Annotation-entité $_-CustomAttribute «Propriétaire»).} Value}}

  • How to get information about the types within a user defined package

    Hi all
    Have a package with some types (user-defined) defined in the package specification. How to get information about the types and
    information about the columns of this type.

    for example:
    Create package mp is

    type t is record (no number is varchar2 (30));

    procedure a (m t out...

    Thanks in advance.

    userg

    G_user wrote:
    the req's, want to build a script dynamically using data dictionary
    so if possible, I take the name of the type within the package specification.

    Let me rephrase - is there a data dictionary to get information on the type defined by the user within a package specification

    Best approach will be to have a standard in the definition of data types.

    Have a process to follow the object definitions in the package if it is mandatory.

  • Get information about the layer with script styles

    Is there a way for a script to get information about the currently existing on a layer layer styles?

    For example, can I know if a layer has a drop shadow, and that therefore, find the dimensions of this shadow, transparency, color, etc...?

    If you don't have CS4 you will need Xbytor script. With CS4, you can the the layer descriptor

    var ref = new ActionReference();
    ref.putEnumerated( charIDToTypeID("Lyr "), charIDToTypeID("Ordn"), charIDToTypeID("Trgt") );
    var desc = executeActionGet(ref).getObjectValue(stringIDToTypeID('layerEffects'));
    if( desc.hasKey( stringIDToTypeID('dropShadow') ) ){
         desc = desc.getObjectValue(stringIDToTypeID('dropShadow'));
         alert('opacity = '+ desc.getDouble( stringIDToTypeID('opacity') ) );
         alert('distance = '+ desc.getDouble( stringIDToTypeID('distance') ) );
         alert('spread = '+ desc.getDouble( stringIDToTypeID('chokeMatte') ) );// spread
         alert('blur = '+ desc.getDouble( stringIDToTypeID('blur') ) );
         var desc = desc.getObjectValue(stringIDToTypeID('color'));
         var r = desc.getDouble( stringIDToTypeID('red') ) ;
         var g = desc.getDouble( stringIDToTypeID('green') ) ;
         var b = desc.getDouble( stringIDToTypeID('blue') ) ;
         alert( 'r = ' + r +'\rg = ' + g + '\rb = ' + b );
    }
    
  • Is Acrobat Pro just for us. We have an employee handbook that needs editing. A part is current pdf, some of an earlier version. You want to get all in a manual, the table of contents automatically adjust and links to specific pages of the table of content

    Is Acrobat Pro just for us. We have an employee handbook that needs editing. A part is current pdf, some of an earlier version. You want to get all in a manual, the table of contents automatically adjust and links to specific pages of the table of contents.

    Acrobat Pro is certainly not the right tool for editing. You want to change the manual using the source - MS Word files for example. Once you have the full changes including OCD work as you want, Acrobat Pro is the tool to convert the source document to PDF format, and ensure the accessibility requirements of 508 - and preferably ISO 14289 (PDF/UA) - are met.

  • Enumerate devices OR and get information about the device C / C++

    Hello

    I use using NI_DAQmx.  How to find and enumerate devices OR and obtain information about each device listed in C / C++?

    I am implementing a dynamic configuration allowing to access hardware OR on our system.

    I need to get logical device names, for example "Dev1", and then find what device OR, for example NI 6008, is associated with each device name.

    Thank you.

    -Neil shore

    If you just read the device information while you use DAQmx properties to achieve what you need:

    To get the names of all the devices in your system:

    DAQmxGetSysDevNames

    To get the product to a given device number (each product has a number of unique product in accordance with the reference C DAQmx help, for example, the USB-6008 case is 0x717A):

    DAQmxGetDevProductNum

    If you need to actually define the names of devices or whatnot, you would then focus on the System Configuration API.  I've never really used this outside of LabVIEW, but the Readme indicates he has CVI supports so you might be able to make it work.

    Best regards

  • Want to get information about the coinlog.log text document

    Original title: coinlog.log text document

    Hello

    In Vista C: / Windows/temp - I noticed the text "coinlog.log" document, which contains in part something "destroyprivatedata".

    Nobody knows what this text is about; for example the malware?

    See you soon.

    Hello

    If I understand the question, you want information on document text coinlog.log. And want to know if it is a malware. Please let me know if this is not correct.
    To tell you that coinlog.log is the log of Installer file. A Setup is a DLL Win32 Microsoft that helps to peripheral installation. Installers of co are called by SetupAPI as "aid" for class installers.
    For example, a provider may provide an installer to write device-specific information in the registry that cannot be treated by the INF file.
    Apply DIF_DESTROYPRIVATEDATA directs a class installer to free any memory or resources allocated and stored in the field ClassInstallReserved of the SP_DEVINSTALL_PARAMS structure.
    For more information check out the link:
    http://msdn.Microsoft.com/en-us/library/ff543669.aspx
    If you want to make sure that the computer is virus-free, you can analyze your computer using Microsoft Safety scanner.
    The Microsoft Security Scanner is a downloadable security tool for free which allows analysis at the application and helps remove viruses, spyware and other malware. It works with your current antivirus software.

    Note: The Microsoft Safety Scanner ends 10 days after being downloaded. To restart a scan with the latest definitions of anti-malware, download and run the Microsoft Safety Scanner again.

    Warning: If you run the antivirus program that is infected by the virus scan will get deleted. Therefore, reinstall the program. Also, if files and folders are affected by the virus, while they might even get deleted.
    Hope this information helps you. If you need help or information, please reply to this message. I'll be happy to help you.
  • How can I get information about the employee transfers and promotions in HRMS

    Hello dear colleagues,

    I will be grateful if someone could show me the way to get into the transfers of employees and promotions within the HRMS module. My company uses oracle Release 11i applications and we would like to migrate our historical data on the employee transfers and promotions. These historical data are currently held in Microsoft Access. So, for example, an employee named John James has the history of following Promotion:

    Grade , Start_date , End_date
    Agent II, June 1, 1995, 31 December 1999
    Agent I, January 1, 2000, 31 December 2003
    Asst. Mgr, January 1, 2004, December 31, 2007
    January 1, 2008, Bishop DEP., so far

    Similarly, Mr. John James was transferred to different departments within the Organization in accordance with the following table:

    Dept , Start_date , End_date
    I.T. dept, 1 June 1995, 30 August 2004
    Research dept, August 31, 2004, December 12, 2004
    Finance dept, August 13, 2004, 9-Sep-2008
    I.T. dept, 10-Sep-2008, 31 March 2011
    Dept of Habay, April 1, 2011, to date

    How can get us these historical data on Mr. John James. If we can do that and also to determine the name of the table/tables oracle used to store the information, write to us and use Microsoft Access queries with odbc to migrate data in oracle.

    I'll be very grateful if someone could make a little time to show me how to do this. Thank you in advance.

    -Emmanuel Lawson

    Published by: user6417506 on January 10, 2012 03:17

    You can download employee assignment of data to aid allocation API backend (HR_ASSIGNMENTS_API).
    Here are ways to assignment data (job, Position, Department, Grade).

    You convert your data to the format assignment

    As
    Rank of Dept
    June 1, 1995 to December 31, 1999, IT Officer II
    January 1, 2000 to December 31, 2003 IT OfficerI
    January 1, 2004 to August 31, 2004 research officer I have

    You must first configure all these data in sttucture of work as Department and grades in the system before loading the responsibilities of the employee.

    The data stored in the PER_ALL_ASSIGNMENTS_F table.

    Thank you

  • How can I get information about the history of corporate 6.3.1 users

    Need help on the following points. Since I'm a guy HFM and don't have no business touching for awhile, I need help on the following points:


    We want to have a report that shows the history of users re: date and time users log in and out of each application Hyperion 6.3.1.

    Where can I get this information? Thought to look in the file < application > .use but not able to see it properly using a text editor.

    Company has not all newspapers following connection/disconnection information. Optionally, check the error log for the first activity that a user performs for example:
    data refresh or the loading of data, that contains the date and time of execution, but it will require filtering of data.

  • Getting information about the FLV file...

    is it possible to get information from the FLV file (perhaps in the metadata) to find the codec, frame rate, kilobits per second, audio data rate, etc...

    can read the information? or can it be done IN flash?

    FLV metadata viewer:

    http://www.buraks.com/flvmdv/

  • RIDC API: Which service to call to get information about all content in a file at end of BPM-piece attached?

    In my application, it is possible for users to upload documents to WebCenter Content server. Later, when a BPM process is started, I need to attach these documents to this process. Based on this article, I need the following information on each document:

    • Do you have
    • dRevisionID
    • dFormat
    • dDocType
    • dSecurityGroup
    • DocUrl

    I tried a few services such as 'COLLECTION_GET_CONTENTS' and 'COLLECTION_DISPLAY', but they could not give me all of the above information. My goal is to get all the documents in a folder and all of the above information in 1 single service call. I try to avoid using "COLLECTION_GET_CONTENTS" just to get a list of the documents and then call "DOC_INFO" on each document in the list to get detailed information, as it seems to cost too much service calls.

    I also tried using "GET_SEARCH_RESULTS" but I could not understand the correct "QueryText" to search for all documents in a folder.

    I would be very grateful if you could show me if there is a service that can return detailed information about all the documents in a folder.

    Best regards

    James Tran

    Hi James,

    With the help of this COLLECTION_GET_CONTENTS - RIDC you can get your required document information.

    Try this code example: -.

    dataBinder.putLocal ("IdcService", "COLLECTION_GET_CONTENTS");

    dataBinder.putLocal ("hasCollectionID", "true");

    dataBinder.putLocal ("dCollectionID", "235418074907008521");

    Where 235418074907008521 replace with your record Collection ID

    Send the request to the content server

    ServiceResponse response = idcClient.sendRequest (userContext, dataBinder);

    Download the workbook of data for the response of the content server

    DataBinder responseData = response.getResponseAsBinder ();

    The list of results = responseData.getResultSet("CONTENTS").getRows ();

    for (DataObject result: results) {}

    System.out.println ("\t Document ID =" + result.get ("dID"));

    System.out.println ("\t revision ID =" + result.get ("dRevisionID"));

    System.out.println ("\t Document Format =" + result.get ("dFormat"));

    System.out.println ("\t Document Type =" + result.get ("dDocType"));

    System.out.println ("\t Security Group =" + result.get ("dSecurityGroup"));

    System.out.println ("\t Docu URL =" + result.get ("dWebURL"));

    }

    -Prashant

  • How to get information about application pending approval in OIM 11 g R2?

    Hello

    We need the following details from application pending in OIM 11 g R2-
    ID of the request, assignees, asked the resource name, title of the application, the beneficiary, status of the request.
    Of the above attributes, we could find assignees, title of the request, the request status, recipient, etc.. But we get no application ID and name of the requested resource.
    We used the API - "IworkflowServiceClient".

    If we use API - "RequestService" so we don't get assignees and resource name approval request pending.

    Can any one suggest how can we get these details? Do we need to use the other APIs or other alternative to get all of the attributes of application pending.

    Thank you.

    Go directly to the database and look at the _SOAINFRA tablespace.  See the table in the WFTASK and see the contents of the entry.  If the information is there, then you should be able to retrieve the value of the API and to seize the land.

    -Kevin

  • [CS3 JS] Get information about Photoshop images in InDesign

    Hello

    Thanks to an InDesign script I can get several pieces of information about an image, for example, the name of the file, the resolution in PPI, the size in inches, color mode, etc.

    What I was wondering if it is possible to know how many layers a Photoshop image can have. I would like a quick way to know if an image was flattened (layer) without having to open the image in Photoshop.

    Tom

    You can do it via BridgeTalk, here is an example. Select a TIF or PSD image and run the script.

    const gScriptName = "Get number of layers";
    const gScriptVersion = "1.0";
    var gLayersNumber;
    
    Main();
    
    //===================================== FUNCTIONS  ======================================
    function Main() {
        var image, pixelDimensionsArr, folderPath, copyResult;
        var doc = app.activeDocument;
    
        try {
            if (app.selection[0].constructor.name == "Image") {
                image = app.selection[0];
            }
            else if (app.selection[0].images.length > 0) {
                image = app.selection[0].images[0];
            }
            else {
                ErrorExit("The selection contains no image.");
            }
        }
        catch(err) {
            ErrorExit("The selection contains no image.");
        }
    
        var link = image.itemLink;
        if (!link.isValid) ErrorExit("Can't get the link.");
    
        if (link.linkType == "Photoshop" || link.linkType == "TIFF") {
            if (link.status == LinkStatus.NORMAL) {
                linkFile = new File(link.filePath);
                if (linkFile.exists) {
                    CreateBridgeTalkMessage(link.filePath);
                    alert("Number of layers: " + gLayersNumber);
                }
            }
        }
    }
    //--------------------------------------------------------------------------------------------------------------------------------------------------------
    function CreateBridgeTalkMessage(imagePath) {
        var bt = new BridgeTalk();
        bt.target = "photoshop";
        var script = "GetLayersNumber = " + GetLayersNumber.toSource() + "\r";
        script += "GetLayersNumber(\"" + imagePath + "\");";
        bt.body = script;
    
        bt.onResult = function(resObj) {
            gLayersNumber = resObj.body;
        }
    
        bt.onError = function(msg) {
            alert("Error: " + msg.body);
        }
    
        bt.send(100);
    }
    //--------------------------------------------------------------------------------------------------------------------------------------------------------
    function GetLayersNumber(imagePath) {
        var f = new File(imagePath);
        app.displayDialogs = DialogModes.NO;
        var doc = app.open(f);
        var layersNumber = doc.artLayers.length;
        doc.close(SaveOptions.DONOTSAVECHANGES);
        app.displayDialogs = DialogModes.ALL;
        return layersNumber;
    }
    //--------------------------------------------------------------------------------------------------------------------------------------------------------
    function ErrorExit(error, icon) {
        alert(error, gScriptName + " - " + gScriptVersion, icon);
        exit();
    }
    //--------------------------------------------------------------------------------------------------------------------------------------------------------
    

Maybe you are looking for