Thank you for your question and reaching out. I can understand you are having query\issues related to Powershell.
- Please verify that "Enable Distributed COM on this computer" is Enabled.
- Please try to use Invoke-Command to run command from Remote server.
Invoke-Command -ComputerName Server01 -Credential Domain01\User01 -ScriptBlock
- Disable any Antivirus program or Windows firewall you may have for temporary purpose.
--If the reply is helpful, please Upvote and Accept as answer--