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 PowerShellCategory: Command Line
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 managementCheck 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 AntiMalwarePowerShell to view BIOS version on Dell computer
Here are few commands that you can use to view info about BIOS on DELL computers: List manufacture and version of BIOS Get-WmiObject -Class Win32_BIOS…
View More PowerShell to view BIOS version on Dell computerCheck 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 groupGet Computer Vendor and model via PowerShell
Simple script to get information via PowerShell from the computer about model of the machine and vendor. <# Get information about vendor and model of…
View More Get Computer Vendor and model via PowerShellGet AD Group Creation Date
Here is quick one liner hot to get a report on when Active Directory group has been created. This could be asked during audits so…
View More Get AD Group Creation DateGet 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 PowerShellList 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 PowerShellFind 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