Home Dashboard Directory Help
Search

UseRecycleBin dynamic parameter on Remove-Item in FileSystem provider by Tom Nolan [MSFT]


Status: 

Active


5
0
Sign in
to vote
Type: Suggestion
ID: 780979
Opened: 3/7/2013 10:30:09 PM
Access Restriction: Public
0
Workaround(s)
view

Description

The Remove-Item cmdlet should have a UseRecycleBin dynamic parameter available when working with the filesystem provider to allow a user to delete files to the recycle bin. Unfortunately the cmdlet code would either have to invoke SHFileOperation or utilize the VisualBasic namespace for this.
Details
Sign in to post a comment.
Sign in to post a workaround.