Author Posts

February 6, 2015 at 3:35 pm

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?

Regards,
Scott

February 6, 2015 at 6:35 pm

Can you post your function?