Help required with the viproperty cmdlet

Hi all

I have a question where I am trying to establish the disknames associated with a particular data store. I created a new viproperty and I found where the "diskname" object - that is, "extentiondata.info.vmfs.extent.diskname" is located.

The problem is, where we have warehouses of data with more of a measure, it will not display anything. Therefore, I am trying to create a value of 'viproperty' which combines the disknames with the data store measure. I think it's just a matter of finding ways in addition to a value in the output console.

Could someone please?

Thanks in advance

Munster

The parameter Value can be a block of code.

Something like that

New-VIProperty -ObjectType Datastore -Name _DSDiskNames_ -Value {
  param($ds)

  $disknames = $ds.ExtensionData.info.vmfs.extent | %{
    $_.DiskName  }
  [string]::Join(',',$disknames)
} -Force | Out-Null
Get-Datastore MyDS | Select Name,_DSDiskNames_

There are some examples in VIProperties.

Tags: VMware

Similar Questions

  • help required with the "submit" button

    Hello

    I need a little help with the button submit. The user submits the form as a PDf to a servelt using the "submit" button. The form is validated at the side server. If errors occur the error messages are to be displayed to the user as part of the form.

    My approach was to have a present in the form of hidden field. After you receive the error messages the field must be filled with these messages and real visible.

    Problem with my approach:

    (1) how to send back data on the ground using the code of the servlet that we have?

    Unless you use a Web service, sending data top of the Servlet form can is not possible.

    Once the form sends data to the Servlet, the connection will be lost between the form and the Servlet.

    But if you use a Web service, you can intercept the response and display it to the user.

    Another alternative to the approach of the Servlet is, view another page in the browser with the response.

    If the user then sends is notified the result in a new window.

    Thank you

    Srini

  • Help required with the MacMini Fusion Drive

    Hi all

    I recently bought a second hand end 2012 MacMini i7 wth a fusion drive. The previous owner had created a windows partition. I don't want to return the machine to its original out of the box factory for my use, as I did not need to run windows on it.

    I'm fighting to get the fusion drive to merge. Currently, I have two separate discs that I named her 329 and 781 GB. Disk utility shows that both drives are very good. I rebooted into Recovery Mode to use online disk utility and readers are not displayed in red, and so there is no option to fix them.

    I used the Terminal (after reading online) and it provides the following information:

    + Logical Volume - Group F92C23DE-59E6-48E1-9525-07BAA362792C

    =========================================================

    Name: Macintosh HD

    Status: online

    Dimensions: 790333857792 B (790.3 GB)

    Free space: 98304 B (98.3 KB)

    |

    +-Physical volume 5E674D49-E043-46E0-8B68-4A1BE6F198D6

    |   ----------------------------------------------------

    |   Index: 0

    |   Disc: disk0s2

    |   Status: online

    |   Dimensions: 120988852224 B (121.0 GB)

    |

    +-Physical volume 7BA0BD21-C934-4179-B432-8CE91651DA29

    |   ----------------------------------------------------

    |   Index: 1

    |   Disc: disk1s2

    |   Status: online

    |   Dimensions: 669345005568 B (669,3 GB)

    |

    +--> Logical volume family 9350CC2D-8020-42E4-9C64-A2F1C4BC3DFB

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

    Encryption type: no

    |

    +--> Logical volume C94C8E95-391F-48B9-8920-2BF7C0646691

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

    Disc: disk2

    Status: online

    Size (Total): 781826392064 B (781,8 GB)

    Reversible: no

    Name: 781GB

    Volume name: 781GB

    Content indicator: Apple_HFS

    LVG Type: Fusion, sparse

    None of the data on disks is essential because it is broadcast on my old Mac mini and can be re-migrated later.

    Any advice on how to return the disc of the merger to its original state of the box please?

    Open Boot Camp Assistant and refer the reader to a single partition setup.

    (143720)

  • 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}

  • Hello! Can someone help me with the address of repair service for Palm TX?

    Hello! Can someone help me with the address of repair service for Palm TX?

    Good luck and please, let us know here how it works for you.  We like to know current resources, which can help to solve the problems of people with these older devices.

  • I can't make a connection wifi with my Nook Color camera using a Microsoft MN - 700 wireless router. Can someone help me with the settings that could take care of this problem?

    I can't make a connection wifi with my Nook Color camera using a Microsoft MN - 700 wireless router.  Can someone help me with the settings that could take care of this problem? I have a Dell netbook and a laptop HP working with the router so I know it works.  The Nook also works in a Barnes & Noble store it seems so that the works of Nook.  I have a similar problem with a LG Vortex phone where I can't do the wi - fi connection.

    Please post on the Support forums technical Nook for help because it is not a Windows 7 problem...

    http://bookclubs.barnesandnoble.com/T5/nook-technical-support/BD-p/nooksupport

    .. .also than that...

    http://www.barnesandnoble.com/u/nook-support-connectivity/379002491/

    Don't forget the network encryption type, IE. WPA2/WPA and key/password / password must match the wireless router/access point.

    See also this about WPA2 on the MN-700...

    http://answers.Microsoft.com/en-us/Windows/Forum/Windows_7-networking/cant-connect-to-MN-700-wireless-router/1789978f-7C90-4686-A956-2d17eb79960d

  • can someone help me with the link to download hp2050 print drivers that are compatible with windows 8.

    can someone help me with the link to download hp2050 print drivers that are compatible with windows 8, my software CD is not compatible with windows 8, and I can't use the printer now.

    Hello

    The installation program "Full Feature" can be found on the following link.

    http://h10025.www1.HP.com/ewfrf/wc/softwareDownloadIndex?softwareitem=Al-109407-2&cc=us&DLC=en&LC=en&OS=4132&product=4027469&sw_lang=

    Kind regards

    DP - K

  • Clouds (can someone help me with the error code 214?)

    can someone help me with the error code 214?

    Hello

    Reference:--

    Error code 214

    Error in downloading, installing or updating Adobe Creative Cloud applications

  • HI all I would like to ask if you help me, I want to draw paths, but when I use options to mark with a pen or brush settings I lose quality when I Zoom, can someone help me with the settings for the pen?

    HI all I would like to ask if you help me, I want to draw paths, but when I use options to mark with a pen or brush settings I lose quality when I Zoom, can someone help me with the settings for the pen?

    The work path is a vector and infinitely scalable, but when caress you, Photoshop sets the pixels on a layer following the path.  These pixels are rasterized and based and cannot be resized without loss of quality.  You have options.  If you want to enlarge the raster layer, transform the work path and stroking again.  Or work at a resolution higher, in the first place.

    Either incidentally, you can't trace a path with the pen, because it's a vector tool, and caressing is a matrix function based.

  • As a gesture of goodwill, we can help you with the upgrade for PSE 13. We ask you to place the order for Adobe Photoshop elements 13 upgrade and then provide you with the serial number of the full version for the same product against the new upgra

    I have RECIVED YEAR EMAIL FROM ADOBE AS: as gesture of goodwill, we can help you with the upgrade for PSE 13. We ask you to place the order for Adobe Photoshop elements 13 upgrade and then provide you with the serial number of the full version of the product, even against the new order of upgrade"IS this UPGRADE FREE AND CE WHO SHOULD DO, HOW can I HAVE THIS UPGRADE?

    HOW I CAN PLACE THE ORDER AND IS IT FREE?

  • Help required on the use of stationery personalised with Windows Live Mail

    Hello everyone
    I recently did an html page to be used as stationery for outlook express.
    It works perfectly with outlook express 2003 / 2007, but it says INVALID FORMAT when I try to use it in LIVE MAIL.

    Do I need another format? Other models of stationery, it shows the icon a little different...
    Please help :(

    Thank you & best regards
    Puneet Sanson

    Please repost your question in the Windows Live Mail Discussion Group at: http://www.microsoft.com/communities/newsgroups/en-us/default.aspx?dg=microsoft.public.windows.live.mail.desktop where experts in this program will be happy to help you.

    Good luck!

    Lorien - MCSA/MCSE/network + / has + - if this post solves your problem, please click the 'Mark as answer' or 'Useful' button at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • Can someone help me with the following: using Vista - ISATAP Adapter #3 works not - (code 31)

    I got nothing else problems with windows update (I use Vista home edition), and now I have the following:

    This device does not work properly because Windows cannot load the drivers required for this device. (Code 31)

    Device Type Microsoft ISATAP Adapter #3 device peripheral status does not work correctly. Windows cannot load the required device drivers. (Code 31) Plug - and - Play ID ROOT\ * ISATAP\0002

    I would really appreciate the help.

    Thank you
    Karen

    Hello

    You can ignore this error message. This error message does not indicate a problem with the adapter. The adapter will continue to function correctly.

    http://support.Microsoft.com/kb/932520/en-us

    See you soon.

  • CPU Incompatible requirements with the virtual machine to the host.

    Hello

    I've been running ESX 4 with all my hosts upgraded to the last V hardware + tools for about a week now.  I don't know if its been always do this same thing because I'm not sure if I tried to migrate the server before after the upgrade, but I get the following error when trying to validate the hosts:

    Host CPU is Incompatible with the requirements of the CPUID machine 0x1 'ecx' register

    Bits of the host: 0000:0000:0000:1000:0010:0010:0000:0001

    Required: 1000:0000:0000:100 x: xx10:0x1x:xxx0:x 001

    Inconsistency detected for these features:

    It will start on any host without a complaint.  Running Server 2003 x 64 but it isn't the only x 64 server and there is no other problem with any of the other servers.  All hosts are x 64 servers HP compatible all identical, all purchased at the same time.

    Does anyone have an idea why its complaing?

    Thanks for the help

    This is a known issue, see this KB

    http://KB.VMware.com/kb/1011294

  • Someone help please with the eyre audit report?

    EtreCheck version: 2.9.10 (261)

    Report generated 2016-04-08 21:36:12

    Download EtreCheck from https://etrecheck.com

    Time 02:45

    Performance: Excellent

    Click the [Support] links to help with non-Apple products.

    Click [details] for more information on this line.

    Click [delete] to remove the adware.

    Problem: Computer is too slow

    Hardware Information:

    MacBook Pro (13-inch, mid-2012)

    [Data sheet] - [User Guide] - [warranty & Service]

    MacBook Pro - model: MacBookPro9, 2

    1 2.5 GHz Intel Core i5 CPU: 2 strands

    4 GB of RAM expandable - [Instructions]

    BANK 0/DIMM0

    OK 2 GB DDR3 1600 MHz

    BANK 1/DIMM0

    OK 2 GB DDR3 1600 MHz

    Bluetooth: Good - transfer/Airdrop2 taken in charge

    Wireless: en1: 802.11 a/b/g/n

    Battery: Health = Normal - Cycle count = 785

    Video information:

    Graphics Intel HD 4000

    Color LCD 1280 x 800

    Software:

    OS X Mavericks 10.9.5 (13F34) - since startup time: less than an hour

    Disc information:

    HTS547550A9E384 disk HARD APPLE disk0: (500,11 GB) (rotation)

    EFI (disk0s1) < not mounted >: 210 MB

    Macintosh HD (disk0s2) /: 499,25 (Go 460,16 free) - 36 errors

    Drive failure!

    Recovery HD (disk0s3) < not mounted > [recovery]: 650 MB

    MATSHITADVD-R UJ - 8À8)

    USB information:

    Apple Inc. FaceTime HD camera (built-in)

    Apple Inc. BRCM20702 hub.

    Apple Inc. Bluetooth USB host controller.

    Apple Inc. Apple keyboard / Trackpad

    Computer, Inc. Apple IR receiver.

    Lightning information:

    Apple Inc. Thunderbolt_bus.

    Guardian:

    Mac App Store and identified developers

    Adware:

    ~/Library/Caches/com. Apple.Safari/extensions/Omnibar.safariextension

    ~/Library/Caches/com. Apple.Safari/extensions/Searchme-2.safariextension

    ~/Library/LaunchAgents/cinema-plus-1-1.ver

    ~/Library/LaunchAgents/cinema-plus-1-1_enabler.plist

    ~/Library/LaunchAgents/cinema-plus-1-1_updater.plist

    found 5 adware files. [Remove]

    Kernel extensions:

    / Library/Extensions

    [loading] com.symantec.nfm.kext (6.4.1f36 - SDK 10.9-2016-03-30) [Support]

    / System/Library/Extensions

    [loading] com.symantec.internetSecurity.kext (6.4f36 - SDK 10.8 - 2016-03-30) [Support]

    [loading] com.symantec.ips.kext (6.4f36 - SDK 10.8 - 2016-03-30) [Support]

    com.wibu.codemeter.CmUSBMassStorage [no charge] (1.0.7 - 2016-03-30) [Support]

    Launch system officers:

    [loaded] 5 tasks of Apple

    [loading] 142 tasks Apple

    [operation] 37 tasks Apple

    Launch system demons:

    [failure] com.wibu.CodeMeter.Server.plist (2013-11-15) [Support]

    [loaded] 50 jobs Apple

    [loading] 140 tasks Apple

    [operation] 59 tasks Apple

    Launch officers:

    [loading] com.symantec.errorreporter - periodicagent.NFM.plist (2015-09-28) [Support]

    [operation] com.symantec.uiagent.application.NFM.plist (2015-09-11) [Support]

    [loading] org.gpgtools.Libmacgpg.xpc.plist (2015-09-23) [Support]

    [loading] org.gpgtools.gpgmail.enable - bundles.plist (2015-03-08) [Support]

    [loading] org.gpgtools.gpgmail.patch - uuid - user .plist (2015-03-08) [Support]

    [loading] org.gpgtools.gpgmail.updater.plist (2015-09-23) [Support]

    [loading] org.gpgtools.macgpg2.fix.plist (2015-03-08) [Support]

    [market] org.gpgtools.macgpg2.shutdown - gpg - agent.plist (2015-03-08) [Support]

    [loading] org.gpgtools.macgpg2.updater.plist (2015-03-08) [Support]

    Launch demons:

    [loading] com.adobe.fpsaud.plist (2016-03-07) [Support]

    [loading] com.malwarebytes.MBAMHelperTool.plist (2016-04-08) [Support]

    [failure] com.symantec.SymLUHelper.NFM.plist (2015-09-11) [Support]

    [loading] com.symantec.UninstallerToolHelper.plist (2015-04-21) [Support]

    [operation] com.symantec.deepsight - extractor.NFM.plist (2014-09-10) [Support]

    [loading] com.symantec.errorreporter - periodic.NFM.plist (2015-09-28) [Support]

    [failure] com.symantec.liveupdate.daemon.NFM.plist (2015-09-11) [Support]

    [operation] com.symantec.sharedsettings.NFM.plist (2015-09-11) [Support]

    [operation] com.symantec.symdaemon.NFM.plist (2015-09-11) [Support]

    org.eyebeam.SelfControl.plist [no charge] (2014-12-26) [Support]

    [loading] org.gpgtools.gpgmail.patch - uuid.plist (2015-03-08) [Support]

    User launch officers:

    [no charge] cinema-more-1 - 1.ver (2014-10-28) Adware! [Remove] 

    [failure] cinema-more-1 - 1_enabler.plist (2014-11-06) Adware! [Remove] 

    [loading] cinema-more-1 - 1_updater.plist (2014-11-06) Adware! [Remove] 

    [loading] com.citrixonline.GoToMeeting.G2MUpdate.plist (2014-10-17) [Support]

    Items in user login:

    iTunesHelper Application (/ Applications/iTunes.app/Contents/MacOS/iTunesHelper.app)

    iTunesHelper UNKNOWN (missing value)

    uTorrent UNKNOWN (missing value)

    Genieo UNKNOWN (missing value)

    TuneupMyMac UNKNOWN (missing value)

    Other applications:

    [ongoing] com.etresoft.EtreCheck.70432

    [loading] 442 tasks Apple

    [operation] 284 tasks Apple

    Plug-ins Internet:

    FlashPlayer - 10.6: 21.0.0.182 - SDK 10.6 (2016-03-10) [Support]

    QuickTime Plugin: 7.7.3 (2015-01-30)

    Flash Player: 21.0.0.182 - SDK 10.6 (2016-03-10) obsolete! Update

    Default browser: 537 - SDK 10.9 (2015-01-30)

    Silverlight: 5.1.40728.0 - SDK 10.6 (2015-08-24), [Support]

    NortonInternetSecurityBF: 6.4 - SDK 10.9 (2015-09-28) [Support]

    JavaAppletPlugin: 14.9.0 - 10.7 (2014-09-07) check the version of the SDK

    User Plug-ins internet:

    CitrixOnlineWebDeploymentPlugin: 1.0.105 (2013-04-25) [Support]

    Safari extensions:

    Norton Security (2016-02-11)

    Searchme (cache only) (2015-11-08) Adware! [Remove] 

    Omnibar (cache only) (2015-02-23) Adware! [Remove] 

    AdBlock (2016-03-18)

    3rd party preference panes:

    CodeMeter (2013-11-15) [Support]

    Flash Player (2016-03-07) [Support]

    GPGPreferences (2016-01-04) [Support]

    Time Machine:

    Time Machine not configured!

    Top of page process CPU:

    5% fontd

    3% kernel_task

    3% WindowServer

    0% com.apple.WebKit.WebContent

    0% aosnotifyd

    Top of page process of memory:

    Kernel_task 483 MB

    315 MB SymDaemon

    PluginProcess 217 MB

    180 MB Safari

    Mds_stores 94 MB

    Virtual memory information:

    1.04 Go free RAM

    2.96 used GB RAM (1.34 GB being cached)

    Used Swap 0 B

    Diagnostic information:

    April 8, 2016, Self test - 21:17:24

    Hello Chocbar648,

    Your hard drive may be faulty.

    You do not have a backup.

    You have adware.

    You must:

    (1) buy an external hard drive and make a Time Machine backup

    (2) use EtreCheck to remove your adware and perform another backup.

    (3) get rid of the antivirus software which obviously does you no good.

    (4) operate your machine for a week or two. Then run another EtreCheck. If you have disk errors, then you should get your hard drive replaced. It is possible that your antivirus is causing these errors.

    (5) If you continue to encounter disk errors, download your hard drive replaced in an Apple Store or Service Center authorized Apple. I suggest a Service authorised Apple Centre and see if they update your RAM and give you an SSD too. You don't need really to do with the Mavericks, but if you want to go to Yosemite or El Capitan, you'll thank me. Given that you need to open the machine

  • Help? With the help of file system Ext3 on key USB on Linux RT target

    We have been affected by problems with the SD cards and USB drives formatted in FAT32 on some devices, according to Linus RT of long-term monitoring (mainly the cRIO-9035). It seems that readers are vulnerable to fluctuations in current and unexpected reboots (which are inevitable on these sites). Write aborted operations make the damaged discs, thus sabotaging logging after reboot.

    We have identified two solutions; implement both gives the best redundancy:

    (1) installation of UPS (uninterrupted power supply for emergency supplies/batteries) - done

    (2) using the file system apparently more robust 'ext3', which is available on the target RT Linux (FAT32, ext2 and ext3) - don't have not so far:

    ->, I was not able to properly format a USB stick for ext3. I use the MiniTools Partition Manager and don't get any errors when create and format partitions. But they appear as 'read only' when it is inserted into the chassis of the RT. All attempts to access it, other than to observe the empty folder sdxx in ' / media "is returning errors.

    Someone had a bit of luck with the help of ext3 disks formatted as data drives on the objectives of the RT Linux? It is worthwhile to solve my problems or should I use FAT32 and the observed risk?

    I do not consider this but a temporary solution:

    I ran into issues when you use MiniTools Partition Wizard to partition and format my thumb on Win10 records. An unidentified change makes the inaccessible disks and freeze the browsing of file on the PC when I try to delete the partition. It was quite annoying!

    I decided to try another partition tool and went for the EaseUs Partition Master (free version for the moment). I formatted successfully one of the troublesome discs with it (to add some uncertainty to the solution, I used another brand sp * banking, new PC to do). The reader now mounted in read-write and allows the startup application create the I want to store files in folders.

    I'm very curious to know the difference between the tools of both partitions and their formatting...

Maybe you are looking for

  • Thunderbird has stopped working

    Hello Count 08/04/2014 Thunderbird has stopped working in my PC somehow. I am running Windows 8.1 Pro x 64. Before that day, everything was ok and Thunderbird was not working. I asked a few friends using Windows 8 and they have the same problem. Thun

  • How to turn off the wireless amber light on the front of the NB250?

    Hello How to disable the wifi indicator orange on the front of the laptop?I tried FN + F8 and the light stays on!(NB250)Thanks in advanceConcerningCMG

  • Need help to choose a hard drive of my iMac desktop backup

    need a recommendation for at least a desktop hard drive 3 TB to use with Time Machine.  with Thunderbolt 2 or 3 USB my iMac is 10.10.5 Core i5, 16 GB of memory. In view of the Weston Digital my passport Pro 4 TB or LaCie2 6 to

  • Uprading my HP PAVILION a6550in graphics card

    I use HP Pavilion a6550in with Win7 64 bit Ultimate SP1 and 4 GB of DDR2 RAM. I want to upgrade my graphics card Nvidia GeForce 9300 GE is too outdated.Can you tell me what all Nvidia graphics cards are compatible with my system based on (1) size (mo

  • Windows Update can't check for updates

    I get a pop up window saying that windows cannot check updates (code 80070643). I have windows vista family premium and running a 32-bit, with trend micro. How can I solve this?