Powershell 4 remove-smbshare won't work if the target directory has been deleted - by Jeff Schulman

Status : 


Sign in
to vote
ID 799811 Comments
Status Active Workarounds
Type Bug Repros 0
Opened 9/5/2013 3:54:31 PM
Access Restriction Public


I made a new smbshare in the Windows 8.1 preview, then deleted the directory. The share was still present, and when I tried to remove it with remove-smbshare, I got the error that the system could not find the file. When I re-created the directory, remove-smbshare worked to remove the share. This behavior is not present in Powershell 3.
Sign in to post a comment.