Powershell errors on local PC. "Unable to Contact the server", "Handle is Invalid"


i have rebuilt windows 8.1 desktop due powershell issues. fine until last thursday when powershell stopped working...again.

if run ad command (get-aduser) error:-

get-aduser : unable contact server. may because server not exist, down, or not have active directory web 
services running.

if try , remote dc $session=new-pssession -server dc

new-pssession : [dc] connecting remote server dc failed following error message : handle invalid. more information, see the 
about_remote_troubleshooting topic.

i can run these commands fine dc , other servers on network. however, not machine, has certificates , tools. have specified dc run query on ( 6 different ones), same error

adws running on servers (hence why other systems work) although have restarted troubleshoot. have added myself domain admins test, same error.

powershell versions between pc , working pc same (4.0, wsmanstack 3.0, psremotingprotocol 2.2) 

i see quite common issue, yet cannot see solution. not want have write script using rdp box, should able pc. why this?

since no 1 having problem powershell have assume specific system.  can place call microsoft support , work track down solution. issue not scripting issue system break/fix issue.  cannot fix this.

the errors seem indicate networking problems.  fixed flaky issue due improperly configured dns setting on network.  3 senior admins had tried fix months.  asked , saw misconfiguration due more experience type of failure. microsoft support call.  cannot in forum.


\_(ツ)_/



Windows Server  >  Windows PowerShell



Comments

Popular posts from this blog

Windows server 2012 r2 inplace upgrade failed

ADMT Computer Migration Failures

Failed to delete the test record dcdiag-test-record in zone test.com