Search notes:

PowerShell statements

The statement separator is a new line or semicolon.
break exits a loop that is controlled by the for, forEach, while and do statements.
continue leaves the current iteration in a loop and starts the next one.
data
do
exit
for
foreach
function
There is no goto statement in PowerShell.
if conditionally does or does not execute sets of other statements.
inlinescript
parallel
return
sequence
switch
throw to raise exceptions.
trap
trycatchfinally handle exceptions.
using namespace and using assembly
while

See also

The PowerShell language

Index