<t>Testé et fonctionnel :<br/>
<br/>
#Must be the first statement in your script (not counting comments)<br/>
param([Int32]$step=30) <br/>
<br/>
$iTunes = New-Object -ComObject iTunes.Application<br/>
<br/>
if ($iTunes.playerstate -eq 1)<br/>
{<br/>
$iTunes.PlayerPosition = $iTunes.PlayerPosition + $step<br/>
}<br/>
<br/>
```<br/>
<br/>
Appellez-le avec<br/>
<br/>
```<br/>
powershell.exe -file itunesForward.ps1 -step 15<br/>
<br/>
```<br/>
<br/>
Syntaxe pour plusieurs paramètres (les commentaires sont optionnels, mais autorisés) :<br/>
<br/>
```<br/>
<br/>
param (<br/>
# height of largest column without top