PowerShell for Windows Admins:

Active Directory


July 2, 2015  1:20 PM

Processing NULL AD values

Richard Siddaway Richard Siddaway Profile: Richard Siddaway
Active Directory, Powershell

Back in this post

    0 Comments     RSS Feed     Email a friend

July 1, 2015  8:13 AM

Domain Admins password last set

Richard Siddaway Richard Siddaway Profile: Richard Siddaway
Active Directory, Powershell

A recent question on the forums asked about getting the date a password was last set and the password never expires status for the domain admins group This is one way of doing it Get-ADGroupMember -Identity 'Domain Admins' | foreach { Get-ADUser -Identity $psitem.samAccountName -Properties...


June 30, 2015  10:00 AM

Removing HomeDrive and HomeFolder settings

Richard Siddaway Richard Siddaway Profile: Richard Siddaway
Active Directory, Powershell

  Back in this post

    0 Comments     RSS Feed     Email a friend


June 27, 2015  9:58 AM

Multiple LDAP filters

Richard Siddaway Richard Siddaway Profile: Richard Siddaway
Active Directory, Powershell

Continuing our look at LDAP filters – remember the data set in use: £> Get-ADUser -SearchBase ‘OU=Testing,DC=Manticore,DC=org’  -Properties * -Filter * | select Name Name ---- Dave Green Dave Brown Dave White Jo Daven Fred Green Dale Greensmith Dave Greenly Individual...


June 26, 2015  2:16 PM

AD module cmdlets accepting LDAPfilter

Richard Siddaway Richard Siddaway Profile: Richard Siddaway
Active Directory, Powershell

In case you were wondering which cmdlets in the Active Directory module allowed you to use LDAP filters   £> Get-Command -Module ActiveDirectory -ParameterName...


June 26, 2015  2:10 PM

Basic LDAP filters

Richard Siddaway Richard Siddaway Profile: Richard Siddaway
Active Directory, Powershell

I recently showed how to create an LDAP filter for an attribute that wasn’t set.  I thought it would be useful to show some other LDAP filters. The examples are from a testing OU in my AD £> Get-ADUser -SearchBase ‘OU=Testing,DC=Manticore,DC=org’  -Properties * -Filter * | select...


June 23, 2015  2:46 PM

LDAP filter for a property that isn’t set

Richard Siddaway Richard Siddaway Profile: Richard Siddaway
Active Directory, Powershell

Filtering on a particular LDAP property is straight forward Get-ADUser -SearchBase 'OU=Testing,DC=Manticore,DC=org'  -Properties * -Filter {Title -eq 'Boss'}   You can also use an LDAP filter Get-ADUser -SearchBase 'OU=Testing,DC=Manticore,DC=org'  -Properties * -LDAPFilter...


May 31, 2015  8:23 AM

Finding users that can change their password

Richard Siddaway Richard Siddaway Profile: Richard Siddaway
Active Directory, Powershell

Way back in this post

    0 Comments     RSS Feed     Email a friend


February 16, 2015  12:23 PM

Testing AD replication

Richard Siddaway Richard Siddaway Profile: Richard Siddaway
Active Directory, Powershell

I thought that using a workflow with its foreach –parallel construct would be a good way to test AD replication. I found that I got double the results – the foreach seemed to go to each machine twice. Eventually decided to perform the task sequentially Get-ADDomainController -Filter *...


February 14, 2015  5:42 AM

Modifying AD attribute – PO Box

Richard Siddaway Richard Siddaway Profile: Richard Siddaway
Active Directory, Powershell

I was left a question on this post -

    0 Comments     RSS Feed     Email a friend


Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to: