Difference between revisions of "Powershell"
Jump to navigation
Jump to search
Line 15: | Line 15: | ||
print(var2) | print(var2) | ||
</syntaxhighlight> | </syntaxhighlight> | ||
+ | |||
+ | # Powershell security | ||
+ | |||
+ | <source lang="python"> | ||
+ | Set-ExecutionPolicy RemoteSigned | ||
+ | </source> |
Revision as of 17:26, 5 September 2019
Command One liners
While(1) {ps | sort -des cpu | select -f 15 | ft -a; sleep 1; cls}
def jtest(var):
var2 = var + 1 print(var2)
var2 = var + 1 print(var2)
Powershell security
Set-ExecutionPolicy RemoteSigned