How can I get the current path of LUN?

I want to know the active path for all my lun. How can I get this value?

Tios thanks!

Best regards

Xavier

VCP4 and professional VCP3 certified VMware.

-


If upon that esta o any other campaign respuesta ha sido utility, votalas. Gracias.

If you find this or any other information useful or appropriate, please consider giving points. Thank you.

You could do something like that

$report = @()
Get-VMHost  | %{
     $esx = $_
     $_ | Get-ScsiLun | %{
          $lun = $_
          $_ | Get-ScsiLunPath | %{
               $row = "" | Select HostName, LUNname, Path, Active
               $row.HostName = $esx.Name
               $row.LUNname = $lun.CanonicalName
               $row.Path = $_.Name
               $row.Active = $_.State
               $report += $row
          }
     }
}
$report

____________

Blog: LucD notes

Twitter: lucd22

Tags: VMware

Similar Questions

  • I reinstalled Firefox Desktop, I downloaded my favorites of Carbonite, how can I get the current Firefox to accept?

    See above

    I reinstalled Firefox Desktop, I downloaded my favorites of Carbonite, how can I get the current Firefox to accept?

    You do backup your bookmark as a .json file?

    Restoration of bookmark

  • How can I get the current paragraph?

    I want to get the current paragraph where the insertion point is.

    How can I do this in FDK?

    Ch,

    I can answer some of these questions, but if you have decided that this thread is replied, please give credit to Mike.

    About the audit for a FO_Pgf object, you shouldn't have that. I think that there is some obscure cases where F_ApiGetTextRange() gives you an object that is not a paragraph... I forgot exactly but I think it has to with a text graphic subject line or something like that. I could be wrong. In any case, if you have a stream of regular text with an insertion point, you will get a paragraph object.

    This line will abort the operation if any text is selected. Do you really want that?

    If (insertionPoint.beg.objId! = insertionPoint.end.objId)

    This line will abort the operation if several paragraphs are selected. Do you really want that? Without this verification, you will always get the text of the first selected paragraph.

    If (insertionPoint.beg.offset! = insertionPoint.end.offset)

    Otherwise, the code looks OK to me, at least regarding the FDK calls. You have problems with him?

    Russ

  • How can I get the current state "onto the Pixels?

    Hello community,

    Here's the function that creates a switch that handles "snap to Pixels":

    index.html:

    <div id="STP_input" onclick="switchOnOff(this)">
         ...
    </div>
    

    main.js:

    $("#STP_input").click(function () {
         var a = switchOnOff(this);
         if (a) {
              csInterface.evalScript('switchSTP(true)');
         } else {
              csInterface.evalScript('switchSTP(false)');
         }
    });
    

    HostScript.jsx:

    function switchSTP(checkBTN) {
        'use strict';
        
        var condition;
        if (checkBTN === true) {
            condition = true;
        } else {
            condition = false;
        }
    
        var idsetd = charIDToTypeID( "setd" );
        var desc26 = new ActionDescriptor();
        var idnull = charIDToTypeID( "null" );
            var ref6 = new ActionReference();
            var idPrpr = charIDToTypeID( "Prpr" );
            var idtoolsPreferences = stringIDToTypeID( "toolsPreferences" );
            ref6.putProperty( idPrpr, idtoolsPreferences );
            var idcapp = charIDToTypeID( "capp" );
            var idOrdn = charIDToTypeID( "Ordn" );
            var idTrgt = charIDToTypeID( "Trgt" );
            ref6.putEnumerated( idcapp, idOrdn, idTrgt );
        desc26.putReference( idnull, ref6 );
        var idT = charIDToTypeID( "T   " );
            var desc27 = new ActionDescriptor();
            var idtransformsSnapToPixels = stringIDToTypeID( "transformsSnapToPixels" );
            desc27.putBoolean( idtransformsSnapToPixels, condition );
        var idtoolsPreferences = stringIDToTypeID( "toolsPreferences" );
        desc26.putObject( idT, idtoolsPreferences, desc27 );
        executeAction( idsetd, desc26, DialogModes.NO );
    
        return;
    }
    

    But when I hide the Panel and show once again, that the switch back to the default state, turn on my Panel, not "hook to Pixels" PS settings setting. Is it possible to get the current status 'Hang the pixels' setting? How?

    Best regards.

    See post 8 in this thread:

    Re: Need someone to update or create script: "snap to grid of pixels.

  • How can I get the current date?

    Hello!

    I two EditFields that will act as a filter, so a user can say display me records from here to there.

    I would like to default dates today at 7 days before.

    Here is the code that I currently have:

    Border border = BorderFactory.createSimpleBorder(new XYEdges(1,1,1,1));
    txtStartDate = new EditField("", "");
    txtStartDate.setBorder(border);
    Background txtBackground = BackgroundFactory.createSolidBackground(0xFFFFFF);
    txtStartDate.setBackground(txtBackground);
    add(txtStartDate);
    
    Border borderB = BorderFactory.createSimpleBorder(new XYEdges(1,1,1,1));
    txtEndDate = new EditField("", "");
    txtEndDate.setBorder(borderB);
    Background txtBackgroundB = BackgroundFactory.createSolidBackground(0xFFFFFF);
    txtEndDate.setBackground(txtBackgroundB);
    add(txtEndDate);
    

    Is there something like a DateTime.Now to Blackberry? How can I achieve this? Thanks a lot for the help guys.

    Ok........

    Use this...

    Date date;
    String currentdate = new SimpleDateFormat("dd/MM/yyyy").format(new Date(System.currentTimeMillis()));
    
    ------------------------------------------------------------------------------------Press Kudo to say thank to developer. Also Press the Accept as solution Button when u got the Solution.
    
  • How can I get the current user?

    I want to combine the logic of Publisher and Subscriber in a Flex application. To do this, I need to know what role has the current user (I do not change user roles implementation plan).

    Is this possible?

    Thank you.

    Hello

    I googled: "current user lccs. The 2nd shot gave me the answer =).

    Nigel

  • For the operation of broadcasting how can I get the current network address of BB device

    Hello

    I'm new to the development of BB. I want to develop a Java application or servlet I can send order button to my client devices on BES... I would like to know a few things

    • First of all know if its possiable to apply a base or servlet Java?...
    • How to know current network address of the BB device that uses BES...

    Experts of BB please help... I would like to know I can start with...

    Thanks in advance...

    (I'm in the right forum for these questions)

    Hello

    When you tap on a BlackBerry smartphone, push you to address email or PIN code associated with the device. These can be already known or read the BES.

    Push of browser channel can certainly be handled from a Java application, check on the HTTPDemo (server side) included with the BlackBerry can and JDE plug-in for Eclipse (eJDE) that shows this.

    http://NA.BlackBerry.com/eng/developers/javaappdev/devtools.jsp

    http://docs.BlackBerry.com/en/developers/deliverables/10155/index.jsp?name=http+push+sample+applicat...

    Kind regards

  • Example: Pavilion 6240f: installation of clone and get the error biohd-3. How can I get the startup path?

    I made a clone to replace a failing hard drive. biohd-3 is the error code. The clone has implemented two partitions one key for a recovery disk partition hard theoriginal. I deleted the second primary partition and the recovery partition. This will be enough to read a path of startup or do I have to do something more? I have the new hard drive in an external enclosure and can be accessed. I have not tried to put in the computer from hp since the deletions.

    Hello

    The BIOS has detected a hardware error on port 3.  Try to run hardware diagnostics. If the diagnostics detects errors, then it is time to replace the hard drive. If you do, buy a non-avance format model that is less than 2 GB.

    Backup your data anda remember to create the external HP recovery media before doing anything.

  • How can we get the path of the current document?

    Hello

    I want to store the path of the current document file in a string, I tried the AIDocumentSuite, and

    AIAPI AIErr(* AIDocumentSuite::GetDocumentFileSpecification) (ai::FilePath & file).

    His ended in prameter conversion error (c 2664). Can someone guide me to get the current path.

    Thanks in advance

    Farida kaid

    file ai::FilePath.

    Error AIErr is sDocument-> GetDocumentFileSpecification (line);.

    If (error! = kNoError) {}

    There was a problem
    }

  • Windows 7 Desktop w/printer, my desktop XP in network computer, cannot print bc I wonder for the current print driver, I got a current version, but it does not recognize it? How can I get the printer to work?

    I have a desktop computer Windows 7 connected to an HP laserjet 4050N printer, when I try to print from a computer to Office XP, via the network, I wonder for an updated printer driver.  I downloaded the latest print driver, but it does not recognize the file inf and again requests a current print driver.  How can I get the XP desktop to print on the printer connected to the Windows 7 Desktop?

    Hello

    I suggest you to follow the steps mentioned below and check if it helps.

    Method 1:

    Printer in Windows problems:

    http://Windows.Microsoft.com/en-us/Windows/help/printer-problems-in-Windows

    http://h20000.www2.HP.com/bizsupport/TechSupport/DriverDownload.jsp?prodNameId=18322&lang=en&cc=us&TaskID=135&prodTypeId=18972&prodSeriesId=25475

    For your reference: How to use Windows XP to share a printer with other people on your network: http://technet.microsoft.com/en-us/library/bb457001.aspx

    http://TechNet.Microsoft.com/en-us/library/bb456988.aspx

    To connect to a printer on a network: http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/print_connect_net_printerw.mspx?mfr=true

    Hope this information is useful.

  • How can I get the path to an image?

    I have a selected Image in the page. How can I get the path to the image? I see a "name" property, but gives me just an empty string. I use CS6 and JavaScript. Thank you.

    Rick

    I found what I was looking for:

    var chart = app.selection [0];

    Alert (graphic.itemLink.filePath);

  • In windows movie maker, I'm trying to open an old project. It opens, but there is no video clips - only x or empty clips. How can I get the original film clips show?

    In windows movie maker, I'm trying to open an old project. It opens, but there is no video clips - only x or empty clips. How can I get the original film clips show?

    I did a movie and released a dvd. Then, I moved my files from movie on an external hard drive to store files and free up space on my computer. So I went back to try a pull up the project and got every X / white clips. So now, I rebooted my computer with the video files I removed on the external hard drive and it still shows empty clips.
    Help.

    The red Xs indicate that Movie Maker cannot find the original source files.
    If the files are still available... just right click on the red Xs and go to the
    current location of the files source and you may be able to restore the
    path.

  • How can I get the tabs to go on a single line and a menu of Firefox?

    Firefox allows to have 2 lines above - Firefox menu with tabs and more and another line of the navigation toolbar. during the installation of some programs online, Firefox now have 3 lines at the top, with the Firefox menu on an entire line, the 2nd line of tabs and 3rd line of navigation toolbar. How can I get the tabs to go on a single line and a menu of Firefox?

    With the current versions of Firefox, you can choose to use the menu of Firefox (orange in windows; gray Linux) button at the left end of the Windows title bar or bar menus familiar as in earlier versions. The Firefox button is displayed by default only in Windows Vista and Windows 7, but you can turn on or off or switch between the two or temporarily show the menu bar when the Firefox button is displayed.

    If you chose to use the Firefox button and you use the default tabs on top, the tab bar will move to the title bar with the Firefox button only when you are to maximize window (the ' square' the middle button in the upper right corner of the Windows standard application window). Other selected toolbars will be displayed below that (bar Navigation, Bookmarks Toolbar and the toolbars you add via Add - ons).

    If this answer solved your problem, please click 'Solved It' next to this response when connected to the forum.

    Not related to your question, but...

    You must update some plug-ins:

  • How can I get the old search wizard on windows vista/windows 7?

    Original title: bringing research research assistant, new bad engine

    Dear all.

    I like Windows XP search assistant as if worked as an engine of 'real' research, for example, bing, google and search keywords.
    The current one is too basic to windows vista and windows 7 is rubbish and doesn't like the old.

    How can I get the old search wizard on windows vista/windows 7?  If I can't do it, how I'd get that to happen?

    Your

    Tom2020

    HI Tom2020,

    If you want to leave comments about the research, please do so at:

    Windows 7 comments

  • How can I get the serial number for Adobe Acrobat XI?

    How can I get the serial number for Adobe Acrobat XI? I have download adobe for free on my laptop dell Inspiron 64 bit Web site.

    It is not free. It is an old version and is no longer sold. You can buy or subscribe to the current version of Acrobat Pro DC.

Maybe you are looking for