Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

The "remove-dfsnfoldertarget" command ignores "-whatif" parameter in PowerShell in Windows 8.1 or Windows Server 2012 R2


View products that this article applies to.

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.

↑ Back to the top


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

↑ Back to the top


Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

↑ Back to the top


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

↑ Back to the top


Keywords: kbqfe, kbfix, kbsurveynew, kbexpertiseadvanced, kb

↑ Back to the top

Article Info
Article ID : 2959532
Revision : 1
Created on : 1/7/2017
Published on : 5/13/2014
Exists online : False
Views : 250