Validation

Hi Team,
Could you please tell me how can I get to know how the input has been given? what I mean is…

  1. by .txt file
    gc input.txt | %{Verb-Noun $_}
  2. or CSV file
    Import-Csv input.csv | %{Verb-Noun $_.input}
  3. or direct input to the parameter?
    Verb-Noun -InputParam “InputItem”