Bize Ulaşın / Contact Us

powershell logo

How to add or remove extensionAttribute of an AD User object

11 / 08 / 2015 by Active Directory, PowerShell 1 Yorum / Comment

I would like to share some simple PowerShell commands, to show how to add or remove extensionAttribute of an AD User object Import AD Module First [PS] C:\>import-module ActiveDirectory To get current value [PS] C:\>Get-ADUser -Identity firstuser -Properties extensionAttribute12 DistinguishedName : CN=First User,OU=TempTest,DC=infralib,DC=com Enabled : False GivenName : First Name : First User ObjectClass : user […]


powershell logo

PowerShell – List AD Users Password Expiry Dates

12 / 07 / 2014 by Active Directory, PowerShell 1 Yorum / Comment

The PowerShell script below will list you Display Name and  Password Expiry Date of all AD users.

It uses the msDS-UserPasswordExpiryTimeComputed attribute, be aware of that attribute is not exists on AD LDS. It is implemented on Windows Server 2008 operating system, Windows Server 2008 R2 operating system, Windows Server 2012 operating system, and Windows Server 2012 R2 […]

Windows Server

WDS – Windows Deployment Service Network Boot Programs

12 / 03 / 2014 by Windows Deployment (WDS) Yorum yok / No Comments

WDS – Windows Deployment Service Network Boot Programs and their descriptions. NBP Description Architecture Firmware PXEboot.com (Default) Requires the user to press the F12 key for a network boot to continue. x86-based and x64-based BIOS PXEboot.n12 Does not require the user to press F12 and immediately begins a network boot. x86-based and x64-based BIOS AbortPXE.com […]

Windows Server

Co-host WDS and DHCP on the same server

03 / 03 / 2014 by Server, Windows Deployment (WDS) Yorum yok / No Comments

You should configure the WDS server to listen on a different port if you are planning to Co-host WDS and DHCP on the same server. All you need to do is modifying an existing registry key value to 0 (zero). Run the regedit on your DHCP & WDS Server and find the key below HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WDSServer\Providers\WDSPXE Then […]

How to install AD DS and create forest via PS?

29 / 11 / 2013 by Active Directory, PowerShell Yorum yok / No Comments

Here is another small tip to create a new forest on a clean Windows Server 2012 R2, it installs AD DS, DNS and necessary administrative tools, and creates your forest, DNS entries etc.

Very useful information about AD DS Deployment Cmdlets can be found at http://technet.microsoft.com/en-us/library/hh974720.aspx / http://technet.microsoft.com/en-us/library/hh472162.aspx