Symptoms
Consider the following scenario:
-
You have a Distributed File System (DFS) installed on a Windows 8.1 or Windows Server 2012 R2-based computer.
-
You use a remove-dfsnfoldertarget script command together with a -whatif parameter in PowerShell to remove folders from DFS namespace.
In this scenario, the "-whatif" parameter is ignored, and the folders are removed anyway.
Resolution
To resolve this issue, install update rollup 2955164. For more information about how to obtain this update rollup package, click the following article number to view the article in the Microsoft Knowledge Base:
2955164 Windows RT 8.1, Windows 8.1, and Windows Server 2012 R2 update rollup: May 2014
Status
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
More Information
For more information about software update terminology, click the following article number to view the article in the Microsoft Knowledge Base:
824684 Description of the standard terminology that is used to describe Microsoft software updates