By default the command line outputs are displayed onto a screen, but you can easily redirect into a text file or even make it to be used as an input for the following command.
If the DVDs, USB sticks, phones, cameras or any other media and devices are automatically starting to play or open explorer windows and your don't want them to, this is how you tweak the AutoPlay settings.