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

Status : 

 


5
0
Sign in
to vote
ID 780979 Comments
Status Active Workarounds
Type Suggestion Repros 0
Opened 3/7/2013 10:30:09 PM
Access Restriction Public

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.
Sign in to post a comment.