none
Compare RRS feed

All replies

  • Your question is too vague.  You need someone to fix your English.

    To compare for equal:

    Compare-Object $csv1 $csv2 -IncludeEqual -ExcludeDifferent


    \_(ツ)_/

    Wednesday, September 6, 2017 2:40 AM
  • THis makes no sense in English " I can run something only to someone with the dates are different".

    Your example:

    Therefore, I would like to run a command only for:

    "Syed","9/10/2017 12:00:00 AM"
    "Fox","9/11/2017 12:00:00 AM"

    Shows the only two records that are identical and NOT different.

    Your CSV files have no headers.  Without correct and complete information we cannot guess at a solution.


    \_(ツ)_/

    Wednesday, September 6, 2017 3:12 AM
  • What does " I would like to run a command only to Syed and Fox (name)" mean.  "run to".   Do you mean you only want to select those two records?

    $csv | Where{ $_.Name -match 'Syed|Fox'}


    \_(ツ)_/

    Wednesday, September 6, 2017 3:25 AM
  • Sorry.  I cant help you because nothing you write makes any sense.  Maybe someone else can help. 

    Post here:https://social.technet.microsoft.com/Forums/it-IT/home for the Italian language version of this forum.


    \_(ツ)_/

    Wednesday, September 6, 2017 3:50 AM