I am building a tool for running various powershell commands on computers in our organization. I keep getting this error, and WAS getting an error about WMI; I am now able to enter-pssession on a test PC, but I can't run Get-WMIObject on it without the RPC error. I have opened ports 135, 137, 445, 5985, 5986, and 24158 through our AV firewall, and selected "Allow RPC connections" as well. I have run the enable-psremoting -force command on it, it says that it is already configured.
Any advice as to what I may be missing? I have searched the net for days now.