1
00:00:02,875 --> 00:00:04,875
Now that have seen the theory on how to

2
00:00:04,875 --> 00:00:07,693
update site properties, let's go to the

3
00:00:07,693 --> 00:00:12,018
lab and see it in real life. We are now in

4
00:00:12,018 --> 00:00:14,375
the lab environment, so let me first go to

5
00:00:14,375 --> 00:00:16,875
the UI, and let's go to the Active sites,

6
00:00:16,875 --> 00:00:20,304
and let's pick our Charity at

7
00:00:20,304 --> 00:00:22,431
Globomantics. If we want to modify some of

8
00:00:22,431 --> 00:00:25,275
the properties, first of all, we must go

9
00:00:25,275 --> 00:00:27,966
into the information here about the site,

10
00:00:27,966 --> 00:00:30,875
and here I can really edit the properties,

11
00:00:30,875 --> 00:00:35,275
such as the URL, hub site association, the

12
00:00:35,275 --> 00:00:38,018
storage limit, primary admin, add other

13
00:00:38,018 --> 00:00:41,320
admins, change the external sharing, and

14
00:00:41,320 --> 00:00:44,875
even change the title here at the top.

15
00:00:44,875 --> 00:00:47,500
However, not all of the options are

16
00:00:47,500 --> 00:00:51,732
available via the admin center. Some of

17
00:00:51,732 --> 00:00:54,625
them are only via PowerShell, but how do

18
00:00:54,625 --> 00:00:57,542
we know what they are? So let me go into

19
00:00:57,542 --> 00:00:59,875
PowerShell here, and a trick I have,

20
00:00:59,875 --> 00:01:02,375
because I don't remember all of the

21
00:01:02,375 --> 00:01:04,542
different properties myself, what I

22
00:01:04,542 --> 00:01:07,542
usually do is I get a site. So, for

23
00:01:07,542 --> 00:01:09,875
example, here I'm going to get SPOSite,

24
00:01:09,875 --> 00:01:14,675
CharityatGlobomantics, and then I will

25
00:01:14,675 --> 00:01:17,475
select all of the properties from that

26
00:01:17,475 --> 00:01:20,475
site. So what this will give me? It will

27
00:01:20,475 --> 00:01:22,575
really give me all of the different

28
00:01:22,575 --> 00:01:25,125
properties that we can change for that

29
00:01:25,125 --> 00:01:27,542
site collection. So, for example, if I

30
00:01:27,542 --> 00:01:29,675
want to disable flows, I could simply do

31
00:01:29,675 --> 00:01:33,431
it, and you don't have to remember them by

32
00:01:33,431 --> 00:01:36,784
heart. You really just need to know how to

33
00:01:36,784 --> 00:01:39,875
get to them. Some things, like the

34
00:01:39,875 --> 00:01:43,075
template, cannot be changed after the site

35
00:01:43,075 --> 00:01:45,125
is created; however, most of the things

36
00:01:45,125 --> 00:01:49,208
that we have in the properties can be

37
00:01:49,208 --> 00:01:51,511
modified. A good example of something that

38
00:01:51,511 --> 00:01:54,675
you might want to modify at this site

39
00:01:54,675 --> 00:01:58,542
collection level is the

40
00:01:58,542 --> 00:02:01,875
SocialBarOnSitePagesDisabled and the

41
00:02:01,875 --> 00:02:03,875
CommentsOnSitePagesDisabled. So maybe it's

42
00:02:03,875 --> 00:02:07,148
a sensitive site and you don't want people

43
00:02:07,148 --> 00:02:10,375
commenting on news or on pages, and you

44
00:02:10,375 --> 00:02:12,304
don't want people liking them either, you

45
00:02:12,304 --> 00:02:15,275
might want to disable those settings. So

46
00:02:15,275 --> 00:02:18,239
you'd run a Set-SPOSite, give the identity

47
00:02:18,239 --> 00:02:22,075
of the site that you want to modify. Here

48
00:02:22,075 --> 00:02:23,675
I'm going to change the title to, let's

49
00:02:23,675 --> 00:02:29,208
say, EMEA Charity Initiatives and

50
00:02:29,208 --> 00:02:32,875
SocialBarOnSitePageDisabled true. So let's

51
00:02:32,875 --> 00:02:36,375
run it. It'll take anywhere between 10

52
00:02:36,375 --> 00:02:39,446
seconds and 1 or 2 minutes, really

53
00:02:39,446 --> 00:02:42,304
depending on what properties you're

54
00:02:42,304 --> 00:02:46,375
changing. But now let's go to the URL

55
00:02:46,375 --> 00:02:49,542
here, and as you can see, the title got

56
00:02:49,542 --> 00:02:52,375
updated to EMEA Charity Initiatives. It's

57
00:02:52,375 --> 00:02:55,375
really that easy to update site

58
00:02:55,375 --> 00:02:57,653
properties. Most of the time I do it via

59
00:02:57,653 --> 00:03:00,875
PowerShell and not via the admin center

60
00:03:00,875 --> 00:03:03,500
simply because all of the controls are

61
00:03:03,500 --> 00:03:05,589
there. And once you get used to

62
00:03:05,589 --> 00:03:08,675
PowerShell, it's a lot easier to do it

63
00:03:08,675 --> 00:03:11,304
that way anyway. This is it for updating

64
00:03:11,304 --> 00:03:13,589
site properties. Now let's go back to the

65
00:03:13,589 --> 00:03:16,875
lab and look at how we can delete sites,

66
00:03:16,875 --> 00:03:21,000
as well as restore them from the recycle bin.

