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 […]


CRM Logo

Configuring Impersonation role for a specific AD group in Dynamics CRM Exchange Server Side Sync

You are configuring server-side synchronization between CRM and Exchange and you are going to assign impersonation rights to special AD account. This is easy as there are lots of websites provide very detailed instructions to do that. Let’s call our special account CRMImpSync

But if you do not want to give impersonation rights to […]

powershell logo

PowerShell – AD Kullanıcılarını ve Password Expiry tarihlerini listelemek

12 / 07 / 2014 by Active Directory, PowerShell Yorum yok / No Comments

Aşağıdaki PowerShell scripti ile AD’de ki kullanıcıları Password Expiry Date bilgileri ile listeleyebilirsiniz.

Komut msDS-UserPasswordExpiryTimeComputed attribute bilgisinden faydalanmaktadır. Bu attribute ün AD LDS’de bulunmadığını belirtmek isterim. Windows Server 2008 operating system, Windows Server 2008 R2 operating system, Windows Server 2012 operating system, and Windows Server 2012 R2 operating system de kullanılabilir.

 

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 […]

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