Last active
August 8, 2018 08:50
-
-
Save theWhiteFox/abf895bea7dfcde79239 to your computer and use it in GitHub Desktop.
PowerShell Commands
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
dir = list items in folder | |
dir -r = List Files in Folders and Subfolders | |
Tab key = tab completion of word /directory /file | |
Aliases | |
ii . = Invoke-Item - open this directory | |
cls = Clear | |
ni = New-Item c:\scripts\Windows PowerShell -type directory | |
ni = New-Item c:\scripts\new_file.txt -type file | |
saps chrome google.com = Start-Process "chrome.exe" "www.google.com" | |
touch = new file | |
Get-childitem -path "" -recurse -name | out-file C:\Output.txt | |
http://ss64.com/ps/ | |
// change from C:\ to D:\ | |
Set-Location -Path | |
netstat -ano | findstr :5500 | |
TCP 0.0.0.0:5500 0.0.0.0:0 LISTENING 11080 | |
taskkill /PID 11080 /F |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment