unable to connect the server. This may be because this server does not exist, it is currently down, or does not have the Active Directory Web Services running


actually executing powershell script in winpe image, after booted powershell execute , sudden task. part of task checking members in ad group, have added ad powershell modules inside winpe boot image , can able see cmdlets. have imported activedirectory module , executing get-adgroupmember command getting " unable connect server. may because server not exist, down, or not have active directory web services running ".

i have checked adws service in domain controller , running fine. can execute same command in normal windows server working fine. have tried use get-adgroupmember -server property still not able reach ad. 

i have checked of forum asking restart adws service in case working fine. seeking how map adws service , output get-adgroupmember in variable.

thanks in advance,

babu


babu

hi jrv,

thanks reply, have resolved issue, yes need authenticate, have added

-server $domaincontroller -credential "username", "password"

after command working fine. 

thanks lot dedication answer this.



babu



Windows Server  >  Windows PowerShell



Comments

Popular posts from this blog

Motherboard replacement

Cannot create Full Text Search catalog after upgrading to V12 - Database is not fully started up or it is not in an ONLINE state

Remote Desktop App - Error 0x207 or 0x607