Get last password changed for AD user

If you want to know when was the last password changed by AD user,you can use powershell 

Import-Module ActiveDirectory

Get-ADUser ‘UserName’ -properties PasswordLastSet | Format-List

 

Advertisements

Windows 2008 Server R2 adprep\adprep32

Are you having trouble running ADPREP on your current 32-bit Domain Controller? Have you ran ADPREP multiple times on your Domain but still get an error stating you have not prepared your Domain yet?

Here is a change that gets even the most seasoned Admins. In Windows 2008 Server R2 there is a new ADPREP that needs to be run on a Domain Controller that are your FSMO role holder of the Schema Master role and run a 32-bit version of Windows Server. 

The Domain prep tool is called ADPREP32 which is located on in the \support\adprep.

The switches for the ADPREP32 are the same as the adprep. Here are the main switches used /FORESTPREP, /DOMAINPREP, and /RODCPREP.

Now adprep is still used when your current Domain Controller that holds the FSMO role of Schema Master role is running a 64-bit version of Windows Server. Actually the 64-bit version of ADPREP runs by default this is why you must know to run ADPREP32 on your 32-bit Domain Controller. 

Some background information on adprep:

ADPREP is a command line tool that comes with each version of Windows server.  ADPREP is used to extend the Active Directory schema to support the new features of Active Directory Services in the new Windows version.

There are a number of switches that need to be used with the ADPREP command depending on the version of Windows and the current Domain/Forest structure. 

ADPREP updates the Active Directory schema; updates security descriptors; modifies ACLs for Active Directory objects & SYSVOL; and sometimes creates new objects and containers.


Here are the Active Directory schema versions:

13=Windows 2000
30=windows 2003
31=Windows 2003 R2
44=Windows 2008
47=Windows 2008 R2

Inplace upgrading ESXi 5.0 host to ESXi 5.1

  1. Boot your server from the CD or USB drive containing the ESXi 5.1 installer.
  2. Press Enter to start the interactive installer. 
  3. When the files are loaded, press Enter to continue.
  4. Press F11 to accept the EULA.
  5. Select the disk containing previous installation of ESXi and press Enter
  6. When the scanning is completed you will be presented with the following message. Select the Upgrade option and press Enter to continue. 
  7. Press F11 to confirm the upgrade of your ESXi host. 
  8. When the installer finishes the upgrade, remove the installation media from the host and press Enter to reboot.
  9. When the hosts reboots, you should see the familiar screen with the software version , host name and IP address. 

That’s it! You are done. This process takes literally minutes to complete