PowerShell

Learning PowerShell with Active Directory Administrative Center (PowerShell History Viewer)

For managing Active Directory Domain Services, still most of the administrators use Active Directory Users and Computers (dsa.msc). They are used to it. But it´s worth taking a look at the Active Directory Administrative Center. It provides a PowerShell History Viewer.

The Active Directory Administrative Center (ADAC)

On a Domain Controller running Windows Server 2012/2016 open ADAC in Server-Manger or simply type dsac in cmd or PowerShell. At the bottom you can see a small bar. That’s what we are looking for.

2.PNG

On the left sidebar click on your domain name. Then create a new test user.

3.PNG

43.png

Click OK.

The PowerShell History Viewer

Once the user is created, open the Windows PowerShell History Viewer to see which commands have been executed.

52.png

Note that all settings are recorded and you can review all your work in ADAC, not only user creation.

For example, I’ve activated the Recycle Bin Feature and created a Fine-grained-Password-Policy.

73.png

Cool Feature. Learn PowerShell by reviewing your work in ADAC.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.