Enable RDP with Powershell

Although the Remote Management is enabled by default starting with Windows Server 2012, the RDP access isn’t. To enable RDP with Powershell, you have two steps to perform: Enable the RDP Access Enable the inbound firewall rules Here’s the code:

The second line allows you to specify if you […]

Ambiguous Fuzzy search in AD

Working in big AD forests and domains can be sometimes challenging, as powershell cmdlets require you perfect identity matches. In an AD of a global corporation,¬†where you have tons of John, Sam, Doe, Smith, Martin, Schmidt , finding that information may be time consuming: is the name given a first […]

AD Users and Computers User Creation

Recycle Bin

Restoring AD objects including DNS zones

Since the initial times of Windows 2003, things have changed. Restoring AD objects, including DNS Zones become simpler with each release of Windows Server. Therefore let’s see how you can restore users, computers, organizational units and DNS zones nowadays. Restoring AD objects for standard classes Since Windows 2008 R2, Get-ADObject […]