Simple script to get information via PowerShell from the computer about model of the machine and vendor. 123456789101112131415<# Get information about vendor and model of…
View More Get Computer Vendor and model via PowerShellTag: PowerShell
Get 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: 123Import-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 SchemaPowerShell – 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 informationReset Password for user in Active Directory
Quick Help Desk script tool in PowerShell to reset user password : 1234567891011121314Clear-Host Import-Module ActiveDirectory $newpwd = Read-Host "[ Enter the new password ]" -AsSecureString…
View More Reset Password for user in Active DirectoryRemove all Group Membership from Disabled user except Domain User Group in PowerShell
Here is quick PowerShell script to remove ALL Group Membership from Disabled user in [easyazon_link identifier=”1449361420″ locale=”US” tag=”wn0d5-20″] Active Directory [/easyazon_link]. We will remove all…
View More Remove all Group Membership from Disabled user except Domain User Group in PowerShellReport on user count in Active Directory with PowerShell
Here is quick [easyazon_link identifier=”1787122042″ locale=”US” tag=”wn0d5-20″] PowerShell [/easyazon_link] script that provides information on user count in [easyazon_link identifier=”1782175997″ locale=”US” tag=”wn0d5-20″] Active directory [/easyazon_link]: Total…
View More Report on user count in Active Directory with PowerShellList Direct Reports to Manager in PowerShell
Here is the task for today to use [easyazon_link identifier=”1787122042″ locale=”US” tag=”wn0d5-20″] PowerShell [/easyazon_link]. I was asked to find the list of employees under a…
View More List Direct Reports to Manager in PowerShell