PowerShell is a new Windows Shell which is developed by Microsoft and it is available in almost every Windows operating system (both client and server) these days. It has following important uses: PowerShell helps you in automation of various tasks. Suppose
In previous article, we added a new domain in an existing forest using server manager. In this guide, I'll focus on adding a new domain using PowerShell. Prerequisites Static IP is configured Administrator account has strong password Firewall is turned
You can create a DHCP failover with two servers in hot standby mode by using a single Add-DhcpServerv4Failover PowerShell cmdlet. This tutorial assumes you have an active scope on primary DHCP server and a DHCP running on standby or partner server.
You can add a user into a group using active directory users and computer (ADUC) mmc snap in or by executing a single PowerShell cmdlet. In this article, we'll look into adding a member to the AD group using PowerShell.
Some of the PowerShell commands require a password. You can directly embed a password in PowerShell commands. But, It is unwise to do it in this fashion. It can be read by ordinary users and can be compromised. The best way is
When you are running a Windows server core version and you need to find out the specs of your server then this tutorial will show you how to do that with a small PowerShell script. Get Server Details with PowerShell
Adding new users, updating and removing existing users is a day to day task of system engineers. At the end of the day, you or an IT manager may need to find out which new users have been added in the active directory
You can schedule a script in the Windows task scheduler to run automatically and perform a task without user intervention. You can schedule that script by using server manager or PowerShell. This post focuses on scheduling a script using PowerShell. This article assumes you
You can remove multiple scopes from your DHCP server by using this simple script which uses the Remove-DhcpServerv4Scope PowerShell cmdlet. The script assumes you have scope IDs in a series (I have scope IDs of 10.0.0.0, 188.8.131.52 and 184.108.40.206). Delete Multiple DHCP
You may require in some cases to check an active directory for newly created users so you can send them an email. You may also require to get newly added users for auditing or security purposes. You can get the active directory