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 DirectoryTag: PowerShell
How 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 modeMove all FSMO roles from server to another in Active Directory
Here is one liner to move all FSMO roles from one server to another. In most cases an administrator can keep the FSMO role holders…
View More Move all FSMO roles from server to another in Active DirectoryUpdate UPN for group of users or all users in domain
There can be situation when you will need to update UPN for your users in domain. In my situation this change helped to solve my…
View More Update UPN for group of users or all users in domainHOW TO LIST UPN SUFFIXES OF AN ACTIVE DIRECTORY FOREST
The default UPN is contained in the Canonical Name attribute on the Partitions container object in the configuration naming context. The default UPN suffix identifies…
View More HOW TO LIST UPN SUFFIXES OF AN ACTIVE DIRECTORY FORESTCustomize the PowerShell ISE Theme
The default theme for the PowerShell ISE is very boring, lets spice it up with a new theme. There is a great repository with PowerShell…
View More Customize the PowerShell ISE ThemeAudit your Active Directory user passwords with PowerShell or other free tools
Trust to your users is one thing but make sure that your user listening and really applying good password is another. It is good practice …
View More Audit your Active Directory user passwords with PowerShell or other free toolsBulk 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 PowerShellGet Account list with Password Never Expire from Active Directory to CSV file
Quick snippet to pull all accounts from with PASSWORD NEVER EXPIRE into CSV report file so you can review the accounts and possible make changes…
View More Get Account list with Password Never Expire from Active Directory to CSV fileActive Directory module and cmdlet missing upon patching
You are trying to execute your standard commands such as Get-ADuser and getting errors – this is caused for me every month upon installation of…
View More Active Directory module and cmdlet missing upon patching