Issues calling a function

This topic contains 1 reply, has 2 voices, and was last updated by Profile photo of Jack Neff Jack Neff 2 years, 4 months ago.

  • Author
  • #22400
    Profile photo of Scott Heath
    Scott Heath

    When calling my function using $var1 = Get-Whatever $object it refuses to recognize the object I am passing properly.

    If I called the function using Get-Whatever $object it works as expected. I need to pass the result back to a variable. Any one have any thoughts why this might occur?


  • #22401
    Profile photo of Jack Neff
    Jack Neff

    Can you post your function?

You must be logged in to reply to this topic.