On servers, WinRM remoting is enabled by default but not on client windows pcs. To manually enable WinRM remoting, run the following command with Administrator privileges (Right-click powershell and select, “Run as Administrator”.
Enable-PSRemoting -SkipNetworkProfileCheck -Force
Reference: https://powershell.one/wmi/remote-access
Other suggestions:
Add Firewall exception on the target pc:
netsh firewall set service remoteadmin enable
Powershell Scripts to get Remote Discovery information used by ServiceNow Discovery
Get-WmiObject -Class Win32_ComputerSystem -computername ‘pts-cybpro01’ -Credential ‘pts-cybpro01\mid-discovery’

Powershell Scripts to test wmi:
get_remote_bios.ps1
$computer = ‘pts-cybpro01’
$credential = Get-Credential
Get-WmiObject -Class Win32_BIOS -ComputerName $computer -Credential $credential



Powershell Script to test that WMI is running on target pc:
verify_wmi.ps1
$computer = ‘pts-cybpro1’
Test-WSMan -ComputerName $computer
