errrr... while it's not a PowerShell thing. You can shutdown any remote pc with shutdown.exe...
shutdown.exe /s /m \\targetpc /f
will shutdown targetpc forcefully, meaning close any apps open, and terminate any hung processes.
or if you prefer...
Shutdown.exe /I
will launch a gui. :)
What exactly are you trying to do?
~Glenn