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 DirectoryCategory: Windows Server
How to activate Windows Server Core 2019 from command line
After you’ve logged into Windows Server Core, you’re presented with the Command Prompt. From there, you can activate your copy of Windows. First, you have…
View More How to activate Windows Server Core 2019 from command lineGet list of installed software on machine from command line
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 lineStop opening Server Manager at logon in Windows Server 2012 R2
The Server Manager wizard provides information of installed roles and features in . This Server Manager wizard will be automatically launched at logon when you…
View More Stop opening Server Manager at logon in Windows Server 2012 R2Remove 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 DirectoryMove 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 Directory