Home Dashboard Directory Help
Search

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


Status: 

Active


1
0
Sign in
to vote
Type: Bug
ID: 799811
Opened: 9/5/2013 3:54:31 PM
Access Restriction: Public
0
Workaround(s)
view
0
User(s) can reproduce this bug

Description

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