Archive

Archive for the ‘Active Directory’ Category

IIS7 and Domain SSL Certificates

November 12th, 2008

The process of configuring a SSL certificate has changed between IIS6 and IIS7.
Here is how to create a new AD Domain based SSL certificate and apply it to your virtual site.

Creating the Certificate

Open IIS Manager and select the instance.
Select Server Certificates

Read more…

Wojtek Active Directory, IIS7, Server 2008, Windows

Preparing Domain for Server 2008 DCs

October 31st, 2008

If you’re planning on running 2003 and 2008 domain controlers in the same domain you need to update the AD schema on all of your 2003 DC.

To do this pop/map the CD and execute the following

d:\sources\adprep\adprep.exe /forestprep
d:\sources\adprep\adprep.exe /domainprep /gpprep
d:\sources\adprep\adprep.exe /domainprep /rodcPREP

 

Wojtek Active Directory, Server 2008, Windows , ,

PowerShell – List users based on Last Logon Time

October 2nd, 2008

I needed an easy way of working out how many active users are on the network in a 60 day period.
I realise I could have done this with DSQUERY/DSGET but I figured it’s high time to learn powershell.. So, this is my first real foray into Windows PowerShell.

To make my life easier I Installed PowerGUI and enabled the Active Directory QAD cmdlets.
The script below searches for all accounts that were logged in within the last 60 days, it only searches in the users OU as specified by the $searchRoot variable.

Read more…

Wojtek Active Directory, Powershell, Windows ,