Author Topic: Some Powershell addict commands  (Read 2606 times)

0 Members and 1 Guest are viewing this topic.

Offline Julian

  • "Cat and Mum Guy"
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Jun 2015
  • Posts: 1320
  • Location: USA, New Mexico
  • Karma: 38
    • View Profile
Some Powershell addict commands
« on: July 27, 2017, 10:57:41 PM »
Please take heed to any of these commands do a registry backup just in case these are all registry commands ran via powershell.
so this right here is a quick powershell command to make explorer open my pc instead of quick access.(windows 10)
Code: [Select]
Set-ItemProperty -Path 'HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced' -name LaunchTo -Value 1--note if you want it back just replace value 1 with 2
MY Computer =1
Quick access =2

and right here is a quick powershell command for the start menu's search bar. (hiding the big bar)
Code: [Select]
Set-ItemProperty -Path 'HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Search' -name SearchboxTaskbarMode -Value 00 = hide completely (you can still  search just start typing when you open the start menu)
1 = show only icon
2 = show long search box

start menu app suggestions i hate those on my start menu so why not turn it off I mean i know what i like why bother me with other apps.
Code: [Select]
Set-ItemProperty -Path 'HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager' -name SystemPaneSuggestionsEnabled -Value 00=no suggestion on apps
1=yes suggestion on apps
this one is how i disable Cortana with out removing the system app because if you remove the system app the task bar becomes unstable.
Code: [Select]
New-Item -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Search'-Force | New-ItemProperty -Name AllowCortana -Value 0 -Force | Out-Null0= night night cortana
1=hello cortana
ever hate that lock screen on windows 10 that extra step of hitting the spacebar or click on the screen just to show your login screen??
Code: [Select]
New-Item -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\Personalization'-Force | New-ItemProperty -Name NoLockScreen -Value 1 -Force | Out-Null0=lockscreen
1=no lockscreen
Below is a gui powershell script I made enjoy!
« Last Edit: July 28, 2017, 03:09:35 AM by Julian »
Julian

Offline Boggin

  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Jul 2014
  • Posts: 7498
  • Location: UK
  • Karma: 108
    • View Profile
Re: Some Powershell addict commands
« Reply #1 on: July 28, 2017, 02:15:01 AM »
I found this batch file online when I was looking for how to turn Cortana off - it also includes one to turn it back on.

Select Save then extract it in your Downloads folder.

Offline Julian

  • "Cat and Mum Guy"
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Jun 2015
  • Posts: 1320
  • Location: USA, New Mexico
  • Karma: 38
    • View Profile
Re: Some Powershell addict commands
« Reply #2 on: July 28, 2017, 03:11:17 AM »
yeah that's exactly the reg location I'm just a powershell junkie now I wrote up a script that pops open a gui from powershell with buttons for all the tweaks haha :)
Julian

Offline Boggin

  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Jul 2014
  • Posts: 7498
  • Location: UK
  • Karma: 108
    • View Profile
Re: Some Powershell addict commands
« Reply #3 on: July 28, 2017, 03:33:32 AM »
I turned Cortana back on and sometimes put my Google searches into the search box to see what comes up, even though I have set Bing as my Search provider in IE which Cortana also uses.