This is handy command line if you want pull quickly list of installed software on the machine. You can output it in to terminal or…
View More Get list of installed software on machine from command lineTag: command line
Remove 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 . We will remove all Group membership from this user except…
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 script that provides information on user count in : Total Number of All user accounts Total Number of Enabled accounts TotalNumber of…
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 . I was asked to find the list of employees under a specific manager. In you can…
View More List Direct Reports to Manager in PowerShellHow to identify which domain controller authenticated a user
You re running some troubleshooting on your network connected to and have questions like: which Domain Controller authenticated user on the current machine which Domain…
View More How to identify which domain controller authenticated a userChange or Update UPN for users of specific group in Active Directory
Here is a quick almost one liner in to update/change UPN for users of specific group in . Lets say we need to change UPN…
View More Change or Update UPN for users of specific group in Active DirectoryHow to install PowerShell on Google Chromebook Linux mode
Here is quick code for installation of PowerShell on Google ChromeBook Pixel when support is turned on: 123456sudo apt install curl gnupg apt-transport-https liblttng-ust-ctl2 liblttng-ust0…
View More How to install PowerShell on Google Chromebook Linux modeBulk update EmployeeID in Active Directory with PowerShell
Here is a quick script to run users from csv file where you have 2 columns SamAccountName and EmployeeID. Place the csv file on your…
View More Bulk update EmployeeID in Active Directory with PowerShellList Users and Groups created in Active Directory in the Last 24 Hours
Just quick snippet to get list of created users in last 24 hours in your . $When = ((Get-Date).AddDays(-1)).Date Get-ADUser -Filter {whenCreated -ge $When} -Properties…
View More List Users and Groups created in Active Directory in the Last 24 HoursExport all users from Active Directory to CSV with PowerShell
Quick and dirty snippet to export all users with these selected attributes into CSV file where the attributes will be headers of the columns. 1234Import-Module…
View More Export all users from Active Directory to CSV with PowerShell