Active Directory

Update UPN for group of users or all users in domain

There can be situation when you will need to update UPN for your users in domain. In my situation this change helped to solve my…

View More Update UPN for group of users or all users in domain
AntiMalware Status

Get Account list with Password Never Expire from Active Directory to CSV file

Quick snippet to pull all accounts from with PASSWORD NEVER EXPIRE into CSV report file so you can review the accounts and possible make changes…

View More Get Account list with Password Never Expire from Active Directory to CSV file
AntiMalware Status

List Users and Groups created in Active Directory in the Last 24 Hours

Just quick snippet to get list of created users in last 24 hours in your . $When = ((Get-Date).AddDays(-1)).Date Get-ADUser -Filter {whenCreated -ge $When} -Properties…

View More List Users and Groups created in Active Directory in the Last 24 Hours