samples/sampledemo.txt

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#this is a sample demo file for Start-TypedDemo
#The command will pause at every | character
 
$psversiontable
 
pushd
cd C:\
get-date
get-process | where-object {$_.WS -ge 10MB}
 
#this is how you would define a multi-line command
::
get-process |
where-object {$_.WS -ge 10MB} |
Select-Object Name,Handles,ID,WS
::
clear-host
get-psdrive
popd