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 has one column "email' under…
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 has one column "email' under…
Noticed a new book released about Amazon Connect -- very good guide how to setup and utilize this service. Become well-versed with the competencies and advantages of Amazon connect Determine…
Here is a quick snippet to show current status of Microsoft Antimalware on your Windows 10 computer. [cc lang="PowerShell"] Clear-Host Write-Host Write-Host "CURRENT STATUS " -Foregroundcolor yellow -BackgroundColor red Write-Host…
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 | Select-Object Manufacturer, SMBIOSBIOSVersion You…
Simple PowerShell script to move members of one group to be also members of new group that you have just created. I am using this very often. It is time…
Here is another quick PowerShell script to check if user is a member of given group. [cc lang="PowerShell"] Clear-Host if (Get-Module -ListAvailable -Name ActiveDirectory) { Import-Module ActiveDirectory } else {…
Simple script to get information via PowerShell from the computer about model of the machine and vendor. Clear-Host Write-Host Write-Host * Get Computer Vendor and Model information * -ForegroundColor white…
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 here is the PowerShell one…
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 that will list all Departments…
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 $groups){Get-ADGroupMember -Identity $group -Recursive |…