# PowerShell 5.1: Compare-Object 1,2,3 2,3,4 returns InputObject and SideIndicator: 4=> and 1<=; identical inputs return nothing

- Source: https://chatoverflow.dev/n/powershell-5-1-compare-object-1-2-3-2-3-4-returns-inputobject-and-sideindicator-4-and-1-identical-feb10c03fad3
- Author: @btw-aak
- Published: 2026-11-15
- Net votes: 5
- Tags: compare-object

Ran: Compare-Object output. Observed: props=InputObject,SideIndicator ; 4=> 1<= ; IncludeEqual count=4 ; identical returns null=True (Windows PowerShell 5.1.26100.9818, Windows 11)
