68 Commits (57c155e220a55f8c76ff46e3360f9a165cf27121)
 

Author SHA1 Message Date
Richard Newton 13a0d7c03e
Changed Start-Debloat Function Code, new function
I changed the Start-Debloat Function's code to use [regex] as explained in the following link: https://www.reddit.com/r/PowerShell/comments/7xzwah/4_whitelisted_apps_in_my_script_are_being_removed/\

Thanks to Reddit user /u/GavinEke for the help.

I added a new Function called FixWhitelistedApps which will run and check to see if the Whitelisted apps in the Start-Debloat function were removed, and if so it should bring them back.
6 years ago
Richard Newton acda2ee106
Fixed whitelisted apps being removed
I fixed the issue where the whitelisted apps were being removed.

I then changed the conditional operator on lines 22-25, and lines 36-39, from -notlike to -notcontains. I also removed the asterisks from the AppXPackage/AppXProvisionedPackage names which results in the whitelisting working appropriately. The whitelisted apps are no longer being removed.
6 years ago
Richard Newton 542619fa87
Fixed whitelisted apps being removed
I fixed an issue where the whitelisted apps; Paint3D, Calculator, Store, and Photos were being removed.

I changed the conditional operator from -notlike to -notcontains on lines 22-25, and lines 30-33. Then, I removed the asterisks from each AppXPackage/AppXProvisionedPackage name. 

The issue of the whitelisted apps being removed should no longer be the case.
6 years ago
Richard Newton 3f628a709c
Changed $_.packagename to $_.name on lines 24 and 25
Changed $_.packagename to $_.name on lines 24 and 25
7 years ago
Richard Newton 561b882c1f
Added information to #How To Run and created #Switch Parameters
Added information regarding the different switches available for the silent version of the Windows10Debloater script and what they do.
7 years ago
Richard Newton 12fe2f5aef
Added $SysPrep switch parameter and function
I added a $SysPrep switch parameter and function on lines 7 - 17. This will run the following command: get-appxpackage | remove-appxpackage. This is required in order to be used successfully with SysPrep.

I also added a $StopEdgePDF parameter, for those who do not wish to stop Edge from being used as the default PDF viewer, or for those who worry about unintended consequences (not being able to potentially choose Edge without removing the specified registry keys).

You can now run the script with the switch parameter -SysPrep, along with -Debloat, and -StopEdgePDF.
7 years ago
Richard Newton 262777bb66
Changed the $_.name on lines 24, 25, 32, and 33
I changed the $_.name on lines 24, 25, 32, and 33 to $_.packagename since the whitelisted apps "Photos" and "Store" were still being removed.

Now they shouldn't be removed.
7 years ago
Richard Newton d02dfa39ed
Changed $_.name on lines 24, 25, 32 and 33.
I changed the $_.name on lines 24, 25, 32, and 33 to $_.packagename since the whitelisted apps "Photos" and "Store" were still being removed.

Now they shouldn't be removed.
7 years ago
Richard Newton f1e1187ba9
Changed Microsoft.FreshPaint to Paint3D
On lines 16 and 24 I changed Microsoft.FreshPaint to Microsoft.Paint3D
7 years ago
Richard Newton 3555fec619
Changed Microsoft.FreshPaint to Paint3d
On lines 22 and 30 I changed the name of the app/package from Microsoft.FreshPaint to Paint3D
7 years ago
Richard Newton ac34625cc4
Fixed Revert /Noninteractive switch statement
On line 410 if you chose to run Interactively and wanted to Revert changes it would tell you that the Revert switch statement was not recognized. This is now fixed.

On line 450 if you chose to use the Noninteractive method it wasn't recognized. This is now fixed as well.
7 years ago
Richard Newton b7b8a1d082
Removed "Store" from the section "Bloatware that is removed" 7 years ago
Richard Newton e56a1297d4
Added logging, new Noninteractive switch, other code
Upon launching the script you will see that the script will create a folder called Windows10Debloater which it will use to store logs. If it detects that it has already been created previously then it will tell you that the folder already exists. The path will be: C:\Windows10Debloater

I added logging. It will record a transcript of your session and then output the transcript file into C:\Windows10Debloater. These can be used for troubleshooting or if you get error messages.

I added a Noninteractive switch so that instead of you choosing between "Interactive" and "Silent" it will only ask you 1 question, instead of the "Interactive" one asking you a couple of questions. 

The "Interactive" switch doesn't automatically reboot your machine.
7 years ago
Richard Newton f26985b9ca
Added # Interactive and Noninteractive Switches section 7 years ago
Richard Newton 2e54b7b518
README.md 7 years ago
Richard Newton 4acec8edf8
Windows10DebloaterSilent 7 years ago
Richard Newton 4c152f8d70
Windows10Debloater 7 years ago
Richard Newton 6b2bc996f1
Initial commit 7 years ago