Running the trap sample code on the main page produces this error. To fix i added a -1 in the for loop, but that may not be the proper fix.
Parameter name: scopeID
Actual value was 4.
At RavenPowerShell.psm1:138 char:39
+ $scopeVariablesList = Get-Variable -Scope $i
+ ~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidArgument: (:) [Get-Variable], PSArgumentO
utOfRangeException
+ FullyQualifiedErrorId : ArgumentOutOfRange,Microsoft.PowerShell.Commands
.GetVariableCommand```