Where does not work for Get-ScsiLun seller or the attributes of model filter

I have a cluster that uses storing different storage arrays. These paintings bring me to use multichannel strategies. I'm trying to write a PowerCLI script to filter all the LUNS that are (for example) on a Board of HP, and then set the strategy that I choose.

I use the where clause to filter successfully various Get-ScsiLun attributes, such as:

ScsiLun get - vmhost myhost.mydomain.local - LunType drive | Select * | where {$_.multipathpolicy - eq "MostRecentlyUsed"}

This filter works great and spit LUNS that use the MRU policy.

However, when I try to use where to filter the seller, I get no results at all.

Example:

ScsiLun get - vmhost myhost.mydomain.local - LunType drive | Select * | where {$_.} Seller - eq "HP"}

-Eq is perhaps too restrictive, so I try with - such as:

ScsiLun get - vmhost myhost.mydomain.local - LunType drive | Select * | where {$_.} Seller-as "HP"}

No dice. No output at all.

As you can probably, I want to find all the LUNS on my HP table and set a policy specifically for these LUNs. I could go ahead and put all canonicalnames in a file and the loop over there, but it's too much work. I go about it the wrong way?

With our storage IBM I noticed that the property of the seller is always 8 characters (right padded with blanks).

So I have also used a - like.

Get-ScsiLun -vmhost $esxName -LunType disk | where {$_.Vendor -like "IBM*"} | %{
     $_.Vendor
}

Note that you do not have to include select it in the pipeline.

When you place an asterisk in the channel, the - like operator will match every character (s) possible for the asterisk.

____________

Blog: LucD notes

Twitter: lucd22

Tags: VMware

