Last active
October 23, 2015 13:25
-
-
Save getkub/7f3a219e42c31e3d77fc to your computer and use it in GitHub Desktop.
Microsoft Commands - 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
# Various Move/Copy commands with pipe operators | |
http://technet.microsoft.com/en-us/library/hh849852.aspx | |
#Move files | |
gci -af -rec | move-item -destination C:\Data\xyz\destinationDir | |
# find alternative | |
netstat -aon | select-string ":8089" | select-string "LISTENING" | |
# wmic | |
wmic process "name='splunkd.exe'" get Caption","CSName","Name","WindowsVersion","ProcessID |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment