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
Copy file name to clipboardExpand all lines: README.md
+11-9Lines changed: 11 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
# TheScriptOfChance 1.0 & 2.0 Remastered
1
+
# TheScriptOfChance 1.0 & 2.0\2.5 Remastered
2
2
3
3
# WARNING!
4
4
@@ -12,7 +12,7 @@ Feel free to record and react to the script (if you wish), as the script does so
12
12
- The parameters are NOT case sensitive, meaning it won't matter if you type -SafeMode or -safemode for example.
13
13
14
14
# TheScriptOfChance Versions:
15
-
- There are 2 scripts, TheScriptOfChance 1.0and TheScriptOfChance 2.0. TSOC 2.0 has lots of new commands in it, but some of the older ones were either reworked or removed. Some commands however are the same. TSOC 1.0 used to have 3 separate scripts, however I decided to restructure the script and add parameters, as it's more efficient that way.
15
+
- There are 3 scripts, TheScriptOfChance 1.0, TheScriptOfChance 2.0, and TheScriptOfChance 2.5. TSOC 2.0\2.5 has lots of new commands in it, but some of the older ones were either reworked or removed. Some commands however are the same. TSOC 1.0 used to have 3 separate scripts, however I decided to restructure the script and add parameters, as it's more efficient that way.
16
16
17
17
# TheScriptOfChance 1.0 Parameters:
18
18
Note: Without a parameter runs with ``-ND`` (Non destructive).
@@ -24,7 +24,7 @@ Note: Without a parameter runs with ``-ND`` (Non destructive).
24
24
-``-FD``: Fully Destructive, may NOT be able to recover and may need to reinstall Windows or restore VM snapshot!
25
25
-``-FDna``: Fully Destructive, however no random apps!
26
26
27
-
# TheScriptOfChance 2.0 Parameters:
27
+
# TheScriptOfChance 2.0\2.5 Parameters:
28
28
Note: Without a parameter runs with ``-SafeMode``.
29
29
-``-SafeMode``: Only safe commands are ran, safe to run on main, no commands will disrupt your work!
30
30
-``-Unsafe``: Runs commands that could potentially be unsafe only! Note not every command is unsafe, but could be unwanted.
@@ -36,19 +36,21 @@ Note: Without a parameter runs with ``-SafeMode``.
36
36
37
37
# Before running the script:
38
38
- Be sure to run ``Set-ExecutionPolicy Bypass -Force`` before the script (You only need to do this ONCE, however if you do not want to change your execution policy, you can run the script with this instead: ``powershell -ExecutionPolicy Bypass -File .\TSOC-2.ps1 -SafeMode``. Just provide the script name and parameter, and make sure your PowerShell window is in the SAME directory as the script! I gave an example for TSOC 2 safe mode, but you can change it to any of the parameters you wish!).
39
-
- If you did set the execution policy, then you type in ``.\TSOC-1.ps1``or ``.\TSOC-2.ps1`` (along with a parameter, example: ``.\TSOC-2.ps1 -SafeMode``) and press enter to run. After that, you can press up arrow again to be able to pull up the same command to run it again (You can also do that with the other command if you did not set the policy).
39
+
- If you did set the execution policy, then you type in ``.\TSOC-1.ps1``, ``.\TSOC-2.ps1``, or ``.\TSOC-2.5.ps1`` (along with a parameter, example: ``.\TSOC-2.5.ps1 -SafeMode``) and press enter to run. After that, you can press up arrow again to be able to pull up the same command to run it again (You can also do that with the other command if you did not set the policy).
40
40
- For best results, put the script in the C drive to easily access it, then do ``cd \`` to go to the root of the C drive, then run the command! I always do this in virtual machines as it's faster.
41
41
- For better results, run PowerShell as TrustedInstaller if running the destructive parameters (Winaero can do it under "Run as TrustedInstaller" or you can use AdvancedRun, which is what I use instead since I don't need to install another program for it). Note that some commands do not like being ran as TI and may fail.
42
42
- NOTE: The script logs to the location of C:\Logs. These logs will say the commands that were executed, so you can check it later to see what it did! There may be additional logs in there, as some commands do create other logs. Some logs may also go to the desktop and/or temp folders on the system. More about the logs below.
43
43
- Another note: some commands take longer to execute, so if it's blinking, give it time! Also be sure you didn't accidentally select in the PowerShell window, as that pauses it! If you did, right click and it should unpause!
44
-
- If you have any questions, feel free to ask me! I am glad to answer any questions! If you have any command suggestions, tell me them as I could implement them into TSOC 2!
44
+
- If you have any questions, feel free to ask me! I am glad to answer any questions! If you have any command suggestions, tell me them as I could implement them into TSOC 2\2.5!
45
45
46
46
# The logging system:
47
47
As you know, it logs to C:\Logs, however here's what each log is used for:
48
-
- TSOC2_Log: This is the PowerShell transcript. It logs everything about the PS session and what runs. It's a bit longer.
49
-
- TSOC2_CMDLog: This logs the commands that were executed, and only the commands!
50
-
- TSOC2: Some of the scripts in TSOC itself have their own logs, they get dumped in here.
51
-
### NOTE: TSOC 1 will have similar logs, however some may be different compared to TSOC 2. Also, TSOC 1 is no longer being updated, and will continue to stay the same. TSOC 2 however will get updates, check back here for them!
48
+
- TSOC_2.5_Log: This is the PowerShell transcript. It logs everything about the PS session and what runs. It's a bit longer.
49
+
- TSOC_2.5_CMDLog: This logs the commands that were executed, and only the commands!
50
+
- TSOC_2.5: Some of the scripts in TSOC itself have their own logs, they get dumped in here.
51
+
52
+
Depending on what version of TSOC you run, the number may differ in the log name.
53
+
### NOTE: TSOC 1 will have similar logs, however some may be different compared to TSOC 2 & 2.5. Also, TSOC 1 is no longer being updated, and will continue to stay the same. TSOC 2 however will get updates, like it did with the release of 2.5. check back here for them!
52
54
53
55
Also,
54
56
# PLEASE DO NOT RUN THE DESTRUCTIVE VERSIONS ON YOUR MAIN, IT CAN BE DESTUCTIVE!
0 commit comments