We are using Command let "Remove-Item -path sharedrive -recursive" to
remove the drive and its sub folders in AD power shell and Getting below
error while executing

Cannot remove item : The process can not access the file because it is
being used by another process.

Can some one help us in resolving the above error.

Siva ram T

sivaramtw's Profile: https://forums.netiq.com/member.php?userid=9612
View this thread: https://forums.netiq.com/showthread.php?t=53562