Similar Questions

  • Printer spooler does not work for a single user on the network printer

    original title: very different printer problem

    I have a HP deskjet printer shared from a PC on the network.
    I was informed of a single person could not access error poped by saying "printer spooler does not work.
    I went to the services and made sure it was infact running and rebooted to be sure also restarted the RPC services as it is addictive
    Still, the user cannot print to the printer. I took the computer that has been seen issues and hung where fixed my PC and I am able to connect and print!

    If I move my computer witch would allow me to print before there where his computer is my computer prompt same error

    My idea is - what some are how a network issue, but the user can still access drives network, internet and other printers on the network

    Just not this printer

    The computer on the share is is a windows xp sp2 workstation

    The computer with the issue is any system I plug its cable Ethernet (XP anyway) I have not tried with a windows machine 7.

    My hypothesis is a bad Ethernet cable? I'm quite lost with this question at this stage.

    My next step is to hang the printer until a print area and assign an IP address and finish with the share.

    (Still not sure if it would help or not)

    Any advice is welcome thanks

    It turned out to be a bad switch. I don't understand why it did not work. All the computers had no problems other than the present even that if I swapped the ports it has made a difference.

    Hung new switch and all computers works fine now.

  • my cd/dvd does not work I get a code 10, the devices are not detected what do I do to fix these problems

    I went to the automated correction, it but still no change

    Hello

    Description of errors related to the 10 Code that generates the Device Manager in Windows on computers
    http://support.Microsoft.com/kb/943104/

    Please make all below even if you have done some before as it is often the set of operations which solves the problem.

    Try this - Panel - Device Manager - CD/DVD - double-click on the device - driver tab - click
    Update the drivers (this will probably do nothing) - then RIGHT click the drive - UNINSTALL - REBOOT
    This will refresh the default driver stack.

    Then, work your way through these - don't forget the drive might be bad, could be a loose cable or
    slight corrosion on the contacts (usually for a laptop) and other issues.

    Your CD or DVD drive is missing or is not recognized by Windows or other programs
    http://support.microsoft.com/kb/314060 - a Mr Fixit

    The CD drive or the DVD drive does not work as expected on a computer that you upgraded to Windows Vista
    http://support.Microsoft.com/kb/929461

    When you insert a CD or a DVD, Windows Vista may not recognize the disc
    http://support.Microsoft.com/kb/939052

    Your CD or DVD drive cannot read or write media - A Mr Fixit
    http://support.Microsoft.com/GP/cd_dvd_drive_problems

    CD/DVD drive does not appear in Windows Vista, or you receive this error during the installation of Windows Vista after booting from the DVD (AHCI)
    http://support.Microsoft.com/kb/952951
    Drive CD - R or CD - RW Drive is not recognized as a recordable device
    http://support.Microsoft.com/kb/316529/

    Another possibility is that the cables are loose. Remove ALL power, then make sure that the cables in both
    ends. Remove and replace, do not just tight. For laptops, you can often clean power and
    contacts data with a pencil eraser.

    Some DVD players do not use the Windows default drivers so check with the manufacturer of system and
    manufacturer of device to see if there is a firmware or drivers for your drive if necessary.

    Hope these helps.
    Rob - bicycle - Mark Twain said it is good.

  • Common interface of JS does not work for me when I check the generated swf file

    Hi all

    Get up to speed on the use of Javascript and 8 Captivate. I work with what adobe own examples discussed here: JS Common interface .

    I downloaded the project, published under the title of HTML5 and SWF and posted on our server.

    HTML 5 version

    Open the swf file

    When you click on the buttons in the HTML5 version, you can see the content of the change of the content area. This does not happen in swf (the XML is a counterpart of the swf file in the same directory)

    Looking at their model of box, I think that maybe they mean that the html page must be involved for the js to work (that is, you need to link to the page instead of the swf file)? Maybe this is already known by everyone else, so forgive me... but can you just use the swf file (in this case, including the XML with it) and do the work of javascript?

    In the end, I really don't need features xml... I'm just trying to play an audio file and give buttons, click on a State visited and in the context, I'm trying to use it, I can only download a swf file, not a html file that displays a flash element. Maybe there is an easier way to do... But I didn't pursue a js route if js will not run in this case.

    Thank you!


    I think that you need a html file to make javascript work.

    You can use advanced actions to display a different button once the original has been clicked.

  • Reconfigure RAID (Online Capacity Expansion) does not work for non Dell drives in the bios and is not available in OMSA for VMWare

    VMWare users have found a solution for the following?

    Readers of PERC H700 and H800 (firmware current 12.10.4 - 0001 A10, r610 servers) allow the user (in the bios during startup) to create new virtual disks using non Dell drives, but you cannot expand a virtual disk existing readers not Dell, when in the bios.  The option is grayed out.

    OMSA for Windows bypasses it.  Virtual disk | Tasks | Reconfigure can do online capacity expansion and accepts disks not Dell for this.

    Problem is OMSA to VMWare ESXi (v7.2, the current version and older versions) doesn't have a virtual disk tasks fall to the bottom.  You can not even a hard drive flashes.  (VMWare ESXi = v5.1)

    The only solution we can think of is to have two drive arrays connected to the computer, and create a simple Windows with OMSA, boot in Windows Server to expand the virtual disk using OMSA for Windows.

    I would be interested in the comments of others, including those of Dell.  We spent hours on the phone with Dell; This seems to be the only solution.  (Yes, Dell released a firmware version last year that has ceased blocking non Dell readers, but it only works for the creation of a new virtual disk, do not expanding one existing).

    The firmware update the unlocked non certified discs was in July 2010 (two years ago).  No latest updates seem to speak of changes/updates to update that.

    I don't know why uncertified discs would be blocked for a single operation (expansion/reconfigure) - are get you certain types of message that certainly is the case?  Did you do that with certified readers?  Last I heard, Dell had a firmware update in the works that would allow an extension to get the CTRL-R utility, where it historically could not be done from there.  12.10.4 as of 2012, I guess (if the Dell guy who told me he rode was OK) this update has not been released yet... However, I could be wrong.  I don't have a H700 to test with, but you can try OMSA live as an alternative to the construction of a temporary Windows Server to try the expansion of the OMSA.

    Linux.Dell.com/.../OMSA-71-Live

  • spell check does not work for dreamweaver Uppercases how can I get it back?

    spell check does not work for dreamweaver Uppercases how can I get it back?

    Hello

    Dreamweaver is an Adobe product. I suggest you to contact Adobe support for assistance. Please post your query in the Adobe forums.
    Dreamweaver

    http://forums.Adobe.com/community/Dreamweaver

  • I get an error code, ""this device does not work properly because Windows cannot load the drivers required for this device. " (Code 31) "on the computer.

    My drive hard seagate is not recognized on my laptop, I can see it in the legacy of the laptop but has an exclamation deside it, there a message when I tried to solve the problems, error was not fixed, the device status is "this device does not work properly because Windows cannot load the drivers required for this device. (Code 31) »

    Is anyone know how can I access my hard drive again?

    Thank you

    Hello

    You has made changes to the system before the error appearing?  Cancel the changes.

    (1) in Device Manager > right click on the driver, and then select uninstall

    Reboot and Windows will reload the driver

    (2) remove the upper & lower filters that cause errors in Code 31

    http://pcsupport.about.com/od/driverssupport/HT/UpperFilters-LowerFilters.htm

    Access the manufacturer's Web site and search for updated driver

  • I had a windows 2008 r2 domain 1 DC everything worked fine, I added a second windows of DC 2012 now Kerberos does not work for RDP

    I had a windows 2008 r2 domain 1 DC everything worked fine, I added a second windows of DC 2012 now Kerberos does not work for the RDP, Hyper V replication is nothing below a couple of samples of what I see I do not know where to begin finding the problem

    + System

    -Supplier

    [Name]  Microsoft-Windows-Security-Kerberos
    [Guid]  {98E6CFCB-EE0A-41E0-A57B-622D4E1B30B1}
    [EventSourceName]  Kerberos
     
    -EventID 3

    [Qualification] 32768
     
    Version 0
     
    Level 2
     
    Task 0
     
    Opcode 0
     
    Keywords 0 x 80000000000000
     
    -TimeCreated

    [SystemTime] 2016-01 - 03 T 01: 34:27.000000000Z
     
    2991 EventRecordID
     
    Correlation
     
    -Execution

    [ProcessID] 0
    [ThreadID] 0
     
    Channel system
     
    Computer DC02.xxxxxxonline.com
     
    Security

    -EventData

    LogonSession xxxxxxONLINE.COM\xxxxxx
    ClientTime
    1:34:27.0000 03/01/2016 Z ServerTime
    Error code 0 x 19
    ErrorMessage KDC_ERR_PREAUTH_REQUIRED
    ExtendedError
    ClientRealm
    CustomerName
    ServerRealm xxxxxxONLINE.COM
    ServerName krbtgt/xxxxxxONLINE.COM
    TargetName krbtgt / * address email is removed from the privacy *
    ErrorText
    E file
    Line d3f
    30773054A103020113A24D044B3049301FA003020112A1181B16524F434B45594F4E4C494E452E434F4D726F636B65793005A003020117301FA003020103A1181B16524F434B45594F4E4C494E452E434F4D726F636B65793009A103020102A20204003009A103020110A20204003009A10302010FA2020400

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

    Binary data:

    In the words

    0000: 54307730 010203A 1 044DA213 3049304B
    0008: 0203A01F 18A 11201 4F52161B 59454B 43
    0010: 494C4E4F 432E454E 6F724D4F 79656B 63
    0018: 03A 00530 30170102 0203A01F 18A 10301
    0020: 4F52161B 59454B 43 494C4E4F 432E454E
    0028: 6F724D4F 79656B 63 03 HAS 10930 A2020102
    0030: 30000402 0203 HAS 109 02A 21001 09300004
    0038: 010203 A 1 0402A20F 00

    In bytes

    0000: 30 77 30 54 A1 03 02 01 0w0T¡...
    0008: 13 4 04 4 B 30 49 30 A2. ¢ M.K0I0
    0010: A0 03 02 01 12 A1 18 1F. ....¡.
    0018: 1 16 52 4F 43 4 B 45 59 B... XXXXXX
    0020: 4F 4 49 4F 4E 45 2ND 43 ONLINE. C
    0028: 4 72 6F 63 6 b 65 79 OMxxxxxx 4F
    0030:30 05 A0 03 02 01 17 30 0. .... 0
    0038: A0 03 02 01 03 A1 18 1F. ....¡.
    0040: 1 16 52 4F 43 4 B 45 59 B... XXXXXX
    0048: 4F 4 49 4F 4E 45 2ND 43 ONLINE. C
    0050: 4 72 6F 63 6 b 65 79 OMxxxxxx 4F
    0058:30 09 03 02 01 02 A2 A1 0... ¡¢
    0060: 02 04 09 03 02 A1 00 30... 0.¡..
    0068:01 A2 02 04 00 30 09 10... ¢... 0.
    0070: A1 03 02 01 0F A2 02 04... ¢...
    0078: 00                        .

    + System

    -Supplier

    [Name]  Microsoft-Windows-Security-Kerberos
    [Guid]  {98E6CFCB-EE0A-41E0-A57B-622D4E1B30B1}
    [EventSourceName]  Kerberos
     
    -EventID 3

    [Qualification] 32768
     
    Version 0
     
    Level 2
     
    Task 0
     
    Opcode 0
     
    Keywords 0 x 80000000000000
     
    -TimeCreated

    [SystemTime] 2016-01 - 02 T 16: 52:38.000000000Z
     
    2943 EventRecordID
     
    Correlation
     
    -Execution

    [ProcessID] 0
    [ThreadID] 0
     
    Channel system
     
    Computer DC02.xxxxxxonline.com
     
    Security

    -EventData

    LogonSession xxxxxxONLINE.COM\xxxxxx
    ClientTime
    16:52:38.0000 02/01/2016 Z ServerTime


    Error code 0 x 19
    ErrorMessage KDC_ERR_PREAUTH_REQUIRED
    ExtendedError
    ClientRealm
    CustomerName
    ServerRealm xxxxxxONLINE.COM
    ServerName krbtgt/xxxxxxONLINE.COM
    TargetName krbtgt / * address email is removed from the privacy *
    ErrorText
    E file
    Line d3f
    30773054A103020113A24D044B3049301FA003020112A1181B16524F434B45594F4E4C494E452E434F4D726F636B65793005A003020117301FA003020103A1181B16524F434B45594F4E4C494E452E434F4D726F636B65793009A103020102A20204003009A103020110A20204003009A10302010FA2020400

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

    Binary data:

    In the words

    0000: 54307730 010203A 1 044DA213 3049304B
    0008: 0203A01F 18A 11201 4F52161B 59454B 43
    0010: 494C4E4F 432E454E 6F724D4F 79656B 63
    0018: 03A 00530 30170102 0203A01F 18A 10301
    0020: 4F52161B 59454B 43 494C4E4F 432E454E
    0028: 6F724D4F 79656B 63 03 HAS 10930 A2020102
    0030: 30000402 0203 HAS 109 02A 21001 09300004
    0038: 010203 A 1 0402A20F 00

    In bytes

    0000: 30 77 30 54 A1 03 02 01 0w0T¡...
    0008: 13 4 04 4 B 30 49 30 A2. ¢ M.K0I0
    0010: A0 03 02 01 12 A1 18 1F. ....¡.
    0018: 1 16 52 4F 43 4 B 45 59 B... XXXXXX
    0020: 4F 4 49 4F 4E 45 2ND 43 ONLINE. C
    0028: 4 72 6F 63 6 b 65 79 OMxxxxxx 4F
    0030:30 05 A0 03 02 01 17 30 0. .... 0
    0038: A0 03 02 01 03 A1 18 1F. ....¡.
    0040: 1 16 52 4F 43 4 B 45 59 B... XXXXXX
    0048: 4F 4 49 4F 4E 45 2ND 43 ONLINE. C
    0050: 4 72 6F 63 6 b 65 79 OMxxxxxx 4F
    0058:30 09 03 02 01 02 A2 A1 0... ¡¢
    0060: 02 04 09 03 02 A1 00 30... 0.¡..
    0068:01 A2 02 04 00 30 09 10... ¢... 0.
    0070: A1 03 02 01 0F A2 02 04... ¢...
    0078: 00                        .

    This issue is beyond the scope of this site which is for the consumer to related issues.

    To ensure that you get a proper answer, ask either on the Technet site, if it is a type of Pro problem, or MSDN if it's related to the developer

    http://social.technet.Microsoft.com/forums/en-us/homes/en-us/home

    http://social.msdn.Microsoft.com/Forum

  • iMessage does not work for me. I have no text to send or receive texts as an alternative. I am able to use the Internet to navigate / social media but iMessage completely ceased to operate. I tried the usual phone turn off / on, reboot, etc.

    iMessage does not work for me. I have no text to send or receive texts as an alternative. I am able to use the Internet to navigate / social media but iMessage completely ceased to operate. I tried the usual phone turn off / on, reboot, etc. and still nothing. What can I do?

    What methods have tired to get it activated?

    You can disconnect from the iMessage

    Disconnect from the iCloud

    Reboot your phone

    Reconnect

    Wait iMessage activate

    Do you have a viable data plan?

  • AutoFill does not work for Firefox 4 and Microsoft Outlook

    AutoFill has already worked on Firefox 3.16 and Microsoft Outlook.
    Now I get a msg something like:
    "AutoFill does not work for this site" when I want to fill my info on a petition, etc..

    What "complete" you use in Firefox 4.0?

    Firefox is not a built-in function "fill", it has "full automatic" that would not display a message such as.

  • I need a program to view usable photograph or app to open my pictures to view them, open them in my editing software. Apple makes such a program? Photo does not work for me.

    I have a 27 "iMac, I photograph and videos. The Photos app does not work for me. I would like to have a program that will open my photography let me scroll through the folder of photos and when I find one that I need to change in my photoshop cs6 software I can open the file, then save in my pictures folder.  I am now watching the Mac Book Pro. 15 "the $2499 but I need a usable photo view software. I'm not the editor, import, the shared project, etc., I want only the Viewer.  I have purchase different applications that does not work. The last was the date limits only one that I could find I want but it not work altogether after about 4 days. The name of it is (Viewer). I really want to get another Mac product because I like really everything except the viewer or no photo viewer. Please help, it is very important for me!

    Diana_G100

    If you simply want to watch as download you them from your camera, you can simply use the default built in app Preview. He opens them - that is what I use before deciding that one has need of some 'creative' changes or anything, and then drop them into my own folder of Photos (in my documents) that I created when I decided that I did not care to iPhoto or Photos.

  • WindowsXPSP3 / MSNDialup DOES NOT WORK FOR 6 weeks.

    WindowsXPSP3 / MSNDialup DOES NOT WORK FOR 6 weeks. I've been with remote access, since it was offered so I understand speed and ETC.

    Hot Mail (which I don't like) seems to work.

    On E-mail MSN - Cannot send or what I get Emails (all once in a while, we get... and when I go to Hotmail... arrived at 22). Spoke with 13 technicians, deleted all files (alt/shiftF9) 7 times. Some of the questions:

    MSN Inbox (on top left over files) continues to go to the yellow throttle and says I am offline and yet I am on line. Connection errors are the following: 0x80072efd / 0 x 0 80191002 / 0x80072eff deleted trash e.a. returns every time. Mark an unread Email and it is deleted. Tons and tons and tons of other issues. Microsoft Techs seem to be stuck on Shift/Alt/F9 and nothing is improving and sometimes gets worse... as the last time I alt/shif/F9...folders came back but old e-mail appears. Electronic mail in white and empty window. Super slow navigation & usually stops and tell me that I'm not online. Diagnosis of micro said: I am and contact MFG. A tech admitted that a new server is entered in questions. But 6weeks and I pay for the service? A tech says it's at my end frustrated, I got another PC, downloaded my MSN dialup and now... I stillHAVE questions about the addition of the computer. The 2 computers are not connected. Stand alones. Telephone lines checked. Audited modems. Microphone seems to keep secrets. And obviously can't solve my problems. Visibly frustrated spendinging 15 hours on the phone, and tired of the Microsoft Music on hold. Should I cancel? Today, same hot mail was. Using Internet Explorer, I get ERROR 500 messages or a web page from Microsoft to the particular address no longer exists. Unable to navigate while using MSN Internet Browser. What in the world that happens to us all the MSN people?

    Hi Buck,

    The question that you are running better agrees to the MSN forum at the link below.

    http://answers.MSN.com/forums.aspx?ForumID=c58ac82d-9d92-4FE0-8681-91e2d0bb1268

    For the related issue of Windows or anything related to the Windows operating system, do not hesitate to contact us and we will be happy to help you.

  • WRT160N... password does not work to get back in line to restore settings after update firmware.

    The reason for the update of the firmware has been that the router would constantly disconnect, even if the ISP has been connected.  I was hoping that would solve the problem.

    Failed to connect to router just after the firmware has been updated successfully (what said on the screen), but could not use "continue" to to precede.

    Because the screen indicates the success, I closed the browser and reset the default router.

    The next step in the process is to access the configuration page of the router web-based and restore my settings.

    The PROBLEM... Now my password does not work to allow me access to the page of the router's web-based Setup to restore the settings.

    I have an account, but nowhere in the account he mentions the password settings.

    When you reset the default router, the router returns to a cache of user name and a password of 'admin' (without the quotes).  Please try to connect to your router.

    If you continue to have problems, then you must try to reset the router by default.

    To reset your router by default, follow these steps:

    (1) turn off all computers, the router and the modem and disconnect from the wall.
    (2) disconnect all the wires of the router.
    (3) turn on the router and let it start up completely (1-2 minutes).
    (4) press in and hold the reset for 30 seconds button, then release it, then let the router reset and restart (2-3 minutes).
    (5) turn the router.
    (6) connect a computer cable to port 1 of the router (NOT to the internet port).
    (7) turn on the router and let it start up completely (1-2 minutes).
    (8) the power of the computer (if the computer has a wireless card, make sure it's off).
    (9) try ping on the router. To do this, click the 'Start' button > all programs > Accessories > command prompt. A black DOS window will appear. Enter the following text: "ping 192.168.1.1" (without the quotes) and press the Enter key. You will see 3 or 4 lines that begin with ' response to... ". "or"Request timed out". If you see "reply from...". ", your computer has found your router.
    (10) open your browser and point it to 192.168.1.1. This will take you to the login page of your router. Leave the user name blank and in the password field, enter "admin" (without the quotes). This will take you to your router configuration page. Note the version number of your firmware (usually found near upper right corner of the screen). Exit your browser.

    If you get this day without problem, try the Setup disk (or configure the router manually, if you prefer) and see if you can get your work and router configuration.

    If you can not ' response to... ". "in step 9 above, your router is probably dead. A report with this problem

    If you get a response in step 9, but cannot complete step 10, is that your router is dead or the firmware is damaged. Related to this issue.

    If you need additional assistance, please indicate your ISP, the make and model of your modem, the firmware version of your router and the results of steps 9 and 10. In addition, if you receive error messages, copy them exactly, and report.

    Please let me know how things turn out for you.

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

    Hello!

    I have problems connecting to my network. I stay in a House (not my own) and I can't connect to the network in this House. When I choose the option 'connect to a network', nothing happens. I followed the instructions to display the "Device Manager" and watch the 'map', and he said:

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

    Click on 'Search for solutions' to send data about this device to Microsoft and to see if there is a solution available. »

    When I click on this button, nothing happens... Should I simply wait for Microsoft to return to me - or is there something else I need to do?

    Thank you!

    Hello

    You must get the drivers latset for m computer support site.

    Delete the "false: entry in Device Manager and install the new drivers."

    Jack-MVP Windows Networking. WWW.EZLAN.NET

  • A refurb Lenovo/IBM PC windows 7.0 SW, software code does not work for charging SW after a system restore

    A refurb Lenovo/IBM PC windows 7.0 SW, software code does not work for charging SW after a system restore. How can I get a new one

    Skip, enter the product key, and then complete the installation.

    Try the phone activation:

    How to activate Windows 7 manually (activate by phone)
     
    1) click Start and in the search for box type: slui.exe 4
     
    (2) press the ENTER"" key.
     
    (3) select your "country" in the list.
     
    (4) choose the option "activate phone".
     
    (5) stay on the phone (do not select/press all options) and wait for a person to help you with the activation.
     
    (6) explain your problem clearly to the support person.
     
    http://support.Microsoft.com/kb/950929/en-us

Maybe you are looking for