Adding Subnets Active Directory Sites and Services :PowerShell

2
3325
views

This guide will show you how to add additional Subnets into Active Directory Sites and Services using GUI as well as Powershell.

Let’s start by adding the following Subnet into Sites and Services using GUI.

Subnet : 192.168.56.0/24 and 192.168.57.0/24

Launch Active Directory Site and Services and Navigate to Subnets.

Right click on “Subnets” and select  “New Subnet”

Add the New Subnet and click ok.

Let’s look at how to add the “New Subnet” using PowerShell

Run Powershell as Administrator and type the following command.

Then Run

To specify the site name using the following

 

Then Type the following command to view the Newly added Subnets in an Active Directory site using PowerShell.

 

Then Type the following command to view the Newly added Subnets in an Active Directory site using PowerShell.

#ThatLazyAdmin

Sharing is caring!

2 COMMENTS

LEAVE A REPLY

Please enter your comment!
Please enter your name here