PowerShell – Get all nested groups for a user in Active Directory

Nested Groups

Ever needed to get all nested groups a user belongs in Active Directory?

 

“Network Path Not Found” while joining server to the domain

Recently I had a problem, where I couldn’t join a Windows Server to the domain. It displayed the following error.

There can be various reasons why this errors shows.

  • Mistype DNS configuration.
  • Firewall issues.
  • Wrong domain typed.

Even though I had all above correct, I still had the problem.

So I used the following commands in a cmd.exe to resolve the issue.

Read More