In order to remotely enable PS remoting we can leverage PSEXEC (http://live.sysinternals.com.au/psexec.exe).
psexec \\[computer name] -u [admin account name] -p [admin account password] -h -d powershell.exe "enable-psremoting -force"
In order to remotely enable PS remoting we can leverage PSEXEC (http://live.sysinternals.com.au/psexec.exe).
psexec \\[computer name] -u [admin account name] -p [admin account password] -h -d powershell.exe "enable-psremoting -force"