Skip to content

Set-SeUrl Back / Forward optional -depth parameter #124

Closed
@itfranck

Description

@itfranck

I was looking at the combined tests and saw...

Set-SeUrl -Back
Set-SeUrl -Back
Set-SeUrl -Back

Granted you could do 1..3 | % {Set-SeUrl -Back} but it seems a convenience to have an optional -depth parameter for Back / Forward parameter sets to enable the following

Set-SeUrl -Back -Depth 3

 [Parameter(ParameterSetName = 'back')]
        [Parameter(ParameterSetName = 'forward',Position=1)]
        [ValidateScript( { $_ -ge 1 })] 
        [Int]$Depth = 1,

Metadata

Metadata

Assignees

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions