Why don't match the values of printer ports, obtained through WMI in different ways?

Why don't match the values of printer ports, obtained through WMI in different ways?
$Ports = Get-WmiObject Win32_TcpIpPrinterPort -namespace "root\CIMV2" -ComputerName $ComputerName
$Printers = Get-WmiObject Win32_Printer -namespace "root\CIMV2" -ComputerName $ComputerName
Further, for example, on the same computer $Ports.Name returns me: (10.0.66.204 10.0.66.210 10.0.66.246 10.0.66.247)
and $Printers.PortName (XPSPort: USB001 10.0.66.247 HPLaserJet400MFPM425dn 10.0.66.246 SHRFAX :) I.e. the values don't match to each other although they logically should be the same. Why so?
In the end I need to get a binding the printer - the value (not the name) of the port. In Win32_Printer there is no such parameter, and there is no information about the printer in Win32_TcpIpPrinterPort. I wanted to connect them through port name but they
don't match.

Very unclear.
Win32_Printer returns the bound port name.
Get-WmiObject win32_tcpipprinterport -filter "Name='192.168.1.100_2'"
¯\_(ツ)_/¯

Similar Messages

  • 11.1.1.4:Could not find the item selected to match the value of type Number

    Hi,
    I have a taskflow with an input parameter.
    The input parameter value is to be assigned to a list item as the default selected value.
    I have mapped the pageFlow scope parameter to set value to the list item using input page parameters defined in task flow.
    but When i Run the task flow the value does not get assigned to the drop down list and jdevloper console screen shows up the following message
    "Could not find the item selected to match the value 2 by type: oracle.jbo.domain.Number in LOV."
    But If I click the Lov to check the values it shows that value is present in the list.
    The same configurations works if the list of values is for a column with type as java.lang.String.
    Is it somethng different that is to be done for a Number field to assign value from a taskflow parameter?
    Edited by: user3067156 on Jun 25, 2011 3:34 PM

    Hi Jobinesh,
    I am assigning the default value in the task flow using input page parameters ...
    <view id="VIEW1">
    <page>/title.jsff</page>
    <input-page-parameter>
    <from-value>#{pageFlowScope.pInputTyp_Id}</from-value>
    <to-value>#{bindings.pTyp_Id1.attributeValue}</to-value>
    </input-page-parameter>
    </view id>
    It does not assign the value, if Bind variable(pTyp_Id1) NDtype and task flow input parameter(pInputTyp) class type, both are set to use type oracle.jbo.domain.Number.
    If I change both to use java.lang.String and additionally also change the VO defination the accept the bind variable of type string, it assigns the value correctly.
    Usecase:
    I have a a task flow for which has its first page a search page.
    The Search page is created using operation execute with params and dragging the query parameters on the page.
    The Query parameters are to be filled using a select one choice option and the list is bound to the master values.
    This task flow can be used inside a standalone page as a region to provide a search page
    The same task flow can be called from within another taskflow which will provide the default values for the drop down lists ..
    Since the search page is a jsff fragment i dont have a page on load handler to provide default values..
    So assiging the values using input page parameters defined in task flow view tag.
    For testing I am passing the taskflow input parameters by calling the task flow from a jspx page a region . When I configure this task flow a region in a page its asks for providing the values for the parameters
    And the same gets configured in my testpage def as
    <executables>
    <variableIterator id="variables"/>
    <taskFlow id="Flow1" taskFlowId="/WEB-INF/Flow1.xml#Flow1"
    activation="deferred"
    xmlns="http://xmlns.oracle.com/adf/controller/binding">
    <parameters>
    <parameter id="pTyp_Id" value="1207"/>
    </parameters>
    </taskFlow>
    </executables>
    Edited by: user3067156 on Jun 27, 2011 1:50 PM

  • Apple TV - I Still Don't See The Value

    I have had an Apple TV for a couple of years now and unfortunately I don;t see the value in it anymore. Apple has paid no attention to what this thing can be. And while I know that the goal is to make money, it's a shame that so many digital components are being left out.
    For those of you who have an Xbox, you recently received Netflix and Last FM.
    For whatever reason, Netflix downloads almost instantly on the Xbox. Apple TV take a pretty long time, and at least 4 hours for HD movies. Why is this?
    Second, LastFm is like Pandora. While the addition to internet Radio is nice, why not bundle up with Pandora?
    Finally, why not intergrate this into other digital spaces like facebook, twitter and even Hulu..... The entire thing doesnt make sense.
    I currently only use this thing for Photos, and really that's even a pain in the *** because I need to have it identical to what's on my MAC. The whole system *****, and frankly not well thought out.
    In fact, I personally think that their should be an APP store on the Apple TV, like the Iphone..... There is so much they can do to make this system better. In the meantime, Xbox has gained ground, if not passed them as a entertainment hub for the TV.... and honestly, I think they have only scratched the surface.
    In a few years, I believe we will be capable of not needing cable, directtv, etc... We should be able to Pick "CBS" and pick a show...and watch....Through the internet. Not actually buying shows.

    While there may be groups of users who want it to be an all-singing all-dancing machine for certain tasks, not every group will want the same things. Therein lies the problem, what to develop particularly when many options won't be cash-cows.
    You presumably bought it for the feature set it had and it still has those things.
    I'd buy one tomorrow for music playback alone via the hi-fi - my wish here would be for it to support better quality PCM audio output (limited to 16 bit 44.1kHz for music).
    Mine get hours of use each day for family viewing, no messing around with VHS tapes or discs. Great.
    I wish they hadn't added YouTube in 1.01 to be honest and even some aspects of iTunes store annoy me on it, though on balance I prefer the store is present.
    I wouldn't use Twitter/Facebook and all that kind of stuff - not my thing really so it would be of no interest and just clutter menus, but I appreciate others would like them
    Adding apps/plugins would be a good way to address different wants for the system as you'd customise in line with what you wanted and wouldn't be forced to use things you didn't need.
    With regard to things like Netflix/Pandora etc many of these are country specific eg Pandora stopped those outside US from accessing it, Netflix is not available in UK. Last FM is great on the iPhone, I'd love it on the AppleTV. UK users would love BBC iPlayer, it would be useless to you.
    So without opening up the system to allow 3rd parties to deploy local content/features specific to each country I would imagine it would be very hard to target what to develop in house that would work universally.
    There are also usage concepts that annoy - syncing being one for a variety of reasons, I'd prefer a manual drag and drop method of populating it, but I mainly stream anyway. It's the AppleTV 'way' though so it won't change. USB port activation would also be incredibly handy either to backup material, extend playback storage or populate AppleTV. Again, unliklely to change.
    You presumably know the feedback link:
    http://www.apple.com/feedback/appletv.html
    AppleTV may not be perfect but I don't think there is a perfect device out there currently - the competition is certainly hotting up though.

  • Trace logs don't show the value of a procedure parameter.

    Hi;
    I am Facing a deadlock situation daily.
    I checked the alert.log and it look like this:
    ORA-00060: Deadlock detected. More info in file /oracle/admin/TEXP/udump/texp_ora_28966970.trc.Then i read the trace log, but it doesn´t show the value of procedure parameters.
    insert into estq_300 (data_movimento, codigo_transacao, nivel_estrutura, grupo_estrutura, subgrupo_estrutura,
    item_estrutura, quantidade, valor_movimento_unitario, valor_contabil_unitario, codigo_deposito, numero_lote,
    centro_custo, usuario_systextil, processo_systextil, tabela_origem, entrada_saida, numero_documento) VALUES
    (:v1, :v2, :v3, :v4, :v5, :v6, 1.00, :v7, :v8, :v9, 0, 0, :v10, :v11, 'ESTQ_300', 'E', :v12)
    End of information on OTHER waiting sessions.
    Current SQL statement for this session:
    UPDATE TB_Y SET QTDE_ESTOQUE_ATU = QTDE_ESTOQUE_ATU + :B11 , QTDE_ESTOQUE_MES =
    QTDE_ESTOQUE_MES + :B10 , DATA_ULT_ENTRADA = :B9 , DATA_ULT_SAIDA = :B8 , QTDE_ESTOQUE_F =
    QTDE_ESTOQUE_F + :B7 WHERE CDITEM_NIVEL99 = :B6 AND CDITEM_GRUPO = :B5 AND CDITEM_SUBGRUPO =
    :B4 AND CDITEM_ITEM = :B3 AND LOTE_ACOMP = :B2 AND DEPOSITO = :B1I sent the trace logs to the software supplier, but they want the parameter values.
    I'm reading the documentation and searching on the forum, but until now i can't find anything to help me. Is there any way to see the parameter value?
    This is a large database with a lot of users, so I can't trace all of them and wait the deadlock occurs.
    DATABASE:
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    OS:
    AIX Version 6.1! Regards,

    sb92075,
    thanks for reply,
    This VW's helped a lot, but i have one doubt:
    Why some SQLs don´t show the value of it´s binds?
    The last captured is null too, why?
    Example:
    SELECT name, position, last_captured, value_string FROM v$sql_bind_capture WHERE sql_id LIKE '%ahfqand46px43%';
    NAME                           POSITION               LAST_CAPTURED             VALUE_STRING
    :V1                            1
    :V2                            2
    :V3                            3
    :V4                            4
    :V5                            5
    :V6                            6Thank's

  • HT5787 I just set up an apple id. I'm trying to verify my backup email. getting msg that my password and birthdate don't match the setup. Really? Ok maybe, but how do I fix this?

    I just set up an apple id. trying to verify my backup email. getting msg that my password and birthdate don't match the setup. Really? Ok maybe, but how do I fix this?

    Why don't you just go to https://iforgot.apple.com and reset the password on the original ID?

  • Why don't have the option of using the mackie control to use consoles with motorized father

    In the audition 3.0 this option is ready with not in this version?

    Why don't have the MAC computers a hard video card????.....in this case all of my friends buy PC....Because they can buy a PC with 2 GB video card
    It partly has to do with form factor. To get a Mac Mini, iMac, MacBook, MacBook Pro, or MacBook Air as slim as they are, the video is always integrated into the main board. Windows laptops are the same way for the same reason. They aren't designed to have a video card that can be swapped out.
    The only way to buy a Mac with an actual card is the Mac Pro, where you currently have a choice of the ATI Radeon HD 5770, or an upgrade to the 5870.
    Most PCs are towers, which by design always use a video card, so you can choose pretty much whatever you want to stick in it. More than that, PCs still use plain ol' BIOS, which greatly increases the choices of cards available.
    Mac Pros don't have that luxury. Video cards for the Mac need Mac firmware on them to be recognized during startup by Open Firmware in older Macs, and EFI in newer Macs. While it's the same PCI 2.x slot, you can't just slap any video card you want in there.

  • My thumb nails don't match the picture it represent.

    I am having a problem with AP . most of my thumbnails don't match the pictures they represent and some time even the preview for brief sec will be wrong and then quickly change to the right picture.
    any help here would be great

    I came up with the same fix a while back, but I just moved them instead of copying them. It worked, but I like your method better because it seems safer.
    DLS

  • HT2729 after downloading a tv show the words don't match the lips any fix for that?

    After downloading a tv show the words don't match the lips, is there any fix for that? 

    Do you live in a country where you can redownload tv shows?
    Learn more about which content types are supported for iTunes in the Cloud by country, as well as where iTunes Match is available.

  • Using a two separate 6534 cards I'm trying to code-up a simple test for my UUT (memory device). I need to write a pattern into the device and read back the pattern and verify it matches the value written.

    I need the simplest method of using two 6534 cards for a memory (UUT) test. I want to write (byte-wide) a pattern (A5,5A) into the UUT, then read it back and verify it matches the value written. Things that change are: Address inputs (increment by 1 for each read/write) with the control signals (card 1) and data values written/read (card 2). If I detect a mis-match, the test stops, I read the location one more time and verify it's really incorrect, the correct value is written back into the same location just read, a counter is incremented to keep track of the tota
    l errors detected and the test (memory read/verify) is resumed. Each time through the memory another counter is incremented to track the number of passes through the memory read test. The test should terminate when the operator hits the VI panel STOP TEST button.

    Dave
    Check out chapter two of the 653x User Manual for information on the different modes of operation. There it explains the difference between strobed and unstrobed I/O as well as Pattern I/O and Handshaking. It sounds as though unstrobed should work unless your UUT requires hardware timing or handshaking. You will have to keep track of errors in software however since the 6534 does not have any counters on it.
    Brian

  • Hi, dear Sirs! I'd like to suggest this: as I installed 4 Airport Extreme Units in my apartment connected to Powered loudspeakers, why don't give the choice to send streaming data to all the units so I can hear music trough each unit? Thank you, V M

    Hi, dear Sirs!
    I'd like to suggest this: as I installed in my apartment  N° 4 Airport Extreme Units each one connected to Powered loudspeakers, why don't give the choice to send streaming data to all the units so it is possible to hear music trough each unit?
    Thank you,
    Valerio Maioli

    Dear tzbikowski
    really many thanks for your prompt and right reply.
    I didn't know it, but I found in iTunes popup, not only you can adjust the volume of each unit too!
    But, I have another question, sorry:
    This facility is on Safari Mountain Lion SW, but is it on iOS 6.01 or 5.1.1 as in my iPad ?
    Valerio

  • HT5312 Every time I do all the steps to reset the questions the only problem I have is that I noticed in the link to reset them using an email the email in the link don't match the one I created my account with. Does anyone know how to fix this problem?

    Every time I do all the steps to reset the questions the only problem I have is that I noticed in the link to reset them using an email the email in the link don't match the one I created my account with. Does anyone know how to fix this problem?

    You won't be able to change your rescue email address until you can answer your questions, you will need to contact iTunes Support / Apple to get the questions reset.
    Contacting Apple about account security : http://support.apple.com/kb/HT5699
    When they've been reset you can then use the steps half-way down the HT5312 page that you posted from to upadte your rescue email address for potential future use

  • HT5012 On phone my albums covers don't match the music. How do I fix that.

    On phone my albums covers don't match the music. How do I fix that?

    1. Make sure you are using the latest software
    2. Sign out, reboot and sign in again
    3. Make sure Date and Time is correctly set; Settings>General>Date and Time>Set Automatically>On
    4. Make sure phone number or email address is correct
    5. Hold the Sleep and Home button down (together) until you see the Apple Logo

  • I have over 60,000 photos in my iPhoto.  When my screen saver comes on it randomly shows certain photos.  Often, these photos are old and I in turn find the desire to print said photo.  Is there a way the screen saver can convey a photo file name as well?

    I have over 20,000 photos in my iPhoto.  When my screen saver comes on it randomly shows certain photos.  Often, these photos are old and I in turn find the desire to print said photo.  Is there a way the screen saver can convey a photo file name or location as well?  Can I create a slideshow of all my photos to cycle through at leisure with photo info?  Lastly,  I know I have duplicates and have tried numerous software programs to delete duplicates to no avail.  What do you recommend as a method to reduce duplicates on iphoto?  Thanks for your time.

    1. No.
    2. Yes.
    3. Some apps for dealing with duplicates in iPhoto
    iPhoto Library Manager
    Duplicate Annihilator
    Decliner
    iPhoto Duplicate Cleaner

  • I've had my iMac put away for about a year, now I can not remember the admin password upon startup. And I don't have the installation cd's (of course)! Is there any way to re-boot, re-do, get into my Mac to change it.  I don't remember it even w/ the hint

    I've had my iMac put away for about a year, now I can not remember the admin password upon startup. And I don't have the installation cd's (of course)! Is there any way to re-boot, re-do, get into my Mac to change it.  I don't remember it even w/ the hint

    Call Apple with the Serial and they will send you the ones that came with the Mac. Or search the Net.

  • My computer crashed, I don't have the serial number for lightroom 4.  Is there any way to retrieve the serial number.  I can't remember where I purchased this.

    My computer crashed, I don't have the serial number for lightroom 4.  Is there any way to retrieve the serial number.  I can't remember where I purchased this.

    Lfiles37 if the serial number has been registered then it will be available under your account.  You can find more details at Find your serial number quickly - http://helpx.adobe.com/x-productkb/global/find-serial-number.html.

Maybe you are looking for

  • MacBook Pro will not boot into Windows 7.

         I am sorry if this has been discussed before, but I could not find a correct answer.  I recieved my 15" MacBook Pro last week, and I swapped out a few of the inside's for upgrades.  I replaced the optical drive with a NewMode 2nd HDD Caddy, and

  • Restoring defined sites

    Hi, I had a number of defined sites in Dreamweaver MX. When I start DW MX, my defined sites would normally appear in the site panel/window. This morning they were not there - none of my sites exist any more! Please can someone tell me how I can resto

  • Mail Messages Body Do Not Print...Any Ideas?

    When printing an email, the header prints, but the body often does not print, more often when there is an attachment. IF I close the email, and reopen it, then print, it will often print without issue. Any ideas or workarounds that do not require me

  • How to set a Caption/title in ALv

    Hi frnds, Can you tell me how to set a caption/title to a ALV grid. Regards Anuj

  • GR wrt different delivery date of PO

    If there is a PO, having 10 line items, mentioned different delivey date in each line items of the PO. So in this case,How many GRs will be created againts the PO, it's require 10 GRs atleast or there is any other way by which one GR is sufficent for