w10install/SetupComplete.ps1

17 lines
470 B
PowerShell
Raw Normal View History

2020-12-25 20:08:46 +01:00
# SetupComplete.ps1 ...
write-host '#######',(split-path $PSCommandPath -Leaf),'#######'
echo "[ place your code here ] ..."
2020-12-26 18:50:11 +01:00
$progressPreference = 'SilentlyContinue'
Get-AppxPackage -AllUsers |
where-object {$_.name -notlike "*store*"} |
Remove-AppxPackage
Get-AppxProvisionedPackage -online |
where-object {$_.name -notlike "*store*"} |
Remove-AppxProvisionedPackage -online
2020-12-25 20:08:46 +01:00
write-host '#######',(split-path $PSCommandPath -Leaf),'#######'