Disassembler0 / Win10-Initial-Setup-Script

PowerShell script for automation of routine tasks done after fresh installations of Windows 10 / Server 2016 / Server 2019
MIT License
4.7k stars 1.07k forks source link

DisableIEFirstRun #188

Closed SebastianK90 closed 5 years ago

SebastianK90 commented 5 years ago

Hi there, it's me again. Is it possible to integrate this little tweak? It helps people who never open IE but want to use Invoke-Webrequest in Powershell :-)

Disassembler0 commented 5 years ago

...this little tweak...

1574 lines added, 1554 lines removed. Seems that your IDE takes the tabs vs spaces wars seriously. :)

Also

If (!(Test-Path ...)) {
  New-Item ...
  Set-ItemProperty ...
}
else {
  Set-ItemProperty ...
}

can be simplified as

If (!(Test-Path ...)) {
  New-Item ...
}
Set-ItemProperty ...

Could you please rebase the commit on the current master and stick with the contribution guidelines? Alternatively you can leave it as it is and I'll fish it out later.

SebastianK90 commented 5 years ago

i will make a new pr....