Skip to content

Instantly share code, notes, and snippets.

Last active October 15, 2020 15:10
What would you like to do?
Commands for windows systems' powershell.
basic: basic commands for windows
# Install Chrome
$Path = $env:TEMP;
$Installer = "chrome_installer.exe";
Invoke-WebRequest "" -OutFile $Path\$Installer;
Start-Process -FilePath $Path\$Installer -Args "/silent /install" -Verb RunAs -Wait;
Remove-Item $Path\$Installer;
# Disk used (du -h)
# Hosts File
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment