Add correct messages for commands which are not supported on Linux.

Add correct messages for commands which are not supported on Linux.

Fixes #271005
I think not, because platformCapabilities are for device platform, and we are interested in CLI host platform.