Playing around with powershell and am getting funky print out of "0" at the end of both a write-host and or return statements. Unsure how to fix that. I am sure its a dumb mistake I am doing... anyone know why this happens?
Code:
function New-Test(){
     param(
         [String] $stringTest,
         [Int] $intTest
     )
     
     Write-Host $stringTest, $intTest
}
# calling function
New-Test("Hello World", 26)
Output is: Hello World 23 0 --> notice the 0 output... why does this happen and how do I get rid of this?
