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 Create a Function in PowerShell
If you have worked with other programming languages, you have may used functions for code reusability. You can also create functions in PowerShell.…
How to remove icons from status bar in Android
Whenever you, say, set an alarm or connect to WiFi on your Android phone, a corresponding icon appears in the…
How to Change Server Name, Date, Time and Time Zone in Windows Server 2016
If you have recently installed a new Windows Server 2016, it is a good practice to assign it a user…
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…