Help with the PowerShell Script to return speeds - object error - NIC op_Addition physical MethodNotFound

Hello

I have some related issues oppose executing this script to list physical NETWORK card speeds by NIC for each host. The error is:

The method call failed because http://System.Management.Automation.PSObject contains not one me

Taylor named "op_Addition.

Online: 12 char: 23

+ += $NicSpReportObj < < < < $NicSpReportObj

+ CategoryInfo: InvalidOperation: (op_Addition:String)], RuntimeException

+ FullyQualifiedErrorId: MethodNotFound

Hostname Teddy speed

esx14.domain.com pnic0 1000

It will list until I would be the last entry in the object but of course its not adding in the previous info (or deleting it may be).

If someone could take a look it would be great.

Thank you

Dan

Script (also attached):

$VMHosts = get-VMHost | Sort name | Get-View

$NicSpReport = @)

$NicSpReportObj = "" | Select-Object HostName, Teddy bear, speed

Foreach ($VMHost to $VMHosts)

{

$pnic = 0

{}

$Speed = $VMHost.Config.Network.Pnic [$pnic]. LinkSpeed.SpeedMb

$NicSpReportObj.HostName = $VMHost.Name

$NicSpReportObj.pNIC = ' teddy bear$ Teddy. "

$NicSpReportObj.Speed = $speed

$NicSpReportObj += $NicSpReportObj

{$pnic ++}

Until the ($pnic - eq ($VMHost.Config.Network.Pnic.Length))

}

$NicSpReport += $NicSpReportObj

$NicSpReport | FT - AutoSize

I have a little rewriting of your script. I hope it will do what you want now:

Get-VMHost | ForEach-Object {
  $VMHost = $_
  $VMHost.Extensiondata.Config.Network.Pnic | ForEach-Object {
    $NicSpReportObj = "" | Select-Object HostName, pNIC, Speed
    $NicSpReportObj.HostName = $VMHost.Name
    $NicSpReportObj.pNIC = $_.Device
    $NicSpReportObj.Speed = $_.LinkSpeed.SpeedMb
    $NicSpReportObj
  }
} | Sort-Object -property HostName,pNIC | Format-Table -AutoSize

Best regards, Robert

Update: moved the Sort-Object cmdlet at the end of the script to also perform a sort on the attribute of Teddy.

Post edited by: RvdNieuwendijk

Tags: VMware

