Hello
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
{
your command
}
- Disable any Antivirus program or Windows firewall you may have for temporary purpose.
Reference :
https://learn.microsoft.com/en-us/powershell/scripting/learn/remoting/running-remote-commands?view=powershell-7.3 https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.core/invoke-command?view=powershell-7.3
--If the reply is helpful, please Upvote and Accept as answer--