List 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 specific manager. In [easyazon_link identifier="1449361420"…

Continue ReadingList Direct Reports to Manager in PowerShell

How to identify which domain controller authenticated a user

You  re running some troubleshooting on your network connected to [easyazon_link identifier="1449320023" locale="US" tag="wn0d5-20"] Active Directory [/easyazon_link] and have questions like: which Domain Controller authenticated user on the current machine…

Continue ReadingHow to identify which domain controller authenticated a user

Change or Update UPN for users of specific group in Active Directory

Here is a quick almost one liner in [easyazon_link identifier="B07883YKV1" locale="US" tag="wn0d5-20"] PowerShell [/easyazon_link] to update/change UPN for users of specific group in [easyazon_link identifier="1449361420" locale="US" tag="wn0d5-20"]Active Directory [/easyazon_link]. Lets…

Continue ReadingChange or Update UPN for users of specific group in Active Directory

How to install PowerShell on Google Chromebook Linux mode

Here is quick code for installation of PowerShell on Google ChromeBook Pixel when [easyazon_link identifier="1118999878" locale="US" tag="wn0d5-20"] Linux [/easyazon_link] support is turned on: [cc lang="Bash"]sudo apt install curl gnupg apt-transport-https…

Continue ReadingHow to install PowerShell on Google Chromebook Linux mode

Bulk update EmployeeID in Active Directory with PowerShell

Here is a quick [easyazon_link identifier="B01NBI97UZ" locale="US" tag="wn0d5-20"] PowerShell [/easyazon_link] script to run users from csv file where you have 2 columns SamAccountName and EmployeeID. Place the csv file on…

Continue ReadingBulk update EmployeeID in Active Directory with PowerShell

List Users and Groups created in Active Directory in the Last 24 Hours

Just quick [easyazon_link identifier="1787126307" locale="US" tag="wn0d5-20"] PowerShell [/easyazon_link] snippet to get list of created users in last 24 hours in your [easyazon_link identifier="B06VYFQNH4" locale="US" tag="wn0d5-20"] Active Directory [/easyazon_link]. $When =…

Continue ReadingList Users and Groups created in Active Directory in the Last 24 Hours

Export all users from Active Directory to CSV with PowerShell

Quick and dirty [easyazon_link identifier="1449320686" locale="US" tag="wn0d5-20"] PowerShell [/easyazon_link] snippet to export all [easyazon_link identifier="1787289354" locale="US" tag="wn0d5-20"] Active Directory [/easyazon_link] users with these selected attributes into CSV file where the…

Continue ReadingExport all users from Active Directory to CSV with PowerShell

How to get a list of software installed on Windows machine

Having a list of installed programs is also useful if you just bought a new computer and you want to install the same programs you had on your old computer. Here is how to create list of installed software and when was installed on your Windows machine.

Continue ReadingHow to get a list of software installed on Windows machine