How to push a PS1 command to all the servers in SAM without template

How to push a PS1 command to all the servers in SAM without template