How to Configure DHCP Failover in Windows Server 2016 using PowerShell

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. Configure DHCP Failover in Windows Server 2016 using PowerShell Step 1. Open PowerShell on primary ... Read more

How to Delete Multiple DHCP Scopes Using PowerShell

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, 11.0.0.0 and 12.0.0.0). Delete Multiple DHCP Scopes Using PowerShell Step 1. Open notepad and copy/paste the following script and save the file ... Read more

How to Configure DHCP Failover in Windows Server 2016

DHCP failover is used to load balance client requests among two DHCP servers and provides fault tolerance. If one of the DHCP servers is down, then the other keeps serving IP addresses to clients. DHCP failover can be configured in the following two ways: Load balance mode (Both DHCP servers are active and the load is shared among the two). ... Read more

Partitions in Active Directory

The active directory database is stored in a single NTDS.dit file which is logically separated into the following partitions: Schema Partition Configuration Partition Domain Partition Application Partition Schema Partition There is only one schema partition per forest and it is stored in all DCs of the forest.  It contains the definition of objects and rules for their ... Read more

How to Send an Email from Gmail Account Using PowerShell

You can send an email from your Gmail account using only a single command in PowerShell. There are several ways to achieve that, however, this tutorial uses the Send-MailMessage cmdlet. Send-MailMessage cmdlet has following commonly used paramters: –Attachments string The full path and filenames to be attached with an email. –Bcc string Email addresses that you would like to ... Read more

How to Downgrade Forest and Domain Functional Levels

Downgrade the Forest Functional Level Step 1. Open PowerShell with elevated privileges. Step 2. Execute the following command, replace the identity with your domain name and the forestmode with the level you want to downgrade to. Set-ADForestMode –Identity “CANITPRO.com” –ForestMode Windows2008Forest In the above example, I have downgraded the forest functional level to Windows Server 2008. ... Read more