-
-
Save jt0dd/66011c76d6d63ff81f7c53d9f58ab878 to your computer and use it in GitHub Desktop.
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
Set-mppreference –DisableRealtimeMonitoring $TRUE | |
new-item "HKLM:\Software\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\sethc.exe" | |
Get-psdrive | |
Start-transcript | out-null | |
Set-ExecutionPolicy Unrestricted | |
Update-Help -Force | |
-ErrorAction SilentlyContinue | |
2>$null 2>\dev\null | |
set-alias edit notepad.exe | |
Get-process | get-member | |
Get-member -InputObject (obj) | |
Array | sort-object | |
Get-process | select-object -Property propertyName1, propertyName2 | |
Where-object {} | stop-process | |
Get-help about_Automatic_Variables | |
$another = [pscustomobject]@{ Color=”Red”; ID=123 } | |
Get wmi-object |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment