The question has come up several times and I saw mixed answers and no quick example
My personal preference is using CPIPE device as you get back exactly the output you will get at the command line interface of your OS .
The tricky thing is to stop reading in time.
The example just displays what you normally see in your console.
it becomes useful if you look for things that you can't get from any $system.whatever()
- your servers IP address or addresses depending on your configuration.
- pinging any other server to see if it is still visible on the network
- running nslookup
it is simply this