PoSH remoting is there for remote code execution on remote computers. Yet, for much of stuff like this, you must be an admin locally and remotely to do this sort of thing and the execution policy must be set to allow it, or you have to use other options for the code to execute. This is just as true for the one liner I show in my other comment.