Similar Questions

  • Help with the Powershell script to collect logs from all domain controllers

    I am writing a script to retrieve the last 5 days of application, security and log files from all domain controllers. The script runs, but fire the logs from the local server only. The variable $Computer has all of my DC so it's the fine mark. I guess it's a problem with my line ForEach-Object, but is not error. See the below script.

    $log = 'application '.
    $date = get-date-format MM-DD-YYYY
    $now = get-date
    $subtractDays = new-object System.TimeSpan 5,0,0,0,0
    $then = $Now.Subtract ($subtractDays)
    $Computers = get-ADDomainController-filter *.
    ForEach-Object - InputObject $Computers - process {Get-EventLog - LogName $log - after $then - before $now - EntryType error | select EventID, MachineName, Message, Source, TimeGenerated |} ConvertTo-html | {Out-file $env:TEMP\Applicationlog.htm}
    Invoke-Expression $env:TEMP\Applicationlog.htm

    Thank you

    Rich

    Hello

    To help with the repost the question script to the script Center Forum

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

  • Need help with the curve of a group of objects

    Salvation Group;

    This is my first post in this group. I'm quite new to Adobe Illustrator CS5, and I had to start using it to provide the type of file to a printer for Sublimation in the USA. They use CS5, and all colors are limited to the Pantone Solid Coated for their printing system. I'm swimsuit fabric printing.

    However, my question is probably very basic. It is also frustrating, because I have already successfully did this that I ask, just do not remember how I did it.

    Curved Objects Example.jpg

    In my image, the upper rectangle has curved shape finished (bottom). I've done this before, with in fact several objects together. They all have the curve with the rectangle.

    I tried to do it again, using all kinds of transformation tools (shear), the tools of the effect and everything I could find, but nothing has worked. I thought that maybe to shear would work if I could fix in the middle of the rectangle and shear on both sides of the rectangle to the top, but it does not work. I think I'll start to take notes when I find something that works!

    How this simple curves of single object or group of objects? It can be done, I know!

    Thank you, Tom.

    You can also use the Suspender Warp or distort the Emvelope > make with Warp Arc

    How to apply it

    as individual objects and the other as a group

    As objectrs

    As a group

  • I need help with the following updates. I get an error code "646".

    Update of security for Microsoft Office 2007 (KB951550)

    Update of security for Microsoft Office Excel 2007 (KB978382)

    Update of security for Microsoft Office System 2007 (KB951944)

    Update of security for Microsoft Office System 2007 (KB978380)

    The 2007 Microsoft Office Suite Service Pack 2 (SP2)

    Update for the junk e-mail in Outlook 2007 (KB979895) filter

    Update for Microsoft Office System 2007 (KB967642)

    Manually download each update here:

    IE: http://www.microsoft.com/downloads/en/results.aspx?freetext=KB951550&displaylang=en&stype=s_basic

    and install the same.

    TaurArian [MVP] 2005-2010 - Update Services

  • Help with the Printer Spooler service does not work error

    How can I fix printer service spooler does not work error? My two printers won't work now, and re - install the printing software produces error messages. Tried to use microsoft fix - it for printers without result.

    Thank you.

    Hi elvenlord21,

    See the article below which has some useful suggestions to fix the print spooler error.

    You cannot add a printer and you receive Printer Spooler error messages in Windows XP
    http://support.Microsoft.com/kb/324757

    See also:

    Error message when you use the Add Printer Wizard: "Operation could not be completed.
    http://support.Microsoft.com/kb/314876

    Kind regards

    Shinmila H - Microsoft Support

    Visit our Microsoft answers feedback Forum and let us know what you think.

  • With the help of the mouse click to return the coordinates of the image.

    Okay, so I tried to find a way to do it, and it seems very complicated for something that sounds really simple.

    Anyway. I have a camera that updates an object image on the front panel using a while loop. I have another image object that is updated with a still image when you press the button "snap." Now what I want to do is to click on a point in the image that are broken and have the VI to return the coordinates of this pixel as part of coordinated image.

    What I have so far is a structure of event in the while loop with the following to happen where "image object-> the mouse down:

    Server reference (reference to the image object)-> property (last position of the mouse)-> output coordinated screen node.

    I have two errors that don't make much sense to me (I have not worked with before event structures): ' event data node contains terminal unwired or bad "and"structure of the event one or several cases of event have no defined event. " This second shot seems odd because I don't actually want nothing to take if there is no click of a mouse. The first seems to refer to the box of the element on the left side of the structure of the event.

    Above is my last attmpt to the trouble of sorting and as far as I can see it should work. whatever about the errors, I even take the right approach with that? I would have thought cordinates image would be quite common but seek advice here, it does not seem...

    A bit puzzled here. Any help is very appreciated.

    Hello RoBoTzRaWsUm,

    I took a glance at your VI, who took a correct approach to the data you are looking for.  As you structure to aid and the event, you should look for an event to occur.  When you use a property node, you try to read an attribute of a control.  However, in a Structure of the event, I think you should use a node to invoke.  Allows a node to invoke your read an event or write a method with the control class in LabVIEW.

    1. place down and call the node in the Palette of functions in "Programming"-> "Application Control".

    2 wire your reference Image control to this

    3. click on the method, and then select 'get a last event. "

    4. right click on "Events that" and "create Constant.  Do the constant '1' in the table

    5. read the Cluster "Contact information" from the left side of the case of the event by clicking and "create indicator.

    You will find a piece of code attached example.

    Concerning

  • Need help with the launching track pack for forza code 4

    Bought new Forza 4 and the lancer Track Pack code does not work, how do I get a code that is generated in the form I've already paid for it. Rank of loads of numbers and sent 10 s of emails but cant seem to get help.

    This is the help I get when the cat to an Ambassador xbox on xbox.com

    Terry wrote:
    Need help with the launching track pack for forza code 4
    The Xbox Ambassador says:
    Location of Ambassador of the community...
    The Xbox Ambassador says:
    Location of Ambassador of the community...
    The Xbox Ambassador says:
    Your question will be answered by an Ambassador of the Xbox. You have been connected to the Ambassador as a user Xbox [3]
    The Xbox Ambassador says:
    Hello
    Terry wrote:
    Hello
    The Xbox Ambassador says:
    Hey
    Terry wrote:
    just to be on the phone to xbox live support and was told to come here
    The Xbox Ambassador says:
    ok\
    The Xbox Ambassador says:
    What is your problem?
    Terry wrote:
    I bought the 4 for forza ansd 360 new sealed Christmas...
    Terry wrote:
    has got 2 codes that accompanies the game but the pack track code does not work
    The Xbox Ambassador says:
    Wow good
    Terry wrote:
    whenever I put in the code it says code redeemed
    The Xbox Ambassador says:
    I think the code is used. You must return to the retailer
    Terry wrote:
    I tried to, but since I already opened the case they will not accept
    The Xbox Ambassador says:
    Oh. No,
    Terry wrote:
    the code had been used or defective as I am the only person who has touched the game once opened, tried to enter the code when it is open
    The Xbox Ambassador says:
    Maybe it was auto bought?
    Terry wrote:
    so, how do I get another code generated track Pack if defective?
    The Xbox Ambassador says:
    I do not know.
    Terry wrote:
    bought the game new, so I get the track pack
    The Xbox Ambassador says:
    Oh. It's bad.
    The Xbox Ambassador says:
    I think that if you Exchange 1 code it will buy it
    Terry wrote:
    car pack code worked, starter pack did not work
    The Xbox Ambassador says:
    Oh.
    The Xbox Ambassador says:
    It's a bad
    The Xbox Ambassador says:
    BTW you have an evolution of the tests?
    Terry wrote:
    Yes, I want to? but more anxious to get a code object generated for this pack
    The Xbox Ambassador says:
    Hey if I help can u give me this game too?
    Terry wrote:
    ?????????????????
    Terry wrote:
    So is it possible to get a code for that time?
    The Xbox Ambassador says:
    Hey
    The Xbox Ambassador says:
    Yes.
    The Xbox Ambassador says:
    you need to contact them
    The Xbox Ambassador says:
    and tell them that the code is used.
    Terry wrote:
    I was told to come here? where can I go to get the code?

    Hi Terryg76,

    ·         What version of the operating system is installed on the computer?

    I suggest you to contact the game manufacturer for more help and information.

  • Please help with the problems of Vista SP2

    So I spent all day on the forums here and I'm head over heels.  I had problems with Windows update and some other problems on my Dell Studio XPS.  It is a tower with double HDs in RAID mirror running Vista 64-bit with SP2.

    I got it for 3 years and I thought that I clean and correct certain defects to go back to the original Dell factory condition.  That did not fix the update install problem I did cleaning.  Now it's worse.

    I'm trying to install SP2 and get a catastrophic failure 0x8000ffff error-UNEXPECTED

    The onlychange is that several months ago, one of my WD 640 GB drives factory failed and I replaced it with a Seagate Barracuda 1 TB since I couldn't find a 640 GB drive.

    I tried to stop and restart all services BITS, etc. no luck.

    I tried to run among the MS FixIt for the problem of update, but it fails because it says that it cannot initialize the powershell.

    Help, please... I'm hopelessly lost and can not spend more money on this thing.

    Thank you!

    If you need additional help with the clean install, please start your own, new topic in this forum: http://answers.microsoft.com/en-us/windows/forum/windows_vista-system

    If these procedures look too complex - and there is no shame in admitting this isn't your cup of tea - take the machine to a local, good reputation and independent (i.e., not a BigBoxStore or a Geek Squad) computer repair shop & ask them to do the job.

  • can someone help with the following code plsql errors...

    Hello

    If anyone can help with the following code... to get a successful outing.

    create or replace package lib_01 as

    procedure lib_proc01 (p_user_id in numbers, p_user_name in varchar2);

    end lib_01;

    create or replace package body lib_01 as

    procedure lib_proc01 (p_user_id in numbers, p_user_name in varchar2) as

    number of v_user_id;

    v_user_name varchar2 (50);

    number of v_avl_books;

    number of v_avl_days;

    date of v_end_date;

    date of v_return_date;

    Start

    dbms_output.put_line ('Enter User Name');

    dbms_output.put_line (' username :'|| p_user_name);

    Select user_id, user_name in v_user_id v_user_name of user_registration where user_name = p_user_name;

    If v_user_name <>p_user_name then

    dbms_output.put_line (' username is not.) Please submit full name ');

    end if;

    If v_user_id is null or v_user_name is null then

    dbms_output.put_line ("' user not found");

    validate_userLogin;

    on the other

    validate_issuedbooks (p_issuecount);

    end if;

    If v_issuecount < v_avl_books then

    issuebooks;

    on the other

    Number of return of late_fee (p_mem_id, p_extradays, p_latefee_total);

    end if;

    If paid_flag = "Y" then

    issuebooks;

    on the other

    dbms_output.put_line ("' book may be issued due to its maximum reached late fees");

    end if;

    end lib_proc01;

    procedure validate_userLogin is

    procedure reg_proc is

    procedure user_validate (p_id_proof in varchar2, p_id_no out varchar2) is

    v_id_proof varchar2 (20);

    v_id_no varchar2 (20);

    Start

    Select user_name, id_proof, id_no, v_user_name, v_id_proof, v_id_no of user_registration where id_proof = p_id_proof;

    If v_id_proof = "Adhar_Card" then

    dbms_output.put_line ('user a valid proof of ID');

    dbms_output.put_line (' and the id no. :'|| is p_id_no).

    on the other

    dbms_output.put_line ('Invalid ID evidence.) Please submit valid proof of ID ');

    end if;

    exception

    When no_data_found then

    dbms_output.put_line ('No Data found');

    end user_validate;

    procedure member_validate (p_mem_id series)

    v_mem_flag char (1);

    curr_date date: = sysdate;

    date of v_mem_enddate;

    Start

    dbms_output.put_line('Mem_flag:'|| v_mem_flag);

    Select mem_flag in the v_mem_flag of user_login where user_id = v_user_id;

    If v_mem_flag = 'n' or v_mem_flag is null then

    dbms_output.put_line ('The User do not have membership');

    on the other

    Select mem_id in the v_mem_id of user_login where user_id = v_user_id;

    dbms_output.put_line ('the user has membership');

    v_mem_id: = p_mem_id;

    Select mem_enddate in the member_login v_mem_enddate where mem_id = v_mem_id;

    If v_mem_enddate < curr_date then

    dbms_output.put_line ('Membership has expired' | v_mem_id |' on ' | v_mem_enddate);

    on the other

    dbms_output.put_line ('User a validity again' | v_mem_enddate);

    end if;

    end if;

    exception

    When no_data_found then

    dbms_output.put_line ("' no data found");

    while others then

    dbms_output.put_line (' another error.) Please find");

    end member_validate;

    Start

    insert into user_registration values ('& first_name ',' & last_name', null, ' & user_type',)

    address_ty ("& bldg_no",

    '& bldg_name',

    '& Street',

    ' & city ",

    '& State',

    '& zip'

    ),

    user_phone ',' & user_mail ',' mem_idproof', ' & id_no');

    Dbms_output.put_line ('user is properly registered');

    exception

    When no_data_found then

    dbms_output.put_line ("' data not found");

    end reg_proc;

    Start

    Dbms_output.put_line (' enter ID or user name ');

    Dbms_output.put_line (' username: ' | p_user_name);

    If v_user_name is null then

    Dbms_output.put_line ('user not found');

    reg_proc;

    Insert user_login SELECT user_id_seq. NEXTVAL, user_name, NULL, mem_id_seq. NEXTVAL, user_type FROM user_registration WHERE user_name is lower (p_user_name);

    Dbms_output.put_line (' because the user wants to have the membership? ");

    Dbms_output.put_line ('If Yes, please pay dues");

    INSERT INTO member_login SELECT mem_id_seq. CURRVAL, SYSDATE, SYSDATE + avl_days, 500, 'Y' of user_login ul, bl book_loan WHERE ul.mem_type = bl.mem_type AND user_name = p_user_name;

    END IF;

    exception

    When no_data_found then

    dbms_output.put_line ("' no data found");

    When too_many_rows then

    dbms_output.put_line (' too many lines).

    END validate_userLogin;

    procedure validate_issuedbooks (p_issuecount series)

    number of v_issuecount;

    Start

    Select user_login u, bl book_loan, avl_days, avl_books in v_avl_days, v_avl_books where bl.mem_type = u.mem_type and user_id = p_user_id;

    SELECT count (case when end_date < end return_date then p_mem_id) as invalidcount in v_issuecount from book_count where mem_id = p_mem_id;

    v_issuecount: = p_issuecount;

    dbms_output.put_line (' no. books that the user contains the :'|| p_issuecount);

    end validate_issuedbooks;

    procedure issuebooks is

    procedure book_avl (p_avl_now_flag in p_avl_date Boolean, date) is

    v_avl_now_flag char (1);

    date of v_avl_date;

    procedure reader_bookissue is

    Start

    insert into values drive (p_user_id, v_book_id, sysdate, sysdate, null);

    insert into book_count values(p_mem_id,v_book_id,sysdate,sysdate,null);

    Update book_availability set issued_to is "Reader" where book_id = v_book_id;.

    end reader_bookissue;

    Start

    Select book_name, b.book_id avl_now_flag v_book_name, v_book_id, v_avl_now_flag of the book b, book_availability b where b.book_id = ba.book_id and ba.book_id = p_book_id;

    If v_avl_now_flag = "Y" then

    dbms_output.put_line ('the book is available for issuance' | v_book_id);

    on the other

    Select mem_type in the v_mem_type of user_login where user_id = (select user_id from book_availability where avl_now_flag = 'n' and book_id = p_book_id);

    If v_mem_type = "Reader" then

    reader_bookissue;

    dbms_output.put_line (' the book is with Reader.) Please try tomorrow.') ;

    on the other

    dbms_output.put_line ('the book is member');

    end if;

    Select avl_date in the book_availability v_avl_date where book_id = p_book_id;

    v_avl_date: = p_avl_date;

    dbms_output.put_line (' the available date is: ' | p_avl_date);

    end if;

    end book_avl;

    Start

    insert into book_count values(p_mem_id,p_book_id,sysdate,sysdate+v_avl_days,v_return_date);

    Update book_availability set book_id = p_book_id, avl_now_flag = 'n', avl_date is to_date (sysdate + v_avl_days,' dd-mm-yyyy ""), issued_to = v_mem_type, user_id = p_user_id where mem_id = p_mem_id;

    commit;

    dbms_output.put_line ("' the book published successfully");

    end issuebooks;

    Number of function return late_fee (p_mem_id in number, p_extradays series, p_latefee_total number) is

    number of v_extradays;

    number of v_latefee_total;

    number of v_latefee_per_book;

    number of v_latefee_per_day;

    number of v_book_count;

    Start

    Select trunc (sysdate) - v_end_date in v_extradays from book_received where mem_id = p_mem_id and book_id = p_book_id;

    p_extradays: = v_extradays;

    v_latefee_per_book: = v_latefee_per_day * v_extradays;

    v_latefee_total: = v_latefee_per_book * v_book_count;

    p_latefee_total: = v_latefee_total;

    dbms_output.put_line ('The total AMT for not returned books' | p_latefee_total);

    end late_fee;

    end lib_01;

    Hello

    I checked the first 10 lines after the beginning and I could count already several errors.

    Is it an exercise or a real code, you must provide?

    Kind regards.

    Alberto

  • Need help with the API Explorer

    Hi all

    I am creating a workflow to automate certain tasks of P2V and I want to disconnect the NETWORK adapter prior to anyting on virtual machines. When everything is done, I want reconnect you this NIC I play with vCO for a few months now and I need to get help with the part of the script. I always managed to find a code but this time I did not find anything!

    So I need to script this part! I think I found a way to change the connection settings of the VMXNET3 NETWORK adapter with this part of the code:

    System.getModule("com.vmware.library.vc.vm.spec.config.device").getVirtualVmxnet3(backing,connectable,controllerKey,deviceInfo,key,unitNumber,addressType,macAddress,wakeOnLanEnabled)
    var connectset = new VcVirtualDeviceConnectInfo();
    connectset.connected = false;
    connectset.startConnected = false;
    

    Now, I need to find the way to set these parameters to a VM VMXNET3 adapter?

    How to off the virtual machine to these settings?

    Thanks for your help!

    If you are connected to a distributed switch, they canned for this com.vmware.library.vc.networking.connectVmNicNumberToVirtualDistributedPortgroup action.  If this isn't a vds connect you to, then you need to change then it will have to be slightly modified to use normal NIC instead of vds support.  You will also need to add these lines to the device configuration section:

    devicespec. Device.connectable = new VcVirtualDeviceConnectInfo();

    devicespec. Device.connectable.Connected = true;

    devicespec.device.connectable.startConnected = true;

    I copied this action and added these 3 lines to achieve what it looks like you are trying to do.  We don't really use standard switches in our environment.

    Paul

  • In the Powershell script execution error: could not find the type [ordered]: make sure that the assembly containing this type is loaded.

    People,

    I am trying to load and run the PowerShell script of PowerCLI Module to check the CPU, memory and storage overcommitment. VMware PowerCLI Blog - VMware Blogs but somehow it is always stopped with the error: cannot find the [ordered] type: make sure that the assembly containing this type is loaded.

    Here are some of the diagnostic result:

    $PSVersionTable

    Value name

    ----                           -----

    PSVersion 2.0

    PSCompatibleVersions {1.0, 2.0}

    BuildVersion 6.1.7601.17514

    PSRemotingProtocolVersion 2.1

    WSManStackVersion 2.0

    CLRVersion 4.0.30319.1026

    SerializationVersion 1.1.0.1

    Get-ChildItem ' HKLM:\SOFTWARE\Microsoft\NET frame Setup\NDP'-recurse |

    Get-ItemProperty-name of the EA - 0 Version |

    Where {$_.} PSChildName-match ' ^ (?) (S) \p {L} "} |"

    Select PSChildName, Version

    PSChildName Version

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

    v2.0.50727 2.0.50727.5420

    3.0.30729.5420 v3.0

    Windows Communication Foundation 3.0.4506.5420

    Windows Presentation Foundation 3.0.6920.5011

    3.5.30729.5420 v3.5

    Customer 4.0.30319

    4.0.30319 full

    Get-PowerCLIVersion

    PowerCLI Version

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

    VMware vSphere PowerCLI 5.8 Release 1 build 2057893

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

    Versions of the snap

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

    Build VMWare AutoDeploy PowerCLI component 5.5 1983942

    Build VMWare ImageBuilder PowerCLI component 5.5 1983942

    Build license of VMware PowerCLI component 5.5 1265954

    Build VMware Storage PowerCLI component 5.8 2057894

    Build VDS's VMware PowerCLI component 5.8 2031581

    Build VMware vSphere PowerCLI component 5.8 2031581

    I installed Windows6. 1 -KB2819745- x 64 - MultiPkg.msu to enable Powershell v4.0 on my Windows 7 laptop, but still the script cannot be executed with the above error message.

    Any kind of aid and assistance would be greatly appreciated.

    Thank you

    Hello-

    Ah, yes--it is that review.

    Another option, because you are not able to go to .NET FX 4.5, is to remove the parts "[ordered]' of the code that you use.  This type Accelerator makes the hash table a dictionary sorted.  The effect to remove that from the code will be that the properties of the object that results will not be in the order in which they appear in the code.

    And, another option would be to install PowerShell v3 (the version in which the '[ordered]' feature has been added').  That shouldn't require a FX .NET newer than what you showed as having already installed on this computer.  However, as we have seen with the PSSnapin and PSv4 Exchange, you want to make sure that the PSSnapins / Modules you want to use are compatible with PowerShell v3.

  • Help, I have a problem with the PS and CC - I get and error measure in PS - "this program cannot start because ONCoreFoundation8.dll - is missing... and it crashes, and now creative cloud will not be open to all."  I spent more than 2 hours to speak to so

    Help, I have a problem with the PS and CC - I get and error measure in PS - "this program cannot start because ONCoreFoundation8.dll - is missing... and it crashes, and now creative cloud will not be open to all."  I spent more than 2 hours to speak to someone in tech support that I did not understand, and I don't know what to do next. The tech gal was run, but once she hung up he returned to broken.  I have an idea, but that's just a guess - trouble started about the time I tried to open On1 of ps there has been a perfect icon effects 9 (for some reason, they decided to add the icon when I got it - I have 8) I clicked it and it loaded the update and then asked me if I wanted to try or buy - that's when I realized that I should have clicked on 8 and tried of back , but is either too late - I think, maybe this dll. 8 or 9 in with perfect On1 effects - and it has changed my settings in PS - and is the reason why it is not compatible - ideas? I have a pc with window7-Carol

    Try to run Photoshop without loading third-party plug-in. hold SHIFT keys when you start Photoshop.  The missing module is not Adobe software.

  • Helps with the exclusion of the query items

    I compare two identical tables between databases using the links to the db and I'm having issues getting my correct join show lines that exist in a table and not the other. The purpose of the request is to view the items that exist in one but not the other and where the value is different between the elements. The Grp, layer and Name columns are PKs.

    So take the following data:
    DB1
    Grp     Name        Layer       Value
    Alpha   Key_One     ModA        1
    Beta    Key_Two     ModA        1
    Gamma   Key_Three   ModB        0
    Delta   Key_Four    ModA        True
    Epsilon Key_Five    ModB        Hat
    Zeta    Key_Six     ModB        Red
    
    DB2
    Grp     Name        Layer       Value
    Alpha   Key_One     ModA        0
    Beta    Key_Two     ModA        1
    Gamma   Key_Three   ModB        0
    Delta   Key_Four    ModA        False
    Epsilon Key_Five    ModA        Hat
    Eta     Key_Seven   ModB        0
    The result of the query should be:
    Grp     Name        Layer       DB1.Value    DB2.Value
    Alpha   Key_One     ModA        1            0
    Delta   Key_Four    ModA        True         False
    Epsilon Key_Five    ModA                     Hat
    Epsilon Key_Five    ModB        Hat
    Zeta    Key_Six     ModB        Red
    Eta     Key_Seven   ModB                     0
    I've been able to get the query to pull the differences when the record exists in both tables, but were not able to get when recording exists only in a single table. If it's important, I'm on 10.2.0.4.
    CREATE TABLE tab1 (grp VARCHAR2 (10), nm VARCHAR2 (15), layer VARCHAR2 (4), rec_value VARCHAR2 (10));
    CREATE TABLE tab2 (grp VARCHAR2 (10), nm VARCHAR2 (15), layer VARCHAR2 (4), rec_value VARCHAR2 (10));
    
    INSERT INTO tab1 VALUES ('Alpha', 'Key_One', 'ModA', '1');
    INSERT INTO tab1 VALUES ('Beta', 'Key_Two', 'ModA', '1');
    INSERT INTO tab1 VALUES ('Gamma', 'Key_Three', 'ModB', '0');
    INSERT INTO tab1 VALUES ('Delta', 'Key_Four', 'ModA', 'True');
    INSERT INTO tab1 VALUES ('Epsilon', 'Key_Five', 'ModB', 'Hat');
    INSERT INTO tab1 VALUES ('Zeta', 'Key_Six', 'ModB', 'Red');
    
    INSERT INTO tab2 VALUES ('Alpha', 'Key_One', 'ModA', '0');
    INSERT INTO tab2 VALUES ('Beta', 'Key_Two', 'ModA', '1');
    INSERT INTO tab2 VALUES ('Gamma', 'Key_Three', 'ModB', '0');
    INSERT INTO tab2 VALUES ('Delta', 'Key_Four', 'ModA', 'False');
    INSERT INTO tab2 VALUES ('Epsilon', 'Key_Five', 'ModA', 'Hat');
    INSERT INTO tab2 VALUES ('Eta', 'Key_Seven', 'ModB', '0');
    COMMIT;
    After the implementation of the above, I can run the following script which returns all but I want to exclude records where they correspond, in the example above, are GRPs beta and Gamma.
      SELECT NVL (tab1.grp, tab2.grp) grp, NVL (tab1.nm, tab2.nm) nm, NVL (tab1.layer, tab2.layer) layer, tab1.rec_value tab1_value,
             tab2.rec_value tab2_value
        FROM tab1 FULL OUTER JOIN tab2 ON tab1.grp = tab2.grp AND tab1.nm = tab2.nm AND tab1.layer = tab2.layer
    ORDER BY 1,2,3;
    
    GRP        NM              LAYER TAB1_VALUE TAB2_VALUE
    ---------- --------------- ----- ---------- ----------
    Alpha      Key_One         ModA  1          0         
    Beta       Key_Two         ModA  1          1         
    Delta      Key_Four        ModA  True       False     
    Epsilon    Key_Five        ModA             Hat       
    Epsilon    Key_Five        ModB  Hat                  
    Eta        Key_Seven       ModB             0         
    Gamma      Key_Three       ModB  0          0         
    Zeta       Key_Six         ModB  Red                  
    
    8 rows selected.
    Any help would be appreciated.

    Hello

    Just add a WHERE clause that makes tab1.rec_value and tab_2.rec_value are different, accounting for NULL values. (The only change I made to your application, in addition to the formatting, was to add a WHERE clause).
    If rec_value may not actually be NULL:

    SELECT  NVL (tab1.grp,          tab2.grp)     grp
    ,     NVL (tab1.nm,           tab2.nm)     nm
    ,     NVL (tab1.layer,      tab2.layer)      layer
    ,     tab1.rec_value                     tab1_value
    ,       tab2.rec_value                    tab2_value
    FROM           tab1
    FULL OUTER JOIN tab2     ON     tab1.grp   = tab2.grp
                           AND     tab1.nm        = tab2.nm
                   AND     tab1.layer = tab2.layer
    WHERE   DECODE ( tab1.rec_value
                , tab2.rec_value, 1
                          , 0
                ) = 0
    ORDER BY 1,2,3;
    

    If rec_value can be null, we must distinguish between the ranks, which is NULL because he wasn't match (and therefore should be included) and the lines where the two are really NULL (and therefore, should not be displayed).
    If one of the columns used to join the tables is NULL, the row is missing in one of the tables, and so forge displayed regardless of whether the rec_values is, so we can add a condtion to the WHERE clause:

    SELECT  NVL (tab1.grp,          tab2.grp)     grp
    ,     NVL (tab1.nm,           tab2.nm)     nm
    ,     NVL (tab1.layer,      tab2.layer)      layer
    ,     tab1.rec_value                     tab1_value
    ,       tab2.rec_value                    tab2_value
    FROM           tab1
    FULL OUTER JOIN tab2     ON     tab1.grp   = tab2.grp
                           AND     tab1.nm        = tab2.nm
                   AND     tab1.layer = tab2.layer
    WHERE   DECODE ( tab1.rec_value
                , tab2.rec_value, 1
                          , 0
                ) = 0
    OR     LEAST (tab1.grp, tab2.grp)     IS NULL
    ORDER BY 1,2,3;
    

    To test this, I added these 3 rows to the data:

    INSERT INTO tab1 VALUES ('Theta', 'Key_Seven', 'ModB', NULL);
    
    INSERT INTO tab2 VALUES ('Theta', 'Key_Seven', 'ModB', NULL);
    INSERT INTO tab2 VALUES ('Iota',  'Key_Seven', 'ModB', NULL);
    

    GRP = "Theta" should appear not, because the lines are identical in both tables.
    GRP = 'Iota' should be displayed, because it is present only in tab2.

  • Problem with the Update Script

    I'm trying to update a column in the database with the following script, but still get errors on the ORA-00904: "CUSTOMER_CONTACT_NRD." "" "" ACTIVE ": identifier not valid, even thought it must be fair.
    In the end, I want to update the table like that, but first test it on a single customer.
    Are the media may not play directly, or am I missing something else?

    Update v_contact v1
    set
    (v1.inactive_contact) = - 1
    where (v1.cust_id =
    customer_contact_nrd.customer_id and v1.contact_no =
    customer_contact_nrd.contact_no and customer_contact_nrd.active = n
    and v1.cust_id = 106586)

    Thank you for your help.

    Published by: mcramer on October 26, 2009 12:38

    Try something like this...

    Update v_contract v1
    Set v1.inactive_contact = - 1
    where v1.cust_id in
    (by selecting v1.cust_id in customer_contact_nrd v3
    where v1.cust_id = v3.customer_id
    and v1.contact_no = v3.contact_no
    and v3.active = ' n and v1.cust_id = 106586)

    or read this...
    http://www.jlcomp.demon.co.UK/FAQ/lost_update.html

  • I need help with the control of two .swf in third.

    Hi, thanks for reading!

    I need help with the control of two .swf in third.

    I have a problem when I need to use a .swf in a digital signage solution, but were advised by the Legal Department, it cannot be changed in any way, I can not also have the source file blah blah blah. I pulled the .swfs on their site and I decompiled to see what I was up against.

    The main SWF that I need control is HCIC.swf and the problem is that it starts with a preloader, which, after the loading stops on a framework that requires user input to (button) on a play button, until the film will proceed and replay.

    What I've done so far is to create a SWF container, HCIC_container.swf, which will serve as a target for the HCIC.swf and I would like to send actionscript in the file, I am not allowed to edit.

    I managed to get done with help from someone on another forum. It is my hope that the following script just start HCIC.swf a framework after the preloader and button play and just play through.

    var container: MovieClip = createEmptyMovieClip ("container", getNextHighestDepth());
    var mcLoader:MovieClipLoader = new MovieClipLoader();
    mcLoader.addListener (this);
    mcLoader.loadClip ("MCIC.swf", container);

    function onLoadInit(mc:MovieClip) {}
    mc.gotoAndPlay (14);
    }

    But unfortunately it does not solve my problem. Because there is a media - controller.swf, which is charged by HCIC.swf who has orders, including the play button to start HCIC.swf.

    Here is a link to a .zip with all 3 files .swf file and all 3 .fla files.

    http://www.axiscc.com/temp/HCIC.zip

    What I have to do is to automatically start the HCIC.swf file, bypassing the pre-loader and play button without having to edit it or in the media - controller.swf in any case. Thus, all scripts must be done in HCIC_container.swf.

    I know it is confusing and it is difficult to explain, but if you look at the files it must make sense.

    ActionScripting is far from my point hard, so I'm definitely over my head here.

    Thanks for your help.

    Got my solution on another forum.

    http://www.ActionScript.org/forums/showthread.php3?t=146827

Maybe you are looking for

  • Old macbook again iTunes Library Mobile

    Hello community, I bought a new macbook air, and now I want to move my old library iTunes to the new macbook via external hard drive, including just like blankets, amount of plays, etc. statistical techniques: MacBook OS X 10.6.8 iTunes 11.4 TO MacBo

  • bat - emc labview

    Hello I program of the United Nations (BAT - emc, a field generation software), which is supposed to call a labview llb and let him start the vi It contains. On a computer, the operation proceeds as planned, but on another computer (that I must now U

  • reset password for users of domians cannot live

    cannot reset the password for users of domians direct for domain megabitecafe.com

  • I can't online with my laptop via a router netgear pc at home

    How to connect netgear router

  • Cisco VUSB - Feature Suggestions (and some Questions)

    Hello I use with my EA4500 VUSB Cisco router wireless (N900) for my printer (Samsung ML-1915) USB.  It seems that I have had no problems with the installation and configuration with this on my PC Windows 7 games and my OS 10.8 MacBook Air.  But I not