How to create a powerShell script to Create users remotely in other Machine.

I want to create a PowerShell Script to Add user Remotely on another machine and call this scripts using java code. Can anyone help me in this please.