Difference between revisions of "Powershell"
Jump to navigation
Jump to search
(Created page with "# Command One liners ``` While(1) {ps | sort -des cpu | select -f 15 | ft -a; sleep 1; cls} ```") |
|||
Line 3: | Line 3: | ||
While(1) {ps | sort -des cpu | select -f 15 | ft -a; sleep 1; cls} | While(1) {ps | sort -des cpu | select -f 15 | ft -a; sleep 1; cls} | ||
``` | ``` | ||
+ | |||
+ | <source lang="python"> | ||
+ | def jtest(var): | ||
+ | var2 = var + 1 | ||
+ | print(var2) | ||
+ | </source> | ||
+ | |||
+ | <syntaxhighlight lang="Python" line='line'> | ||
+ | def jtest(var): | ||
+ | var2 = var + 1 | ||
+ | print(var2) | ||
+ | </syntaxhighlight> |
Revision as of 01:01, 29 August 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)