You don’t say what OS version or PoSH version you are using on the host and remote host.
Well, this comes off as an environmental issue on the target and/or on your host.
Here are some items to check
1 - Check that DCOM is enabled on both the host and the target PC.
Check the following registry value on both computers:
Key: HKLM\Software\Microsoft\OLE, value: EnableDCOM, should be set to ‘Y’
2 - GPO Computer Configuration\Administrative Templates\Windows Components\WinRM\Client\Trusted Hosts
3 - Check the following services state, that all need to be running
COM+ Event System
Remote Access Auto Connection Manager
Remote Access Connection Manager
Remote Procedure Call (RPC)
Remote Procedure Call (RPC) Locator
Remote Registry
Server
Windows Management Instrumentation
Windows Management Instrumentation Driver Extensions
WMI Performance Adapter
Workstation
4 - On the remtoe host - disable the Firewall for all profiles
5 - Make sure the network porfile is set to domain - if domain joined, or private if not.
6 - Check if IPv4 / Ipv6 is being forced between the two.
Remember this, there are a fwe commands that don’t need / use PSRemtoing.
Tip: Work Remotely with Windows PowerShell without using Remoting or WinRM
Some cmdlets have a –ComputerName parameter that lets you work with a remote computer without using Windows PowerShell remoting. This means you can use the cmdlet on any computer that is running Windows PowerShell, even if the computer is not configured for Windows PowerShell remoting. These cmdlets include the following:
‘Work Remotely with Windows PowerShell without using Remoting or WinRM | Microsoft Learn’
As noted on this forum and others…
Get-WmiObject doesn't use PowerShell remoting; it's based on the older DCOM / RPC protocols, which aren't particularly firewall-friendly.
You have two options:
◦If you’re running PowerShell 3.0 on all of your machines, you can use the new CIM cmdlets (such as Get-CimInstance instead of Get-WmiObject), which do use the WinRM port.
◦If you need Get-WmiObject to work, you need to enable both the “Windows Management Instrumentation (DCOM-In)” and “Windows Management Instrumentation (WMI-In)” inbound rules in Windows Firewall. Based on what you’ve said, it looks like the DCOM-In rule might still be disabled.