You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The program has 2 basic functions: creation and destruction.
6
4
7
-
Godly Creation:
5
+
**Godly Creation:**
8
6
9
-
- it creates the following site collections, all named after the templates they have been created from:
7
+
<blockqoute>- it creates the following site collections, all named after the templates they have been created from:</blockqoute>
10
8
11
-
TeamsiteWithLibraries
12
-
TeamsiteWithLists
13
-
Empty Teamsite
14
-
"WikiSite"
15
-
"BlogSite"
16
-
"CommunitySite"
17
-
"PublishingPortal"
18
-
- it creates 2 subsites : subsite1 and subsite2 to the TeamsiteWithLibraries
9
+
-TeamsiteWithLibraries
10
+
-TeamsiteWithLists
11
+
-Empty Teamsite
12
+
-"WikiSite"
13
+
-"BlogSite"
14
+
-"CommunitySite"
15
+
-"PublishingPortal"
16
+
<blockqoute>- it creates 2 subsites : subsite1 and subsite2 to the TeamsiteWithLibraries
19
17
20
18
- it creates 2 document libraries, 2 picture libraries, Wiki Page library, XML Form library and Data Connection library to the TeamsiteWithLibraries
21
19
@@ -27,78 +25,64 @@ Empty Teamsite
27
25
28
26
- it populates Custom, Anouncements list, Contacts list, Events list, and Tasks list with sample data (ca. 50 items - if you need more please look https://gallery.technet.microsoft.com/scriptcenter/Create-various-lists-with-0e714f70 and https://gallery.technet.microsoft.com/scriptcenter/Create-a-list-with-3f19ba11 )
29
27
30
-
- it adds all the available lists and libraries to the Quick Launch Menu. Also added are the lists that were previously accessible only via direct links, like Workflow History.
31
-
32
-
28
+
- it adds all the available lists and libraries to the Quick Launch Menu. Also added are the lists that were previously accessible only via direct links, like Workflow History.</blockqoute>
33
29
34
30
Watch out! The process of creating 5000 items in a list takes time. You will be informed on the progress as the application runs.
35
31
36
-
37
-
38
-
Total Destruction:
39
-
32
+
### Total Destruction:
33
+
<blockqoute>
40
34
- it retrieves all your site collections and deletes them, apart from the search, mysite (which cannot be recreated in SharePoint Online) and rootsite
41
35
42
36
- it checks the recycle bin for the deleted sites and removes them from the recycle bin
37
+
</blockqoute>
43
38
44
39
Watch out! Deleting a site collection takes a while and depends on SharePoint Online backend processes. The application waits for the site collections to be deleted and informs you about its attempts with status updates "Trying to delete site XYZ". However, after 6 unsuccessful attempts it may mean that SharePoint is not going to be very cooperative at the moment and the application will ask you whether it should close or keep trying.
45
40
46
-
47
-
48
-
Only Recycle Bin:
49
-
41
+
### Only Recycle Bin:
42
+
<blockqoute>
50
43
- as the name suggests, permanently removes the content of the recycle bin
51
44
52
45
- cannot be reversed
53
46
54
47
- can be used instead of Powershell Get-SpoDeletedSite | Remove-SpoDeletedSite
48
+
</blockqoute>
55
49
56
-
57
-
58
-
Only Created
59
-
50
+
### Only Created
51
+
</blockqoute>
60
52
- removes only the site collections created by the program
53
+
</blockqoute>
54
+
- TeamsiteWithLibraries
55
+
- TeamsiteWithLists
56
+
- Empty Teamsite
57
+
- "WikiSite"
58
+
- "BlogSite"
59
+
- "CommunitySite"
60
+
- "PublishingPortal"
61
61
62
-
TeamsiteWithLibraries
63
-
TeamsiteWithLists
64
-
Empty Teamsite
65
-
"WikiSite"
66
-
"BlogSite"
67
-
"CommunitySite"
68
-
"PublishingPortal"
69
62
Watch out! If you added some of your own data to those site collections (other libraries, site mailbox or items) it will also be deleted!
70
63
71
-
72
-
73
-
What doesn't it do?
74
-
64
+
### *What doesn't it do?*
65
+
<blockqoute>
75
66
-Despite the name Non-Empty libraries are still empty
76
67
77
68
-The list with Geolocation column doesn't contain Geolocation column
78
69
79
70
-It doesn't verify your credentials. Change the examples in the fields into your own credentials, following the same pattern (don't put in a teamsite domain.sharepoint.com where it asks you to type admin site url preceded by https://). If you make a mistake, you will get an error at an early stage of the application.
80
71
81
72
- It's not perfect. I have made it as failsafe as the time allowed with a lot of try and catches and bugs handled. However, if it still stops at some point, just run it again. The program will detect the work already done and simply continue.
73
+
</blockqoute>
82
74
83
-
84
-
85
-
86
-
87
-
How do I use it?
75
+
### *How do I use it?*
88
76
89
77
The zip file contains an .exe which installs the program. You can open it like any other program from Start Menu or a Desktop shortcut. Type in your user credentials in the three available fields following the given example.
90
78
91
79
After that, choose one of the buttons to create or delete data in your tenant. You can perform multiple operations during one run, so if you find it to your liking, you can alternate between creating and destroying content just to test SharePoint Online's behaviour.
92
80
93
-
When you have finished working with the program, a log will be created at C:\Users\Public\ where you can analyze what has been done.
81
+
When you have finished working with the program, a **log will be created at C:\Users\Public\** where you can analyze what has been done.
94
82
95
83
If you need to uninstall the program you can find it in Control Panel>Programs and Features.
96
84
97
-
98
-
99
-
100
-
101
-
Technicalities
85
+
### *Technicalities*
102
86
103
87
The program relies on static classes.
104
88
@@ -110,6 +94,3 @@ CheckForIllegalCrossThreadCalls is set to false, which may generate some random
110
94
111
95
Updating the status window may slow down or even temporarily hang the execution. Just let it run its course and it should fix itself. This part also forced me to set CheckForIllegalCrossThreadCalls = false; so if anyone knows how to fix it, please post a comment. That part of the code is available in the snippet.
0 commit comments