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
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

Export users SamAccountName from Email address csv file

Quick PowerShell script to accomplish a task to get a list of users by SamAccountName from provided csv file with email addresses. The csv file…

View More Export users SamAccountName from Email address csv file
AntiMalware Status

Check status of Microsoft AntiMalware

Here is a quick snippet to show current status of Microsoft Antimalware on your Windows 10 computer. Clear-Host Write-Host Write-Host "CURRENT STATUS " -Foregroundcolor yellow…

View More Check status of Microsoft AntiMalware
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

List users from 3 different Active Directory Groups with PowerShell

Here is a quick sample of Power Shell snippet to list users from 3 different Active Directory groups: Import-Module ActiveDirectory $groups = "AWS-IAM-PCI-Prod-Admin","AWS-IAM-PCI-Prod-Deploy","AWS-IAM-PCI-Prod-Monitoring" foreach($group in…

View More List users from 3 different Active Directory Groups with PowerShell
AntiMalware Status

Find out the current version of the Active Directory Schema

Quick one liner to find out current version of the Active Directory Schema on your network especially of you have mix of servers. Using dsquery…

View More Find out the current version of the Active Directory Schema
AntiMalware Status

PowerShell – Get user’s Manager, Department and Title information

Here is another quick helper for Help Desk guys to pull quickly information about user in PowerShell: SamAccountName Title Department Manager In this case the…

View More PowerShell – Get user’s Manager, Department and Title information