[Autogenerated] So let's now tackle important topic,
DH CP options, but we're not going to just talk about it.
We're going to master it using PowerShell.
Now, you might be wondering why even PowerShell to manage DH CP options.
Well,
imagine having to configure tons of servers and scopes
kind of a repeating process right now.
Broken record, PowerShell, automates all that stuff.
You can use PowerShell to set the configuration as script execute at once.
The approach is not efficient.
It's also reliable.
Today,
we'll cover two levels where DC P option can be set
the server level and scope level.
Each has its advantages and specific use cases and we're
going to learn how to navigate both.
All right, let's put theory into practice in this demo.
We're going to focus on server level, DH CP options specifically,
we'll look at configuring the DNS suffix and the router for clients.
So what would you expect by the end of this demo?
Well, you'll know how to create these options,
set their values and apply them directly all using PowerShell.
So maybe you're responsible for configuring DH CP options
for new branches of your organization.
Well, maybe you have a branch that's maybe using a new domain.
You got a new active directory domain maybe.
And it needs to change the gateway router.
You'll need to change some DH EP options for that.
So let's get to it.
So I'm here on the DH CP server again and I'll start by verifying if the DH
CP options for the new branch are already configured.
So we're primarily interested in options 15 and 13.
I can use the G DH CP server V four option value command for that.
So you can see here using where I've filtered the output of GDATP server V four.
Option value.
That command is way too long to only show option ID 15,
which is the DNS domain name and option three,
which is the router or the default gateway,
the clients will receive.
So if the options are not configured, it wouldn't return anything.
So it looks like the router is already set up,
but it's the old one and there's no DNS domain name set.
So let's change that.
So first, i'll configure the DNS domain name using the set,
DH CP server V four option valley command here,
I can specify the id of the DH CP scope.
I'd like to change in this case,
1921681.0 the option id for the DNS domain name and the domain of
this branch hit enter and I think it's set.
We'll check here in a minute and now I will do the same thing for the router,
which is option three.
So pretty much the exact same thing, especially on the scope ID,
the option id of three this time of the router and this time the value
is the new router IP address looks like it worked.
Now, let's verify to make sure it actually did work.
We can run the G DH CP server V four option value command, let again.
And Voila, it is set to 102168.1 0.2 for the router.
And the domain name is set up for Bethany's Pie shop.
Now, just to make sure I cover the entire life cycle,
you can also run, remove the HCP server V four option value as well.
You can see that I've actually ran that in the past uh for some testing,
but because we don't need to do that in this situation,
I don't,
I'm not going to do that that simply clears out or
removes any of the option values.
So in this demo,
you learn how to configure essential DH CP options to give you the
skills to manage one or dozens of DH CP scopes.