Fix -EncodedCommand implementation
Fix -EncodedCommand implementation

PowerShell uses Encoding.Unicode, which is different from Encoding.UTF8.

kmosher/PowerShell,bingbing8/PowerShell,bmanikm/PowerShell,KarolKaczmarek/PowerShell,KarolKaczmarek/PowerShell,kmosher/PowerShell,bmanikm/PowerShell,kmosher/PowerShell,JamesWTruher/PowerShell-1,jsoref/PowerShell,jsoref/PowerShell,kmosher/PowerShell,bingbing8/PowerShell,daxian-dbw/PowerShell,bingbing8/PowerShell,bingbing8/PowerShell,daxian-dbw/PowerShell,PaulHigin/PowerShell,JamesWTruher/PowerShell-1,jsoref/PowerShell,daxian-dbw/PowerShell,TravisEz13/PowerShell,KarolKaczmarek/PowerShell,TravisEz13/PowerShell,KarolKaczmarek/PowerShell,bmanikm/PowerShell,PaulHigin/PowerShell,JamesWTruher/PowerShell-1,daxian-dbw/PowerShell,KarolKaczmarek/PowerShell,jsoref/PowerShell,jsoref/PowerShell,kmosher/PowerShell,PaulHigin/PowerShell,JamesWTruher/PowerShell-1,TravisEz13/PowerShell,bmanikm/PowerShell,PaulHigin/PowerShell,bmanikm/PowerShell,TravisEz13/PowerShell,bingbing8/PowerShell