[Autogenerated] Now that we've seen the
theory, let's go to the lab environment
and see how we can swap SharePoint Sykes
both by using the admin center and by
using PowerShell. We are now in the lab
environment. And let's start by going to
the SharePoint Online Admin center, where
I already navigated to the active Sykes
Page. Now the button we're looking for and
I will zoom out just a bit so it shows up
properly. The button we're looking for is
the replace site. This will only be
visible on the route site and under
Enterprise Search center. That's it. If we
go on any other site, we will not see that
replace site button. Now let me select the
roots IT here, click on, replace IT and
just zoom back in so it's a bit more
visible. And now it asked me, what site
What is the new site that I want to have
as my route. I have already prepared a new
internet site over here that I would like
to use. I would copy that you are real.
Paste it in here and you can see that at
the bottom. I have a note saying that the
current route site will be moved to
Globomantics or got SharePoint dot com
slash ____ slash our hive and today's
date. That's all that we have to do in
order to do it with the user interface.
However, I will not click on Save right
away as we will do it with PowerShell.
Let's open up the PowerShell I see here
where I have already connected to
SharePoint online using the SharePoint
online PowerShell module. The cmdlet we
use is the invoke Spoto site swap source
URL is or new internet. So if I put this
in the browser here X or the landing site
or new beautiful internet or target, your
will is or root site. So right now the
root site is just an old team site, which
Microsoft automatically updated to the
modern experience. And then, with
PowerShell, I can automatically specify
the our hive URL so I can give it an a bit
nicer. You are well, instead of having the
date and time in there. So let's run this.
Let's go here. It seems not to like my
formatting, so let me cancel it. I let me
just put it all on one single line here.
It'll make running this a bit easier.
There we go. Our hive URL great. So we
have all of our parameters. Let's run it
now and it will take a few seconds to a
few minutes to run. This is one that might
actually take a bit longer to run.
Awesome. So the cmdlet just finished
running. As you can see, there is no
actual confirmation message. But now let's
try to refresh. And as you can see at the
root, we have the new internet site. So
this worked Awesome. If we go under old
URL So this is my new internet URL real.
Remember that the site swap actually
creates a sight read _____. So now the new
internet should actually read Direct me to
the root site, which she did. And that's
perfect. And if I go inside the active
sites, I will refresh this. I should have
my new our hive URL real, which God
created at the U. R L internet archive. So
let's go here now Let's search for
internet. You see, we have the internet,
our hive site, which is our old route
site. And as you can see, it even kept all
title, which was route site. So this is
it. This is swapping SharePoint sites,
both using the SharePoint online Admin
center as well as using the invoke Spock.
IT swap cmdlet in PowerShell. This is the
last them of this module. So let's head
back to the slides and finish off the module.