PowerShell Logo Small

Remove-WebVirtualDirectory



This is the built-in help made by Microsoft for the command 'Remove-WebVirtualDirectory', in PowerShell version 3 - as retrieved from Windows version 'Microsoft Windows Server 2012 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 [<SwitchParameter>]] [-WhatIf
[<SwitchParameter>]] [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


Removes an IIS virtual directory.



<

RELATED LINKS


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.