AntiMalware Status

Get report on recent password changes in AD

Here is a quick scrip to pull report on recent password changes for users in Active Directory: Import-Module ActiveDirectory $DateCutOff = (Get-Date).AddDays(-5) Get-ADUser -Filter *…

View More Get report on recent password changes in AD
Windows Server 2019

Active Directory DNS Zones explained

Active Directory depends on DNS for name resolution and locating resources on a network. DNS has a database that maintains resource records, which helps identify…

View More Active Directory DNS Zones explained
Active Directory

Find which Logon Server you Authenticated to ..

Sometimes there are situation that you need to troubleshoot Active Directory connectivity and you need to know to which server the user authenticated to. There…

View More Find which Logon Server you Authenticated to ..
AntiMalware Status

Add SMTP-ProxyAddress to users in AD with PowerShell

Here is a quick way to add new SMTP/ProxyAddress for the users in Active Directory with use of PowerShell. Create a csv file with two…

View More Add SMTP-ProxyAddress to users in AD with PowerShell
AntiMalware Status

PowerShell – AD Group management

Here are few quick one liners such as add user to 2 AD groups at same time: "Managers","SalesRep" | Add-ADGroupMember -Members ` (Read-Host -Prompt "Enter…

View More PowerShell – AD Group management
AntiMalware Status

Check if user is member of the group

Here is another quick PowerShell script to check if user is a member of given group. Clear-Host if (Get-Module -ListAvailable -Name ActiveDirectory) { Import-Module ActiveDirectory…

View More Check if user is member of the group
AntiMalware Status

Get list of Departments and number of users per Department in PowerShell

I need to create a report from Active Directory. I need to provide list of all Departments and headcount per Department. Here is quick PowerShell…

View More Get list of Departments and number of users per Department in PowerShell