Windows
How to Prevent Users from Shutting Down the Domain Joined Client Computers
Domain users are by default allowed to shutdown, restart, or put the domain-joined client computers to sleep. However, you can…
How to Hide Specific OU in Active Directory Users and Computers
When you open an active directory users and computers console, you will see some of the following containers or OUs.…
How to Migrate Print Services from Server 2012 to Server 2016
These instructions describe how to migrate print services from Windows Server 2012 R2 to Windows Server 2016. Windows Server 2016…
How to Check Who Logged into your Windows Computer
Sometimes, you may be required to check who has logged into your computer while you were away. You can do…
samAccountName Vs userPrincipalName
In this article, I am going to explain the difference between a samAccountName and a userPrincipalName which are often used…
How to Prompt a User for Input using PowerShell
You can use the read-host command-let to get an input from a user during program execution. PowerShell Input Example Here is…
How to Read a Text File Using PowerShell
You can read a text file and display its content using get-content cmdlet in PowerShell. Read textfile example Execute the…
How to Generate Random Numbers Using PowerShell
When you have to generate random passwords for users, you can execute the get-random command let on PowerShell to create it.…
How to Install and Configure a Print Server in Windows Server 2012 R2
A Printer is one of the most important devices for an offic network and being a system administrator you should…
How to Configure DHCP with PowerShell
PowerShell commands are an easy way to save a lot of time as system administrator. In this article, I'll show…