Skip to content

Instantly share code, notes, and snippets.

View ChuckieChen945's full-sized avatar

Chuckie Chen ChuckieChen945

View GitHub Profile
@rbatty19
rbatty19 / Windows 10 Optimization Script.ps1
Last active March 9, 2025 00:15
Windows 10 Optimization Script
### Rober19 version
######
# Win10 Optimization Script With Extra GPD Win Tweaks
# Adapted version of https://github.com/Disassembler0/Win10-Initial-Setup-Script by Disassembler <[email protected]>
# Author: BlackDragonBE
# Version: v2.2.1 (2017-12-02)
# Copied from https://www.reddit.com/r/gpdwin/comments/6ipa6c/windows_10_optimization_script_for_gpd_win/
##########
# As a workaround for disabled script execution, run this command (without #) in an elevated PowerShell windows first and choose "all" if you're asked where to apply this:
@pcgeek86
pcgeek86 / cheatsheet.ps1
Last active March 11, 2025 19:27
PowerShell Cheat Sheet / Quick Reference
Get-Command # Retrieves a list of all the commands available to PowerShell
# (native binaries in $env:PATH + cmdlets / functions from PowerShell modules)
Get-Command -Module Microsoft* # Retrieves a list of all the PowerShell commands exported from modules named Microsoft*
Get-Command -Name *item # Retrieves a list of all commands (native binaries + PowerShell commands) ending in "item"
Get-Help # Get all help topics
Get-Help -Name about_Variables # Get help for a specific about_* topic (aka. man page)
Get-Help -Name Get-Command # Get help for a specific PowerShell function
Get-Help -Name Get-Command -Parameter Module # Get help for a specific parameter on a specific command
@db93n2
db93n2 / . file explorer previews
Created October 19, 2017 16:35
(registry) - view certain file types as .txt in windows file explorer
.