Active Directory 2012

Active Directory – Display Global Catalog information

Sometimes, you may need to check the information stored in the Active Directory Global Catalog. This can happen if you want to check that the replication between GC located in separate site is done.

We can easily view the information in GC with ADSI Edit:

ADSI Edit

ADSI Edit

Let’s see how to connect to a GC using ADSI Edit.

Continue reading

Share
WindowsServer

Powershell – Create Shared Folder for DFS

When you want to use DFS (Distributed File System), and get benefit of the replication, you have to create a shared folder and install features on each server. It can be time consuming to do this for a lot of server.

To create it quickly, you can create a package on SCCM with a Powershell script, and deploy it to all of your servers.

Create shared Folder for DFS

You can find below a powershell script to execute :

  1. Create a folder.
  2. Share it with a specific group.
  3. Install Windows Features to enable DFS Replication.
New-Item "D:\Share\MyFolder" -type directory
 
New-SMBShare –Name "MyShareName" –Path "D:\Share\MyFolder" -ReadAccess "everyone"
 
Install-WindowsFeature FS-DFS-Replication, RSAT-DFS-Mgmt-Con

You can find more information about DFS : http://technet.microsoft.com/en-us/library/jj127250.aspx

Share