Answer by Muhammad Jubr for Powershell Get-Process : Couldn't connect to...
Try using this instead:get-wmiobject -class win32_process -computername pcname -filter "Name = 'procname'"
View ArticleAnswer by Travis for Powershell Get-Process : Couldn't connect to remote machine
-ComputerName in Get-Process uses RPC, not WinRM. WinRM is what uses 5985 and 5986, not RPC.RPC ports are dynamic by default.Check the "Get-Help" of Get-Process.-ComputerNameThis parameter does not...
View ArticleAnswer by cwheeler33 for Powershell Get-Process : Couldn't connect to remote...
I had a similar error when I started to teach myself PS2 on Win7 client testing LocalHost. I resolved it by starting the Remote Registry service.
View ArticleAnswer by StormeHawke for Powershell Get-Process : Couldn't connect to remote...
I finally gave up and wrote a new script that uses the following rather than calling Get-Process directly:invoke-command -ComputerName Win2012r2 -ScriptBlock {param($procName) Get-Process -Name...
View ArticleAnswer by Trisell for Powershell Get-Process : Couldn't connect to remote...
Have you verified that your DNS resolution is working? Might try nslookup to verify that you are resolving to the correct IP. Check out this post. This looks like an answer to your problem. Try turning...
View ArticleAnswer by DarkMoon for Powershell Get-Process : Couldn't connect to remote...
The only thing I can think of is that either the account you're running this under doesn't have admin rights on the target (Win2012r2), or that the firewall is blocking it. Try disabling the firewall...
View ArticlePowershell Get-Process : Couldn't connect to remote machine
Been struggling with this for a couple days now. I'm getting the following error:PS C:\> get-process -ComputerName Win2012r2get-process : Couldn't connect to remote machine.At line:1 char:1+...
View Article
More Pages to Explore .....