1
00:00:02,240 --> 00:00:05,755
The next part is deleting sites. Deleting

2
00:00:05,755 --> 00:00:08,690
sites can be done via the Admin Center or

3
00:00:08,690 --> 00:00:11,290
PowerShell, and after you delete a site,

4
00:00:11,290 --> 00:00:14,970
it's retained in the recycle bin for 93

5
00:00:14,970 --> 00:00:18,420
days. To delete it via PowerShell, we can

6
00:00:18,420 --> 00:00:22,140
use the Remove‑SPOSite PowerShell cmdlet

7
00:00:22,140 --> 00:00:25,050
and provide identity of the site that we

8
00:00:25,050 --> 00:00:29,050
want to delete. To restore a deleted site

9
00:00:29,050 --> 00:00:34,020
from the recycle bin, we can use the

10
00:00:34,020 --> 00:00:34,020
Restore‑SPODeletedSite PowerShell cmdlet,

11
00:00:34,020 --> 00:00:38,740
and if we want to, like, say, completely

12
00:00:38,740 --> 00:00:41,450
remove a site from an active site

13
00:00:41,450 --> 00:00:43,590
collection and remove it from the recycle

14
00:00:43,590 --> 00:00:46,290
bin as well, we would first delete it by

15
00:00:46,290 --> 00:00:50,000
using the Remove‑SPOSite cmdlet, and then

16
00:00:50,000 --> 00:00:52,430
we would also delete it from the recycle

17
00:00:52,430 --> 00:00:56,100
bin by using the Remove‑ SPODeletedSite

18
00:00:56,100 --> 00:01:04,000
PowerShell cmdlet, which would really fully remove it from the recycle bin.

