Skip to content

TempItems - Clear CallStack #649

Open
@FriedrichWeinmann

Description

@FriedrichWeinmann

When creating a temp item, the module could record the current callstack
Remove-PSFTempItem could then go ahead and clear all items that were created at or below the current callstack parent (e.g. in the same function or all child functions).

This could be used to simply ensure top-level scope cleanup on failure or script-end

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions