Last active
October 15, 2020 15:10
-
-
Save atb00ker/81de656c2ca5cc9f2b8a885fa0a435b8 to your computer and use it in GitHub Desktop.
Commands for windows systems' powershell.
This file contains 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
basic: basic commands for windows |
This file contains 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
# Install Chrome | |
$Path = $env:TEMP; | |
$Installer = "chrome_installer.exe"; | |
Invoke-WebRequest "http://dl.google.com/chrome/install/375.126/chrome_installer.exe" -OutFile $Path\$Installer; | |
Start-Process -FilePath $Path\$Installer -Args "/silent /install" -Verb RunAs -Wait; | |
Remove-Item $Path\$Installer; | |
# Disk used (du -h) | |
Get-PSDrive | |
# Hosts File | |
C:\Windows\System32\drivers\etc\hosts |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment