Posts

Showing posts from September, 2020

Connect to AD domain using power shell

Image
    HI friends, Today we are going to connect to AD(active directory) using windows power shell First run the power shell in administrative mode Check IP address and Default gate way, (power shell command " ipconfig ") and  Check DNS server setting  (power shell command " ipconfig /all ") The DNS server must point to AD Domain Controller. to verify it  Enter the command in power shell  "Test-Connection  <your ad domain> -Quiet"   if the response is TRUE then you have successfully connected to AD.  If the response is FALSE then follow below procedure to Change DNS setting on your PC Open Control Panel. Click on Network and Internet. Click on Network and Sharing Center. Click the Change adapter settings option in the left pane. Right click on Ether net and select properties  Select Internet protocol version 4 (TCP/IPv4) and click on properties   check the DNS server addresses: check box and enter your AD ip address in Alternate DNS server text field