Last active
March 7, 2023 13:23
-
-
Save rpc180/ac3ddc7bdfe6c104db90f63bfd11740b to your computer and use it in GitHub Desktop.
Chocolaty Installation List
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iwr https://chocolatey.org/install.ps1 -UseBasicParsing | iex | |
#Basic Computer Installation | |
choco install ` | |
notepadplusplus ` | |
7zip ` | |
adobereader ` | |
winscp ` | |
putty ` | |
wireshark ` | |
vscode ` | |
nmap ` | |
winmerge ` | |
windirstat ` | |
gimp ` | |
-y --log-file=c:\Support\chocolog.txt | |
choco install ` | |
git ` | |
github-desktop ` | |
googlechrome ` | |
notepadplusplus ` | |
7zip ` | |
adobereader ` | |
pgadmin4 ` | |
postman ` | |
winscp ` | |
putty ` | |
wireshark ` | |
vscode ` | |
nmap ` | |
terraform --pre ` | |
nodejs ` | |
graphviz ` | |
azure-cli ` | |
winmerge ` | |
-y --log-file=c:\Support\chocolog.txt | |
Install-Module -Name Az -AllowClobber -Scope AllUsers | |
get-windowscapability -name RSAT* -online | add-windowscapability -online | |
# Running VSCode, Powershell ISE automatic elevation request | |
# https://stackoverflow.com/questions/28997799/how-to-create-a-run-as-administrator-shortcut-using-powershell | |
$bytes = [System.IO.File]::ReadAllBytes("C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Windows PowerShell\Windows PowerShell ISE.lnk") | |
$bytes[0x15] = $bytes[0x15] -bor 0x20 #set byte 21 (0x15) bit 6 (0x20) ON | |
[System.IO.File]::WriteAllBytes("C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Windows PowerShell ISE.lnk", $bytes) | |
$bytes = [System.IO.File]::ReadAllBytes("C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Visual Studio Code\Visual Studio Code.lnk") | |
$bytes[0x15] = $bytes[0x15] -bor 0x20 #set byte 21 (0x15) bit 6 (0x20) ON | |
[System.IO.File]::WriteAllBytes("C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Visual Studio Code\Visual Studio Code.lnk", $bytes) | |
# To remove some Windows 10 packages: | |
get-appxpackage -allusers *Photos* | remove-appxpackage | |
get-appxpackage -allusers *zune* | remove-appxpackage | |
get-appxpackage -allusers *xbox* | remove-appxpackage | |
get-appxpackage -allusers *skype* | remove-appxpackage | |
get-appxpackage -allusers *maps* | remove-appxpackage | |
# To set minimum processor speed in power-savings power plan to 50% | |
powercfg /setacvalueindex scheme_guid sub_guid setting_guid settingindex | |
powercfg /setacvalueindex a1841308-3541-4fab-bc81-f71556f20b4a 54533251-82be-4824-96c1-47b60b740d00 893dee8e-2bef-41e0-89c6-b55d0929964c 50 | |
Scheme GUID (Balanced Plan): 381b4222-f694-41f0-9685-ff5bb260df2e | |
Scheme GUID (Power Savings Plan): a1841308-3541-4fab-bc81-f71556f20b4a | |
Sub GUID (Processor Power Management): 54533251-82be-4824-96c1-47b60b740d00 | |
Setting_GUID (Minimum processor state): 893dee8e-2bef-41e0-89c6-b55d0929964c | |
Original AC 0x00000005 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment