I use invoke-ncssh to setting the simulator node that are not join cluster,
but it always feedback the message to me,
I want to hidden the message to beautify the screen,
How to disable or hidden the invoke-ncssh response message?
Thanks
Either store the result in a variable ($result = Invoke-NcSsh) or pipe it to null at the end of the command ( | Out-Null). I usually store it in a variable - to check the result if needed.