PowerShell Logo Small

Remove-WebVirtualDirectory



This is the built-in help made by Microsoft for the command 'Remove-WebVirtualDirectory', in PowerShell version 5 - as retrieved from Windows version 'Microsoft Windows Server 2012 R2 Standard' PowerShell help files on 2016-06-23.

For PowerShell version 3 and up, where you have Update-Help, this command was run just before creating the web pages from the help files.

SYNOPSIS

Removes an IIS virtual directory.

SYNTAX


Remove-WebVirtualDirectory [-Name] <String> [-Application <String>] [-Site <String>] [-Confirm] [-WhatIf] [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


Removes an IIS virtual directory.



<

RELATED LINKS


Online Version: http://go.microsoft.com/fwlink/p/?linkid=287892

REMARKS

<

Examples


-------------- EXAMPLE 1: Removing a virtual directory --------------

IIS:\>Remove-WebVirtualDirectory -Site "Default Web Site" -Application "testApp" -Name testVirtualDir



Removes the virtual directory named testVirtualDir from the Default Web Site.