Windows Server & Active Directory

Windows Server · PowerShell · Hyper-V · DNS · DHCP · Active Directory

docs/Active Directory administration
44 lines1.39 KB

Active Directory administration

Organisational units

A structured OU hierarchy was created for the IT, Marketing and Produktion departments. Each department contains the Benutzer, Computer and Gruppen organisational units.

Get-ADOrganizationalUnit `
-Filter * `
-SearchBase "OU=Abteilungen,DC=gfnlab,DC=test" `
-SearchScope Subtree |
Sort-Object DistinguishedName |
Select-Object Name, DistinguishedName

OU structure

Users and global group

The users SI and TL were created in the IT/Benutzer OU. Both were added to the global security group G_IT-Mitarbeiter-IT-PRO.

Get-ADGroupMember "G_IT-Mitarbeiter-IT-PRO" |
Select-Object Name, SamAccountName

Global security group members

Production share

The domain local group DL_Produktion-Freigabe-RW was created for C:\Freigabe-Produktion. The global IT group was nested within it.

The domain local group has Change permission on the SMB share and NTFS Modify permission on the file system.

Get-ADGroupMember "DL_Produktion-Freigabe-RW" |
Select-Object Name, SamAccountName

Get-SmbShareAccess -Name "Produktion"

icacls "C:\Freigabe-Produktion"

Group nesting and permissions